mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-10 09:59:06 +08:00
* corefile.c (core_create_syms_from): Use BFD_VMA_FMT when
scanning in an address.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2009-06-15 Homer Xing <homer.xing@yahoo.com>
|
||||||
|
|
||||||
|
* corefile.c (core_create_syms_from): Use BFD_VMA_FMT when
|
||||||
|
scanning in an address.
|
||||||
|
|
||||||
2009-06-12 Homer Xing <homer.xing@yahoo.com>
|
2009-06-12 Homer Xing <homer.xing@yahoo.com>
|
||||||
|
|
||||||
* corefile.c (num_of_syms_in): New function - computes the number
|
* corefile.c (num_of_syms_in): New function - computes the number
|
||||||
|
@ -509,7 +509,7 @@ core_create_syms_from (const char * sym_table_file)
|
|||||||
|
|
||||||
sym_init (symtab.limit);
|
sym_init (symtab.limit);
|
||||||
|
|
||||||
sscanf (address, "%lx", &(symtab.limit->addr) );
|
sscanf (address, "%" BFD_VMA_FMT "x", &(symtab.limit->addr) );
|
||||||
|
|
||||||
symtab.limit->name = (char *) xmalloc (strlen (name) + 1);
|
symtab.limit->name = (char *) xmalloc (strlen (name) + 1);
|
||||||
strcpy ((char *) symtab.limit->name, name);
|
strcpy ((char *) symtab.limit->name, name);
|
||||||
|
Reference in New Issue
Block a user