aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-11-13 15:07:54 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-11-13 15:07:54 +0000
commit759cc328c6097b831eec8c85adf91b011a077378 (patch)
tree6831af1044623104b453a8ef7592376281cbd7bc
parent73e113d4609dd70ee0ee7a334a132044df651854 (diff)
downloadgdb-759cc328c6097b831eec8c85adf91b011a077378.zip
gdb-759cc328c6097b831eec8c85adf91b011a077378.tar.gz
gdb-759cc328c6097b831eec8c85adf91b011a077378.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/auxv.c4
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h3
4 files changed, 15 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d3c833c..4042830 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-13 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and
+ AT_EXECFN. Re-sort AT_SECURE.
+
2008-11-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 121a749..fd42949 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 964f6cf..2699b03 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-13 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.
+
2008-10-10 Nathan Froyd <froydnj@codesourcery.com>
* ppc.h: Add Tag_GNU_Power_ABI_Struct_Return.
diff --git a/include/elf/common.h b/include/elf/common.h
index 995edbc..5a0c322 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