add-symbol-file/load and scripts

Paul Pluzhnikov ppluzhnikov@google.com
Tue Jun 2 18:41:00 GMT 2009


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



More information about the Gdb mailing list