gdb snapshot
Hi,
as I am having problems with gdb 6.8 on our ARM platform, I thought I'd give the gdb snapshot a try and selected it in the buildroot menu. But this fails as the patches in toolchain/gdb/snapshot seem to be targetted at a particular snapshot (gdb-6.3.50.20050915). Does this work for anyone else? Can this possibly work?
Sven
Le Tue, 28 Apr 2009 18:24:08 +0200,
Sven Neumann <[email protected]> a ?crit :
Quoted 5 lines
as I am having problems with gdb 6.8 on our ARM platform, I thought I'd give the gdb snapshot a try and selected it in the buildroot menu. But this fails as the patches in toolchain/gdb/snapshot seem to be targetted at a particular snapshot (gdb-6.3.50.20050915). Does this work for anyone else? Can this possibly work?
Maybe instead of using the the gdb.tar.bz2 symbolic link, we could refer to a precise version of the gdb snapshot, so that the patches have a chance to work.
The patches in snapshot/ haven't been updated since 2006, so I would say that this part is unmaintained, which means that nobody uses it and we can probably drop it.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hi,
Quoted 5 lines
Quoted 5 lines
as I am having problems with gdb 6.8 on our ARM platform, I thought I'd give the gdb snapshot a try and selected it in the buildroot menu. But this fails as the patches in toolchain/gdb/snapshot seem to be targetted at a particular snapshot (gdb-6.3.50.20050915). Does this work for anyone else? Can this possibly work?
What problems are you having with 6.8 exactly?
Thomas> Maybe instead of using the the gdb.tar.bz2 symbolic link, we could Thomas> refer to a precise version of the gdb snapshot, so that the patches Thomas> have a chance to work.
Thomas> The patches in snapshot/ haven't been updated since 2006, so I would Thomas> say that this part is unmaintained, which means that nobody uses it and Thomas> we can probably drop it.
Yeah, agreed.
Signature · 1 line
Bye, Peter Korsgaard
Hi,
Quoted 3 lines · Thomas Petazzoni
The patches in snapshot/ haven't been updated since 2006, so I would say that this part is unmaintained, which means that nobody uses it and we can probably drop it.
Ok, thanks for looking into this.
Perhaps someone can help me with the gdb problem I am facing. Whenever I try to debug a program on the target platform (ARM EABI aapcs-linux), the debugger gets a SIGCHLD signal and stops:
[root at proto2 /]# gdb hello
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-uclibcgnueabi"... (gdb) r
Starting program: /hello
Hello world
[1]+ Stopped(SIGCHLD) gdb hello
Is there anything special I need to do to run gdb on the ARM platform?
Sven
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Sven" == Sven Neumann <[email protected]> writes:
Hi,
Sven> [root at proto2 /]# gdb hello
Sven> GNU gdb 6.8
Sven> Copyright (C) 2008 Free Software Foundation, Inc. Sven> License GPLv3+: GNU GPL version 3 or later
Sven> <http://gnu.org/licenses/gpl.html>
Sven> This is free software: you are free to change and redistribute it. Sven> There is NO WARRANTY, to the extent permitted by law. Type "show Sven> copying" and "show warranty" for details.
Sven> This GDB was configured as "arm-linux-uclibcgnueabi"... Sven> (gdb) r
Sven> Starting program: /hello
Sven> Hello world
Sven> [1]+ Stopped(SIGCHLD) gdb hello
Sven> Is there anything special I need to do to run gdb on the ARM platform?
Strange, it has atleast worked in the past. Do you have the same problem with gdbserver?
Signature · 1 line
Bye, Peter Korsgaard
Hi,
Quoted 2 lines · Peter Korsgaard
Strange, it has atleast worked in the past. Do you have the same problem with gdbserver?
Yes, exactly the same problem.
Sven