diff options
author | Alan Modra <amodra@gmail.com> | 2014-08-05 10:37:38 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-08-05 10:37:48 +0930 |
commit | 241fd515ad94fa11d4608d4fe8108c382792d3be (patch) | |
tree | 8154bce0ae0a1ec83b36a9252b794cad982bac66 /gdb/hppa-tdep.c | |
parent | 8479caa19304089b2ef42867e406a008bf5fbc4d (diff) | |
download | gdb-241fd515ad94fa11d4608d4fe8108c382792d3be.zip gdb-241fd515ad94fa11d4608d4fe8108c382792d3be.tar.gz gdb-241fd515ad94fa11d4608d4fe8108c382792d3be.tar.bz2 |
Prepare gdb for 64-bit obstacks
* charset.c (convert_between_encodings): Cast result of obstack_base.
* cp-valprint.c (cp_print_value_fields): Use size_t locals.
* hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
(read_unwind_info): Use size_t for some locals.
* jit.c (finalize_symtab): Likewise.
* utils.c (hashtab_obstack_allocate): Likewise.
* symmisc.c (print_objfile_statistics): Update format strings.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index e302ebb..a66cbef 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -221,7 +221,7 @@ record_text_segment_lowaddr (bfd *abfd, asection *section, void *data) static void internalize_unwinds (struct objfile *objfile, struct unwind_table_entry *table, asection *section, unsigned int entries, - unsigned int size, CORE_ADDR text_offset) + size_t size, CORE_ADDR text_offset) { /* We will read the unwind entries into temporary memory, then fill in the actual unwind table. */ @@ -320,7 +320,7 @@ static void read_unwind_info (struct objfile *objfile) { asection *unwind_sec, *stub_unwind_sec; - unsigned unwind_size, stub_unwind_size, total_size; + size_t unwind_size, stub_unwind_size, total_size; unsigned index, unwind_entries; unsigned stub_entries, total_entries; CORE_ADDR text_offset; |