Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* debugging uClinux application with GDB simulator
@ 2017-10-10  9:12 Waldemar Brodkorb
  2017-10-17 10:07 ` Heap corruption and crash reading syscall XML data Dmitry Antipov
  0 siblings, 1 reply; 4+ messages in thread
From: Waldemar Brodkorb @ 2017-10-10  9:12 UTC (permalink / raw)
  To: gdb

Hi GDB hackers,

I would like to debug an issue with vfork() function
from uClibc-ng for h8/300 architecture.

How it is supposed to work?

I can successfully load a Linux kernel with piggyback
initramfs and the sash shell in GDB simulator.
As soon as I try to exec another application it fails.
I think it might be a bug in vfork function.
As it is implemented in assembly I can not try to do
simple printf debugging.

The binary format used for this architecture is FLAT
and all C library functions are statically linked into
the sash binary.

As I start the GDB simulator with the kernel I can not
break into vfork() as it is not yet loaded.

Any hints?

thanks in advance,
 Waldemar


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

end of thread, other threads:[~2017-10-17 11:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-10  9:12 debugging uClinux application with GDB simulator Waldemar Brodkorb
2017-10-17 10:07 ` Heap corruption and crash reading syscall XML data Dmitry Antipov
2017-10-17 11:30   ` Pedro Alves
2017-10-17 11:43     ` Pedro Alves

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