public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* non-display of assembly
@ 2000-04-21  7:52 Tom Tromey
  2000-04-24 10:28 ` James Ingham
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2000-04-21  7:52 UTC (permalink / raw)
  To: Insight List

Today, for a change, I'm debugging library code.  I'm trying to figure
out why a particular call to memmove() is failing.  Thinking that the
compiler might be inlining memmove(), I want to put the source window
into assembly mode.

This doesn't work.  The mouse pointer, when over the source window, is
a watch.  The source window itself is blank.  I don't get any sort of
error message.

Trying to switch the view back to source does not work.

I didn't try the "tk whatever" trick to reset it.

Any clues why this might happen?  The `disas' command works in the
console, but of course I'd rather not use that.

Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: non-display of assembly
  2000-04-21  7:52 non-display of assembly Tom Tromey
@ 2000-04-24 10:28 ` James Ingham
  0 siblings, 0 replies; 2+ messages in thread
From: James Ingham @ 2000-04-24 10:28 UTC (permalink / raw)
  To: tromey; +Cc: Insight List

Tom,

Some unexpected error was hit which messed up Insight.  The best first 
stab at debuging this sort of thing is to do:

setenv GDBTK_DEBUG 2

in the shell from which you launch gdb.  Then do whatever you normally do,
keeping an eye on the debugging window.  Errors will show up in an
orangish color.  This might give you a bit of a hint...

BTW, if you forget to set this env. var, you can also go to the
console, & type:

(gdb) tk ManagedWin::open DebugWin

Otherwise, I need a recipe for reproducing your bug before I can be
of much help.

Jim

 > Today, for a change, I'm debugging library code.  I'm trying to figure
 > out why a particular call to memmove() is failing.  Thinking that the
 > compiler might be inlining memmove(), I want to put the source window
 > into assembly mode.
 > 
 > This doesn't work.  The mouse pointer, when over the source window, is
 > a watch.  The source window itself is blank.  I don't get any sort of
 > error message.
 > 
 > Trying to switch the view back to source does not work.
 > 
 > I didn't try the "tk whatever" trick to reset it.
 > 
 > Any clues why this might happen?  The `disas' command works in the
 > console, but of course I'd rather not use that.
 > 
 > Tom
 > 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-24 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-21  7:52 non-display of assembly Tom Tromey
2000-04-24 10:28 ` James Ingham

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).