From: Christopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
To: gdb-patches@sourceware.org, Pedro Alves <pedro@codesourcery.com>,
Joel Brobecker <brobecker@adacore.com>,
Pierre Muller <muller@ics.u-strasbg.fr>
Subject: Re: [RFA/Windows] Remove ADD_SHARED_SYMBOL_FILES macro
Date: Tue, 23 Jun 2009 01:55:00 -0000 [thread overview]
Message-ID: <20090623015441.GA19762@ednor.casa.cgf.cx> (raw)
In-Reply-To: <20090622204950.GC7766@adacore.com>
On Mon, Jun 22, 2009 at 01:49:50PM -0700, Joel Brobecker wrote:
>[trying to catch up on email...]
>
>> On Monday 25 May 2009 23:57:25, Joel Brobecker wrote:
>> > > (_initialize _symfile): Move "add-shared-symbol-files"
>> > > command and "assf" alias.
>> > > * windows-nat.c (_initialize_windows_nat): to here.
>> > > Change "add-shared-symbol-files" to alias.
>> >
>> > I propose we deprecate these aliases as well; does it really make sense
>> > to have 2 identical commands?
>> >
>>
>>Well, let me go the other way around. Why is "dll-symbols" needed at
>>all? Why isn't "add-symbol-file" good enough? Other than the ugly
>>safe_symbol_file_add hack that would be nice to get rid of, and setting
>>OBJF_SHARED (itself dubious) it doesn't have anything Windows specific
>>at all (magically appending ".dll" doesn't count).
>
>I would love to get rid of these commands if they are indeed equivalent
>to add-symbol-file. I assumed that there was a reason for the
>different command name. Chris, do you remember?
(gdb) add-symbol-file cygwin1.dll
The address where cygwin1.dll has been loaded is missing
(gdb) dll cygwin1.dll
(gdb) l dll_crt0
952 _main_tls = &_my_tls;
953 _main_tls->call ((DWORD (*) (void *, void *)) dll_crt0_1, NULL);
954 }
955
956 void
957 dll_crt0 (per_process *uptr)
958 {
959 /* Set the local copy of the pointer into the user space. */
960 if (!in_forkee && uptr && uptr != user_data)
961 {
As I have previously mentioned, the commands are not equivalent.
cgf
next prev parent reply other threads:[~2009-06-23 1:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 22:23 [RFA] " Pierre Muller
2009-05-22 15:30 ` [RFA/Windows] " Joel Brobecker
2009-05-22 17:10 ` Christopher Faylor
2009-05-24 12:36 ` Pierre Muller
2009-05-25 6:17 ` Joel Brobecker
2009-05-25 8:40 ` Pierre Muller
2009-05-25 22:57 ` Joel Brobecker
2009-05-25 23:13 ` Pedro Alves
2009-06-22 20:50 ` Joel Brobecker
2009-06-23 1:55 ` Christopher Faylor [this message]
2009-06-24 17:03 ` Pedro Alves
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=20090623015441.GA19762@ednor.casa.cgf.cx \
--to=cgf-use-the-mailinglist-please@sourceware.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=muller@ics.u-strasbg.fr \
--cc=pedro@codesourcery.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