From 759cc328c6097b831eec8c85adf91b011a077378 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Thu, 13 Nov 2008 15:07:54 +0000 Subject: [PATCH] gdb/ChangeLog: * auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and AT_EXECFN. Re-sort AT_SECURE. include/elf/ChangeLog: * common.h (AT_BASE_PLATFORM, AT_EXECFN): Define. --- gdb/ChangeLog | 5 +++++ gdb/auxv.c | 4 +++- include/elf/ChangeLog | 4 ++++ include/elf/common.h | 3 +++ 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d3c833cbe67..4042830eeda 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-11-13 Ulrich Weigand + + * auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and + AT_EXECFN. Re-sort AT_SECURE. + 2008-11-13 Jan Kratochvil * monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'. diff --git a/gdb/auxv.c b/gdb/auxv.c index 121a7497311..fd42949f568 100644 --- a/gdb/auxv.c +++ b/gdb/auxv.c @@ -203,9 +203,11 @@ fprint_target_auxv (struct ui_file *file, struct target_ops *ops) TAG (AT_ICACHEBSIZE, _("Instruction cache block size"), dec); TAG (AT_UCACHEBSIZE, _("Unified cache block size"), dec); TAG (AT_IGNOREPPC, _("Entry should be ignored"), dec); + TAG (AT_BASE_PLATFORM, _("String identifying base platform"), str); + TAG (AT_EXECFN, _("File name of executable"), str); + TAG (AT_SECURE, _("Boolean, was exec setuid-like?"), dec); TAG (AT_SYSINFO, _("Special system info/entry points"), hex); TAG (AT_SYSINFO_EHDR, _("System-supplied DSO's ELF header"), hex); - TAG (AT_SECURE, _("Boolean, was exec setuid-like?"), dec); TAG (AT_SUN_UID, _("Effective user ID"), dec); TAG (AT_SUN_RUID, _("Real user ID"), dec); TAG (AT_SUN_GID, _("Effective group ID"), dec); diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 964f6cfe5c5..2699b03d4da 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2008-10-13 Ulrich Weigand + + * common.h (AT_BASE_PLATFORM, AT_EXECFN): Define. + 2008-10-10 Nathan Froyd * ppc.h: Add Tag_GNU_Power_ABI_Struct_Return. diff --git a/include/elf/common.h b/include/elf/common.h index 995edbc5811..5a0c322996d 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -798,6 +798,9 @@ #define AT_UCACHEBSIZE 21 /* Unified cache block size. */ #define AT_IGNOREPPC 22 /* Entry should be ignored */ #define AT_SECURE 23 /* Boolean, was exec setuid-like? */ +#define AT_BASE_PLATFORM 24 /* String identifying real platform, + may differ from AT_PLATFORM. */ +#define AT_EXECFN 31 /* Filename of executable. */ /* Pointer to the global system page used for system calls and other nice things. */ #define AT_SYSINFO 32 -- 2.30.2