public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Hooking user-defined function at the end of gdb-launch
@ 2012-01-11 22:33 First Last
  2012-01-13 18:44 ` First Last
  0 siblings, 1 reply; 2+ messages in thread
From: First Last @ 2012-01-11 22:33 UTC (permalink / raw)
  To: gdb

Hi,

I want to run a user-defined command automatically after the symbol-table from the core-file has been loaded and before user executes any commands.
Can I use hookpost- to some command which is used implicitly during launch?

Any other suggestions?
 
Thanks,
FL

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

* Re: Hooking user-defined function at the end of gdb-launch
  2012-01-11 22:33 Hooking user-defined function at the end of gdb-launch First Last
@ 2012-01-13 18:44 ` First Last
  0 siblings, 0 replies; 2+ messages in thread
From: First Last @ 2012-01-13 18:44 UTC (permalink / raw)
  To: gdb

Got it working with hookposting to 'core-file'.

~FL

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

end of thread, other threads:[~2012-01-13 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 22:33 Hooking user-defined function at the end of gdb-launch First Last
2012-01-13 18:44 ` First Last

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