This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/Windows] Remove ADD_SHARED_SYMBOL_FILES macro
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).
--
Pedro Alves