Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* What creates corefiles?
@ 2004-10-25 12:53 Kei Sakamoto
  2004-10-25 15:22 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Kei Sakamoto @ 2004-10-25 12:53 UTC (permalink / raw)
  To: gdb

Hello,

I'm debugging corefile functions of m32r-linux-gdb. I fixed 
several bugs in gdb. But gdb still cannot pass corefiles tests.
I suspected contents of corefiles were wrong since Linux/M32R
is a new environment and corefiles are not used until now.

So I'd like to check whether corefiles are correct. But I don't
know what creates corefiles. (Linux kernel? GLIBC?)

Would anyone suggest which source files I should look into?

Thank you,

Kei Sakamoto


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

* Re: What creates corefiles?
  2004-10-25 12:53 What creates corefiles? Kei Sakamoto
@ 2004-10-25 15:22 ` Andreas Schwab
  2004-10-25 15:26   ` Kei Sakamoto
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2004-10-25 15:22 UTC (permalink / raw)
  To: Kei Sakamoto; +Cc: gdb

"Kei Sakamoto" <sakamoto.kei@renesas.com> writes:

> So I'd like to check whether corefiles are correct. But I don't
> know what creates corefiles. (Linux kernel? GLIBC?)

It's the kernel.

> Would anyone suggest which source files I should look into?

Look at fs/binfmt_elf.c in the kernel sources.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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

* Re: What creates corefiles?
  2004-10-25 15:22 ` Andreas Schwab
@ 2004-10-25 15:26   ` Kei Sakamoto
  0 siblings, 0 replies; 3+ messages in thread
From: Kei Sakamoto @ 2004-10-25 15:26 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb

Thank you for your suggestion. I'll look into the kernel.

Kei Sakamoto

From: "Andreas Schwab" <schwab@suse.de>
To: "Kei Sakamoto" <sakamoto.kei@renesas.com>
Cc: <gdb@sources.redhat.com>
Sent: Monday, October 25, 2004 6:43 PM
Subject: Re: What creates corefiles?


"Kei Sakamoto" <sakamoto.kei@renesas.com> writes:

> So I'd like to check whether corefiles are correct. But I don't
> know what creates corefiles. (Linux kernel? GLIBC?)

It's the kernel.

> Would anyone suggest which source files I should look into?

Look at fs/binfmt_elf.c in the kernel sources.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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

end of thread, other threads:[~2004-10-25  9:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-25 12:53 What creates corefiles? Kei Sakamoto
2004-10-25 15:22 ` Andreas Schwab
2004-10-25 15:26   ` Kei Sakamoto

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