aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-05 19:53:54 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-05 19:53:54 +0000
commit789d24f07f3338bb10200d68568859280dc6f537 (patch)
treef7c255529cacae0bf78349dd49678f62cdf6a84b /gdb
parent1cd337a56bd80935525a3c16a2f710a24ad26b34 (diff)
downloadgdb-789d24f07f3338bb10200d68568859280dc6f537.zip
gdb-789d24f07f3338bb10200d68568859280dc6f537.tar.gz
gdb-789d24f07f3338bb10200d68568859280dc6f537.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* corelow.c (core_xfer_partial): Delete unused variables.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/corelow.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2eb4d23..2746874 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2010-05-05 Michael Snyder <msnyder@vmware.com>
+ * corelow.c (core_xfer_partial): Delete unused variables.
+
* solib-svr4.c (find_program_interpreter): Delete unused variable.
(svr4_solib_create_inferior_hook): Add ifdef around
conditionally-used variable declarations.
diff --git a/gdb/corelow.c b/gdb/corelow.c
index ead2377..0bbe481 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -690,7 +690,6 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
struct bfd_section *section;
bfd_size_type size;
- char *contents;
section = bfd_get_section_by_name (core_bfd, ".auxv");
if (section == NULL)
@@ -722,7 +721,6 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
struct bfd_section *section;
bfd_size_type size;
- char *contents;
section = bfd_get_section_by_name (core_bfd, ".wcookie");
if (section == NULL)
@@ -766,7 +764,6 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
struct bfd_section *section;
bfd_size_type size;
- char *contents;
char sectionstr[100];
xsnprintf (sectionstr, sizeof sectionstr, "SPU/%s", annex);