Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* About gdb source code
@ 2004-01-15  9:32 mr924352
  2004-01-15 10:40 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: mr924352 @ 2004-01-15  9:32 UTC (permalink / raw)
  To: gdb



Hello everybody:

Now, i try to trace the gdb source code.

In gdb , if we want to know the PC value,we can type "disp $pc".

My question is where is the gdb source code to process the "disp" action.


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

* Re: About gdb source code
  2004-01-15  9:32 About gdb source code mr924352
@ 2004-01-15 10:40 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2004-01-15 10:40 UTC (permalink / raw)
  To: mr924352; +Cc: gdb

> Date: Thu, 15 Jan 2004 17:32:34 +0800
> From: mr924352@cs.nthu.edu.tw
> 
> My question is where is the gdb source code to process the "disp" action.

See printcmd.c:do_displays and printcmd.c:do_one_display.  The rest
of support functions are also in printcmd.c.


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

end of thread, other threads:[~2004-01-15 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15  9:32 About gdb source code mr924352
2004-01-15 10:40 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox