public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* "where" implementation
@ 2013-01-04  8:41 Sergey Ivanov
  2013-01-04  8:47 ` Fwd: " Sergey Ivanov
  2013-01-04  9:06 ` Joel Brobecker
  0 siblings, 2 replies; 3+ messages in thread
From: Sergey Ivanov @ 2013-01-04  8:41 UTC (permalink / raw)
  To: gdb

Help me to spot where "where" command is implemented. I need change
buggy gcc __builtin_return_address to nice yours one.

--
Kind regards,
Sergey Ivanov

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

* Fwd: "where" implementation
  2013-01-04  8:41 "where" implementation Sergey Ivanov
@ 2013-01-04  8:47 ` Sergey Ivanov
  2013-01-04  9:06 ` Joel Brobecker
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Ivanov @ 2013-01-04  8:47 UTC (permalink / raw)
  To: gdb

Help me to spot where "where" command is implemented. I need change
buggy gcc __builtin_return_address to nice yours one.

--
Kind regards,
Sergey Ivanov

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

* Re: "where" implementation
  2013-01-04  8:41 "where" implementation Sergey Ivanov
  2013-01-04  8:47 ` Fwd: " Sergey Ivanov
@ 2013-01-04  9:06 ` Joel Brobecker
  1 sibling, 0 replies; 3+ messages in thread
From: Joel Brobecker @ 2013-01-04  9:06 UTC (permalink / raw)
  To: Sergey Ivanov; +Cc: gdb

> Help me to spot where "where" command is implemented. I need change
> buggy gcc __builtin_return_address to nice yours one.

"where" is an alias of the "backtrace" command.
The implementation starts at gdb/stack.c:backtrace_command

-- 
Joel

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

end of thread, other threads:[~2013-01-04  9:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-04  8:41 "where" implementation Sergey Ivanov
2013-01-04  8:47 ` Fwd: " Sergey Ivanov
2013-01-04  9:06 ` Joel Brobecker

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