aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-02-14 22:08:48 +0000
committerPedro Alves <palves@redhat.com>2011-02-14 22:08:48 +0000
commit424447eef3554474b508e0ee0be21347e1d8fc46 (patch)
treef8987113f069c3df20159d445f6f6679207fce1d /gdb/exec.c
parente0ccc0c7e0746ce69608488ca0e1bec8c07a1166 (diff)
downloadgdb-424447eef3554474b508e0ee0be21347e1d8fc46.zip
gdb-424447eef3554474b508e0ee0be21347e1d8fc46.tar.gz
gdb-424447eef3554474b508e0ee0be21347e1d8fc46.tar.bz2
* exec.c (section_table_available_memory): Change `len' parameter
type to ULONGEST. * exec.h (section_table_available_memory): Ditto. * value.h (read_value_memory): Rename the `offset' parameter to `embedded_offset'.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index 1cca3b3..9f082c0 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -574,12 +574,11 @@ map_vmap (bfd *abfd, bfd *arch)
VEC(mem_range_s) *
section_table_available_memory (VEC(mem_range_s) *memory,
- CORE_ADDR memaddr, LONGEST len,
+ CORE_ADDR memaddr, ULONGEST len,
struct target_section *sections,
struct target_section *sections_end)
{
struct target_section *p;
- ULONGEST memend = memaddr + len;
for (p = sections; p < sections_end; p++)
{