From: Thomas A Peterson <tap@htc.honeywell.com>
To: James Ingham <jingham@cygnus.com>
Cc: insight@sourceware.cygnus.com
Subject: Re: A couple of suggestions/questions
Date: Mon, 04 Oct 1999 15:59:00 -0000 [thread overview]
Message-ID: <199910042259.RAA29151@wocket.htc.honeywell.com> (raw)
In-Reply-To: <14329.6364.223747.569422@leda.cygnus.com>
>>>>> "JI" =3D=3D James Ingham <jingham@cygnus.com> writes:
JI> Tom,
>> It would be nice if the pop-up view of a variables was available w=
hen
>> viewing inline C++ functions that are in header files. I end up d=
oing a
>> View-> Local Variables to get around this missing feature.
JI> I don't understand what you want here? Do you want a popup on th=
e
JI> main source window, along with the File & Function box, or what?
I would like the same behavior of the mouse that occurs when in a funct=
ion
of a C or C++ file. Specifically (from the online manual):
o With the cursor over a global or local variable, the current value o=
f
that variable displays.
o With the cursor over a pointer to a structure or class, the type of
structure or class displays and the address of the structure or clas=
s
displays.
o Double clicking an expression selects it.=20
o Right clicking an expression invokes a pop-up menu for expressions (=
the
selected variable was the =91lis=92 expression).
I don't see this behavior when the debugger is stepping through a funct=
ion
in a header file. The function is defined as inline but we have instru=
cted
the compiler to not inline anything yet. I am able to step and next th=
e
compiler but the data interaction is less than desirable.
JI> You can set the GUI preferences (like break at main) in three way=
s.
JI> One is by setting up the UI the way you want and then closing the=
app
JI> down. This should save the preferences in the .gdbtkinit file (g=
dbtk.ini
JI> for the Windows folks) in your home directory. If something does=
n't
JI> get saved, that is a bug.
For some reason I'm not getting the file created (gdbtk.ini). I'll try=
tracking it down. I'm running under Windows NT with a cross to
powerpc-elf.
>> We are using it as a kernel level debugger and would like to view =
the
>> supervisor level registers of the PowerPC from the View->Registers=
window.
>> Is there a magic incantation that would allow me to do this or do =
I have to
>> modify some insight code?
JI> This is a gdb internal issue, not an Insight issue. Insight just=
JI> finds out all the registers that gdb knows about, and shows you t=
hose.
JI> Look at the function gdb_regnames in gdbtk-cmds.c for the details=
.
JI> You will have to teach gdb how to view the registers you want, th=
en
JI> Insight will view them automatically...
I did a 'set processor 603' and then an 'info registers' from the conso=
le
which showed all of the registers but when I bought up the registers wi=
ndow
it just showed the user level registers.
Thanks, Tom
next prev parent reply other threads:[~1999-10-04 15:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-04 12:29 Thomas A Peterson
1999-10-04 14:13 ` James Ingham
1999-10-04 15:59 ` Thomas A Peterson [this message]
1999-10-04 17:53 ` James Ingham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199910042259.RAA29151@wocket.htc.honeywell.com \
--to=tap@htc.honeywell.com \
--cc=insight@sourceware.cygnus.com \
--cc=jingham@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).