[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gdb cannot read core dumps on newer kernels



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~



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []