Re: gdb for mips64
Greetings!
David Daney <ddaney@caviumnetworks.com> writes:
> On 10/25/2010 02:32 PM, Camm Maguire wrote:
>> Greetings! Can gdb be made to work on mips64?
>>
>
> You have to have a 64-bit toolchain.
>
> Then something like this (untested):
>
> CC='mips64-linux-gnu -mabi=64' configure --host=mips64-linux
> --target=mips64-linux.
>
> I don't think a 32-bit gdb can debug 64-bit processes :-(.
>
Thanks.
Why doesn't _IO_getc get a stub on mips64, like say _setjmp?
readelf -a saved_ansi_gcl |grep IO_getc
2812: 0000000000000000 472 FUNC GLOBAL DEFAULT UND _IO_getc@GLIBC_2.0 (2)
15315: 0000000000000000 472 FUNC GLOBAL DEFAULT UND _IO_getc@@GLIBC_2.0
readelf -a saved_ansi_gcl |grep setjmp
2159: 00000001204b9b40 32 FUNC GLOBAL DEFAULT UND _setjmp@GLIBC_2.0 (2)
15978: 00000001204b9b40 32 FUNC GLOBAL DEFAULT UND _setjmp@@GLIBC_2.0
Is there anything I can do about this?
Take care,
> David Daney
>
>
>> (gdb) r
>> Starting program: /home/camm/gcl-2.6.8pre/unixport/saved_pre_gcl
>> /home/wingsun/develop/build/gdb/gdb-6.8/gdb/mips-tdep.c:603: internal-error: bad register size
>> A problem internal to GDB has been detected,
>> further debugging may prove unreliable.
>>
>> Take care,
>
>
>
>
>
--
Camm Maguire camm@maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
Reply to: