This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH/RFC] auxv entries
El lun, 15-09-2008 a las 22:22 +0200, Mark Kettenis escribiÃ:
> Here is the promised diff. Tested on Linux on amd64 (which doesn't
> say a lot since it is little-endian).
Not sure if you're still interested, but I had already fired the
regression test anyway:
This patch introduces the following regressions in ppc64-linux:
PASS: gdb.base/auxv.exp: generate native core dump
PASS: gdb.base/auxv.exp: load core file for info auxv on native core dump
PASS: gdb.base/auxv.exp: info auxv on native core dump
-PASS: gdb.base/auxv.exp: matching auxv data from live and core
+FAIL: gdb.base/auxv.exp: matching auxv data from live and core
PASS: gdb.base/auxv.exp: load core file for info auxv on gcore-created dump
PASS: gdb.base/auxv.exp: info auxv on gcore-created dump
-PASS: gdb.base/auxv.exp: matching auxv data from live and gcore
+FAIL: gdb.base/auxv.exp: matching auxv data from live and gcore
Here's the gdb.log for the failing run:
info auxv^M
0 AT_NULL End of vector 0x16^M
(gdb) PASS: gdb.base/auxv.exp: info auxv on native core dump
FAIL: gdb.base/auxv.exp: matching auxv data from live and core
Versus the gdb.log for the successful run:
info auxv^M
22 AT_IGNOREPPC Entry should be ignored 22^M 22 AT_IGNOREPPC Entry should be ignored 22^M
19 AT_DCACHEBSIZE Data cache block size 128^M
20 AT_ICACHEBSIZE Instruction cache block size 128^M
21 AT_UCACHEBSIZE Unified cache block size 0^M
33 AT_SYSINFO_EHDR System-supplied DSO's ELF header 0x100000^M
16 AT_HWCAP Machine-dependent CPU capability hints 0xdc080000^M
6 AT_PAGESZ System page size 4096^M
17 AT_CLKTCK Frequency of times() 100^M
3 AT_PHDR Program headers for program 0x10000040^M
4 AT_PHENT Size of program header entry 56^M 5 AT_PHNUM Number of program headers 9^M
7 AT_BASE Base address of interpreter 0x40000000000^M
8 AT_FLAGS Flags 0x0^M
9 AT_ENTRY Entry point of program 0x10010b98^M
11 AT_UID Real user ID 1001^M
12 AT_EUID Effective user ID 1001^M
13 AT_GID Real group ID 100^M
14 AT_EGID Effective group ID 100^M
23 AT_SECURE Boolean, was exec setuid-like? 0^M
15 AT_PLATFORM String identifying platform 0xfffffa62210 "ppc970"^M
0 AT_NULL End of vector 0x0^M
(gdb) PASS: gdb.base/auxv.exp: info auxv on native core dump
PASS: gdb.base/auxv.exp: matching auxv data from live and core
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center