linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* gdb woes
@ 2008-09-01 13:16 Guillaume Dargaud
  2008-09-02  1:03 ` Michael Neuling
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Dargaud @ 2008-09-01 13:16 UTC (permalink / raw)
  To: linuxppc-dev

Hello all,
I have some trouble when trying to use gdb to debug a custom app.
That app crashes for no reason but always on the same spots (probably 
hardware related, it runs on homebrew ppc-based card).
I've used gdb in the past, but always as part of 'bigger' IDEs.

So I run "gdb myapp" locally on the card and I get the prompt. Then I "run" 
it and I get dumped back to bash, but a "ps" shows that the app is still 
running... Anybody has a clue to what I can do about this ? Is there 
something wrong with my gdb (it's compiled as part of buildroot, like the 
rest of the OS) ?
-- 
Guillaume Dargaud
http://www.gdargaud.net/ 

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

* Re: gdb woes
  2008-09-01 13:16 gdb woes Guillaume Dargaud
@ 2008-09-02  1:03 ` Michael Neuling
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Neuling @ 2008-09-02  1:03 UTC (permalink / raw)
  To: Guillaume Dargaud; +Cc: linuxppc-dev

In message <02d301c90c34$e7c1f2d0$ad289e86@LPSC0173W> you wrote:
> Hello all,
> I have some trouble when trying to use gdb to debug a custom app.
> That app crashes for no reason but always on the same spots (probably 
> hardware related, it runs on homebrew ppc-based card).
> I've used gdb in the past, but always as part of 'bigger' IDEs.
> 
> So I run "gdb myapp" locally on the card and I get the prompt. Then I "run" 
> it and I get dumped back to bash, but a "ps" shows that the app is still 
> running... Anybody has a clue to what I can do about this ? Is there 
> something wrong with my gdb (it's compiled as part of buildroot, like the 
> rest of the OS) ?

If you can reduce your problem to a simple test case that others can
reproduce, it will be easier for others to look at your issue.  

If you think it's a problem with GDB, you might want to send this
message to an appropriate GDB list here:
  http://sourceware.org/gdb/mailing-lists/

Mikey

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

end of thread, other threads:[~2008-09-02  1:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-01 13:16 gdb woes Guillaume Dargaud
2008-09-02  1:03 ` Michael Neuling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).