This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] add-symbol-file-from-memory command
- From: Roland McGrath <roland at redhat dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 8 Apr 2004 15:27:58 -0700
- Subject: Re: [PATCH] add-symbol-file-from-memory command
> - Would it work to completely replace
> symbol_file_add_with_addrs_or_offsets's 'name' argument with the
> abfd argument, and then just use bfd_get_filename? It looks to me
> like the only affect would be that the tilde-expanded, path-searched
> filename would appear in messages, which seems like a good thing.
I don't see any problem with this. I intentionally did not perturb other
callers, but it would be a simple change to have them call symfile_bfd_open
in their args.
> - Since the command isn't something that ordinary users are really
> going to want themselves, but is more for the benefit of GDB
> developers, should be a 'maint' subcommand?
I think it's in the same category of usefulness as add-symbol-file.
Thanks,
Roland