Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* A handler for the OS ABI "GNU/Linux"...
@ 2007-09-18  8:32 Peter Skvarka
  2007-09-18 19:22 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Skvarka @ 2007-09-18  8:32 UTC (permalink / raw)
  To: gdb

I have gdb connected to server at localhost:3333,
server is OpenOCD debugger connected through JTAG into target ARM9 board.

I have two questions:
1. Is possible to load symbols and do source-level debug with current gdb
version and code running on ARM9 
with embedded kernel 2.4.19 and application compiled with gcc 2.95.3 ? Is
not older compiler hurdle for contemporary gdb ?

2. When I trying to run my application from insight GUI, I meet this
warning:
"A handler for the OS ABI "GNU/Linux" is not built into this configuration
of GDB. 
Attempting to continue with the default settings."

What does it mean this error and how can Ito correct it ?

Regards !
Peter

 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A handler for the OS ABI "GNU/Linux"...
  2007-09-18  8:32 A handler for the OS ABI "GNU/Linux" Peter Skvarka
@ 2007-09-18 19:22 ` Daniel Jacobowitz
       [not found]   ` <20070918183110.502061973AD@debian.softinengines.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2007-09-18 19:22 UTC (permalink / raw)
  To: Peter Skvarka; +Cc: gdb

On Tue, Sep 18, 2007 at 10:25:39AM +0200, Peter Skvarka wrote:
> I have gdb connected to server at localhost:3333,
> server is OpenOCD debugger connected through JTAG into target ARM9 board.
> 
> I have two questions:
> 1. Is possible to load symbols and do source-level debug with current gdb
> version and code running on ARM9 
> with embedded kernel 2.4.19 and application compiled with gcc 2.95.3 ? Is
> not older compiler hurdle for contemporary gdb ?

No, it should be fine.  You can't use GDB to do Linux application level
debug over JTAG, though.  Use JTAG for the kernel and gdbserver for
the application.

> 2. When I trying to run my application from insight GUI, I meet this
> warning:
> "A handler for the OS ABI "GNU/Linux" is not built into this configuration
> of GDB. 
> Attempting to continue with the default settings."
> 
> What does it mean this error and how can Ito correct it ?

You're debugging a Linux target.  Configure GDB for Linux when you
build it.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A handler for the OS ABI "GNU/Linux"...
       [not found]   ` <20070918183110.502061973AD@debian.softinengines.com>
@ 2007-09-19  1:37     ` 'Daniel Jacobowitz'
  0 siblings, 0 replies; 3+ messages in thread
From: 'Daniel Jacobowitz' @ 2007-09-19  1:37 UTC (permalink / raw)
  To: Peter Skvarka; +Cc: gdb

Please reply to the list if you want help.

On Tue, Sep 18, 2007 at 08:32:48PM +0200, Peter Skvarka wrote:
> What do you mean by gdbserver ? open source jtag_gdbserver ?
> But it works also with help of JTAG hardware.
> Or do you mean to connect with gdb to target GDBServer/TCP instead of
> Remote/TCP
> in target list when opened insight, menu Run->Connect to target ?

No.  You must run the gdbserver program, which is part of GDB, on your
target system in order to debug userspace applications.  You can't
use JTAG to do it; GDB doesn't support that.

JTAG will be fine for the kernel.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-18 19:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-18  8:32 A handler for the OS ABI "GNU/Linux" Peter Skvarka
2007-09-18 19:22 ` Daniel Jacobowitz
     [not found]   ` <20070918183110.502061973AD@debian.softinengines.com>
2007-09-19  1:37     ` 'Daniel Jacobowitz'

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox