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: gdb-h8-stub


Hi Daniel,

--- Daniel Jacobowitz <drow@mvista.com> wrote:
> You have TARGET_ADDR_BIT set too small for your port.  You are probably
> confusing TARGET_PTR_BIT (the number of bits in a pointer, which can
> have some separate space marker not included in this count) and
> TARGET_ADDR_BIT (the number of bits to correctly identify an address
> when dealing with the OS or stub).

THERE, GOT IT!
My TARGET_ADDR_BIT is defined as TARGET_INT_BIT, which is 16 bit, and my
target uses 32 bit address space.
Fixed that problem... that was the help I needed, since I really didn't even
know where to dig.

THANKS A LOT!

Regards -- Alexei
> 
> -- 
> Daniel Jacobowitz                           Carnegie Mellon University
> MontaVista Software                         Debian GNU/Linux Developer


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com


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