Re: gdb cannot read core dumps on newer kernels


Richard Henderson (rth@cygnus.com)
Sun, 3 Jan 1999 15:26:23 -0800


On Sat, Jan 02, 1999 at 12:05:32PM +0100, Christian Groessler wrote:
> I don't know of other syscalls using struct timeval, if someone knows one,
> please tell me, I want to check this out.

#define __NR_select 358
#define __NR_gettimeofday 359
#define __NR_settimeofday 360
#define __NR_getitimer 361
#define __NR_setitimer 362
#define __NR_utimes 363
#define __NR_getrusage 364
#define __NR_wait4 365
#define __NR_adjtimex 366

All were added to know about the larger timeval.

> I assume you mean changing one of the functions in elf_backend_data (Which
> one?).
> Or adding a new one?

Adding a new one.

> And I didn't find "elfcore_grok_prstatus" anywhere....

elf.c, iirc.

> How would I distinguish between the two?

The size of the note section is different.

r~

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



This archive was generated by hypermail 2.0b3 on Sun Jan 24 1999 - 14:47:46 PST