From: Christopher Faylor <cgf@redhat.com>
To: Gdb List <gdb@sources.redhat.com>
Subject: Re: _initialize_inftarg
Date: Thu, 27 Jun 2002 13:48:00 -0000 [thread overview]
Message-ID: <20020627204830.GC32318@redhat.com> (raw)
In-Reply-To: <3D1A77DA.1060902@ges.redhat.com>
On Wed, Jun 26, 2002 at 10:26:34PM -0400, Andrew Cagney wrote:
>>On Tue, Jun 25, 2002 at 11:19:23PM -0400, Andrew Cagney wrote:
>>
>>>>There are 3 functions in gdb named _initialize_inftarg:
>>>>
>>>> grep -n '^_initialize_inftarg' *.c /dev/null
>>>> inftarg.c:839:_initialize_inftarg (void)
>>>> win32-nat.c:1818:_initialize_inftarg (void)
>>>> wince.c:1968:_initialize_inftarg (void)
>>>>
>>>>I assume the win* ones are simply cut-and-paste error?
>>
>>>
>>>Er, yes - they should correspond to their file names. I guess only one
>>>was linked in at any time.
>>
>>
>>That routine is pretty ancient. It was apparently introduced by Steve
>>Chamberlain in 1995.
>>
>>Does it really hurt for it to be called by that name, though?
>>_inftarg.c will never be linked for a windows gdb. I think it was meant
>>to somewhat emulate the functionality of the similar function in
>>inftarg.c.
>
>True, for the sake of consistency though, I think a file called FILE.c
>should have _initialize_file() as the initialise function.
Ok. I'll put this on my todo list.
cgf
prev parent reply other threads:[~2002-06-27 20:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-25 13:01 _initialize_inftarg Tom Tromey
2002-06-25 20:19 ` _initialize_inftarg Andrew Cagney
2002-06-25 20:27 ` _initialize_inftarg Christopher Faylor
2002-06-26 19:26 ` _initialize_inftarg Andrew Cagney
2002-06-27 13:48 ` Christopher Faylor [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=20020627204830.GC32318@redhat.com \
--to=cgf@redhat.com \
--cc=gdb@sources.redhat.com \
/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