This is the mail archive of the gdb@sources.redhat.com 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: two gdb porting questions


On Fri, Jan 24, 2003 at 03:18:13PM +0100, Jan Hoogerbrugge wrote:
> Dear all,
> 
> I am porting gdb to a new target and I can use some help. I am having
> the following questions:
> 
> * How to find out whether there is a symbol at a memory address in
>  opcodes/xxx-dis.c? Info->symbol_at_address_func does not work. It
>  returns always 1.
> 
> * I want to use stabs to pass frame information from my compiler to
>  gdb. Which stab number(s) should I use for this? How do I get this
>  information in my xxx-tdep.c given the start address of the
>  function? (I use ELF in the case that matters)

Is it absolutely necessary that you use stabs?  There are clean ways to
express this information in DWARF-2, and if you're using ELF, there's
really no excuse.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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