From: "Rodney M. Bates" <rodney.bates@wichita.edu>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sourceware.org
Subject: Re: Where to hook reading of new symbol file
Date: Mon, 01 Oct 2007 01:47:00 -0000 [thread overview]
Message-ID: <470051C5.7040207@wichita.edu> (raw)
In-Reply-To: <20071001004138.GA9697@caradoc.them.org>
Daniel Jacobowitz wrote:
> On Sun, Sep 30, 2007 at 07:34:41PM -0500, Rodney M. Bates wrote:
>
>>Where would be the right place to hook in some language/compiler-
>>dependent actions to be executed whenever a new symbol file is
>>loaded for any reason, e.g., file command, attach command, or
>>specified on the gdb command line?
>
>
> Probably the new_objfile observer, but it depends what you need to do
> with it.
>
I just need to change the default handling of a signal, for user convenience.
The preferred way to set it up depends on the compiler used. I detect that
by the absence/presence of certain symbols that come from the runtime system.
--
-------------------------------------------------------------
Rodney M. Bates, retired assistant professor
Dept. of Computer Science, Wichita State University
Wichita, KS 67260-0083
316-978-3922
rodney.bates@wichita.edu
prev parent reply other threads:[~2007-10-01 1:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-01 0:34 Rodney M. Bates
2007-10-01 0:41 ` Daniel Jacobowitz
2007-10-01 1:47 ` Rodney M. Bates [this message]
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=470051C5.7040207@wichita.edu \
--to=rodney.bates@wichita.edu \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
/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