This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: add-symbol-file/load and scripts


On Tue, Jun 2, 2009 at 10:26 AM, Doug Evans <dje@google.com> wrote:

> add-symbol-file foo.elf $elf.load_address ("foo.elf") ? ?# [just
> winging syntax here, it's subordinate to the main point]

I think you can already do this with python support:

  my_load foo.elf

Where my_load is a python command, which parses foo.elf, loads it, and
adds symbols for it. IOW, there is no real need to extend add-symbol-file
anymore.
-- 
Paul Pluzhnikov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]