aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-01-24 20:24:44 +0000
committerDoug Evans <dje@google.com>2013-01-24 20:24:44 +0000
commit90f9a98741aa8070317f49b8cbced7587d950569 (patch)
treeb45f54f490fd4d1b6980b0248a46d39eeda57cb2 /binutils
parentc6ac678db54ed727cb673a87beeb7a41bdf13182 (diff)
downloadgdb-90f9a98741aa8070317f49b8cbced7587d950569.zip
gdb-90f9a98741aa8070317f49b8cbced7587d950569.tar.gz
gdb-90f9a98741aa8070317f49b8cbced7587d950569.tar.bz2
* dwarf.c (display_debug_addr): Add missing parentheses to expression.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/dwarf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1d88c3d..75e25f6 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-24 Doug Evans <dje@google.com>
+
+ * dwarf.c (display_debug_addr): Add missing parentheses to expression.
+
2013-01-24 Nick Clifton <nickc@redhat.com>
* readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 8127ee3..6d9fdf9 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -4399,7 +4399,7 @@ display_debug_addr (struct dwarf_section *section,
printf (_("Contents of the %s section:\n\n"), section->name);
- debug_addr_info = (debug_info **) xmalloc (num_debug_info_entries + 1
+ debug_addr_info = (debug_info **) xmalloc ((num_debug_info_entries + 1)
* sizeof (debug_info *));
count = 0;