This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/15161] symfile.c:struct load_section_data::load_offset is"unsigned long" but should be wider.


http://sourceware.org/bugzilla/show_bug.cgi?id=15161

--- Comment #5 from Pedro Alves <palves at redhat dot com> 2013-02-19 20:57:30 UTC ---
remote-mips.c:mips_load calls pmon_load_fast which has:

static void
pmon_load_fast (char *file)
{
...
    printf_filtered ("%s\t: 0x%4x .. 0x%4x  ", s->name,
             (unsigned int) s->vma,
             (unsigned int) (s->vma + bfd_get_section_size (s)));

This printf truncates vma's to 32-bit.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]