add-symbol-file/load and scripts

Daniel Jacobowitz drow@false.org
Tue Jun 2 19:40:00 GMT 2009


On Tue, Jun 02, 2009 at 11:41:03AM -0700, Paul Pluzhnikov wrote:
> 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.

IMO, this doesn't rule out a sensible default.  Your comment about the
embedded universe was accurate - but in the Linux desktop universe,
you should almost never need this command anyway.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list