summaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2011-02-14 22:08:45 +0000
committerPedro Alves <pedro@codesourcery.com>2011-02-14 22:08:45 +0000
commitd9612bccd1918d73ce97aa4dde3e5a8c42ce35bd (patch)
tree5ded875c613cddca4a67ff7b709833a1866b5908 /gdb/exec.c
parent29b4389a0f5bd4b0c88743209ee56283680adb38 (diff)
downloadgdb-d9612bccd1918d73ce97aa4dde3e5a8c42ce35bd.tar.gz
* 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 1cca3b336d0..9f082c0f21d 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++)
{