delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/21/14:13:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: GDB GUI looses current selected frame when local variable is added to Watch exp
Date: Thu, 21 Mar 2002 11:13:05 -0800
Message-ID: <9DBD2908CFA5D042BCA2764A4DAB617C3CDC1A@cacexc02.americas.cpqcorp.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Stanton, Midori" <midori DOT stanton AT compaq DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 21 Mar 2002 19:13:06.0143 (UTC) FILETIME=[6E2E5EF0:01C1D10C]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g2LJDY223328

Hi All,

  I configured gdb with "GNU gdb 5.0 (20010428-3) -- host=i686-pc-cygwin and target=powerpc-sunos-elf32"
and made gdb to accept "file myram.elf" and "core mydmpfile".  It is working fine with console (line) environment.
gdb commands, stacks and display values are working. 

  However, GUI interface have several problems -- almost working but not stable enough to use.

1) Keep loosing the current selected frame.
   
    open  ram.elf  from main screen,
    hit console -  from console window enter "core corefile"
    hit stack    -  from stack window select one stack 

    main window display the correct listing and I can go up/down ok

    point  local variable  for example ' CurrTick'    -- value displayed ok
    click Add CurrTic to watch  ------ looses frame information
            info frame -- displays "Error: No selected frame."
            no value will be display by pointing
            receive "No symbol ... in current context" when try to Add CurrTic to watch again 
    select stack or enter frame 2 -- get frame back
        again until try to use the "add Watch" again.

2)  loops and dies when hit "Local Variables Ctrl+L" to display local values
     ( my dump file may not have some memory for the location variables) 

     -- can not access memory address 0xac  -- 3 times
     --  Address of symbol "Snet Id" is unknown     -- a few times
     --  address of symbol "Cpu Ptr" is unknown     -- 50 times

    too many nested calls to Tcl-EvalObj (infinite loop?)
     eval body line 1  -- invoked from within
   "eval PREFS -cmd-$dispatch $args"
      (procedure "pref" line 6)
      invoked from within
   "pref getd gdb/load /${gdb-target_names? -baud
      (prodedure "set_baud" line 4)
       invoked from witin
   "set-baud"
      (procedure gdbtk_tcl_reloop line 4)
      invoked from within
    "gdbtk_tcl_preloop"

           ......

I have been trying to figure out to fix it ... but not doing too well,
please suggest which area I should be looking at or do you have any fix already?
I am familiar with the GDB but not Tcl part yet.

                                                      thanks ... midori

    
         
    
  

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019