* Re: how to build native GDB on mips64 linux ?
@ 2004-03-22 17:48 Daniel Jacobowitz
0 siblings, 0 replies; 56+ messages in thread
From: Daniel Jacobowitz @ 2004-03-22 17:48 UTC (permalink / raw)
To: guijian; +Cc: gdb @ sources. redhat. com, cagney @ redhat. com
On Mon, Mar 22, 2004 at 04:55:57PM +0800, guijian wrote:
> Hi,
>
> Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
GDB does not support native mips64 GNU/Linux, yet.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* Re: how to build native GDB on mips64 linux ?
@ 2004-03-24 13:10 gui
0 siblings, 0 replies; 56+ messages in thread
From: gui @ 2004-03-24 13:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
When I tried debugging a mips64/Linux target with i686/Linux host, I
got the following results:
[gdbserver side]
$> ./gdbserver 200.121.3.185:6001 matrix_rev
Listening on port 6001
Remote debugging from host 200.121.3.185
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
[gdb side]
$> ./gdb matrix_rev
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-linux"...
(gdb) target remote 200.121.3.191:6001
Remote debugging using 200.121.3.191:6001
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
gdbserver was configured for mips64el-linux. gdbserver and the debugged program were both compiled with cross gcc 3.3 (mips64el-linux-gcc -mabi=64 -static) on i686/Linux host.
"file matrix_rev" gives the following information: ELF 64-bit LSB MIPS-III executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, statically linked, not stripped.
Could you give more advice ?
Thanks.
======= 2004-03-23 14:25:00 Daniel Jacobowitz wrote: =======
>On Tue, Mar 23, 2004 at 09:30:42AM +0800, guijian wrote:
>> Thanks for your attention.
>>
>> Then, can I use gdb to remote-debug or core-debug a mips64/Linux target
>> with i686/Linux host?
>
>Yes. In 6.1, gdbserver _should_ work. It is lightly tested.
>
>> Is there any plan to port native mips64/Linux GDB? If such a port does not
>> exist, could someone give me some advice where I can start it myself?
>
>I'm working on it, on and off. I have some more things to fix for
>32-bit MIPS GNU/Linux first.
>
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
>
>.
= = = = = = = = = = = = = = = = = = = =
gui
^ permalink raw reply [flat|nested] 56+ messages in thread
* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread* how to build native GDB on mips64 linux ?
@ 2004-03-22 14:22 guijian
0 siblings, 0 replies; 56+ messages in thread
From: guijian @ 2004-03-22 14:22 UTC (permalink / raw)
To: gdb; +Cc: cagney
Hi,
Did someone successfully build any native GDB version( 5.3, 6.0 or 6.1) on mips64 Linux ?
I build GDB 6.1 with "./configure mips64-linux; make" with the native gcc2.96 and native make3.79. while it built successfully, the resulting binary hung when print symbol or set breakpoint, like this:
[gj@Ocea work]$ ../gdb-6.1-native-mips64-linux/gdb/gdb matrix_rev
Init MIPS_ABI_O32 in mips_linux_init_abi(...)
GNU gdb 6.0.90_2004-03-19-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux"...Init MIPS_ABI_N64 in mips_linux_init_abi(...)
Using host libthread_db library "/usr/tools/lib/libthread_db.so.1".
(gdb) info target
Symbols from "/home/gj/work/matrix_rev".
Local exec file:
`/home/gj/work/matrix_rev', file type elf64-tradlittlemips.
Entry point: 0x10002fd0
0x0000000010000108 - 0x0000000010002f48 is .MIPS.options
0x0000000010002f48 - 0x0000000010002fc8 is .init
0x0000000010002fd0 - 0x0000000010065760 is .text
0x0000000010065760 - 0x0000000010065f90 is __libc_freeres_fn
0x0000000010065f90 - 0x0000000010065fdc is .fini
0x0000000010065fe0 - 0x000000001007a8f0 is .rodata
0x000000001017a8f0 - 0x0000000010180120 is .data
0x0000000010180120 - 0x0000000010180178 is __libc_subfreeres
0x0000000010180178 - 0x0000000010180180 is __libc_atexit
0x0000000010180180 - 0x000000001018172c is .eh_frame
0x0000000010181730 - 0x0000000010181740 is .ctors
0x0000000010181740 - 0x0000000010181750 is .dtors
0x0000000010181750 - 0x0000000010181758 is .jcr
0x0000000010181760 - 0x0000000010184318 is .got
0x0000000010184318 - 0x000000001018444c is .sbss
0x0000000010184450 - 0x0000000010185a38 is .bss
0x0000000010185a38 - 0x0000000010185a60 is __libc_freeres_ptrs
0x00000000100000e8 - 0x0000000010000108 is .note.ABI-tag
(gdb) b main
( hung here. have to be killed to exit.)
If the debugged file is executed instead, results will be:
(gdb) r
Starting program: /home/gj/work/matrix_rev
Program received signal SIGTRAP, Trace/breakpoint trap.
0x045f652010002fd0 in ?? ()
(gdb) bt
#0 0x045f652010002fd0 in ?? ()
( hung here. have to be killed to exit.)
Other commands such as bt, print could not return either. I've tried "./configure mips64el-linux; make" and other, also tied other versions of GDB, but results are same. Native GDB is a must in my project.
Would you give some advice ?
Best regard.
^ permalink raw reply [flat|nested] 56+ messages in thread
end of thread, other threads:[~2004-03-24 9:25 UTC | newest]
Thread overview: 56+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-22 17:48 how to build native GDB on mips64 linux ? Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-24 13:10 gui
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
2004-03-22 14:22 guijian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox