mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-06 07:28:44 +08:00
Fix compilation warning on gcc-4.1.2.
* rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Initialize local variable`pc' to zero.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
|
Fix compilation warning on gcc-4.1.2.
|
||||||
|
* rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Initialize
|
||||||
|
local variable`pc' to zero.
|
||||||
|
|
||||||
2010-04-20 Joel Brobecker <brobecker@adacore.com>
|
2010-04-20 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
Implement thread support with core files on alpha-tru64.
|
Implement thread support with core files on alpha-tru64.
|
||||||
|
@ -583,7 +583,7 @@ rs6000_convert_from_func_ptr_addr (struct gdbarch *gdbarch,
|
|||||||
the target address itself points to a section that is executable. */
|
the target address itself points to a section that is executable. */
|
||||||
if (s && (s->the_bfd_section->flags & SEC_CODE) == 0)
|
if (s && (s->the_bfd_section->flags & SEC_CODE) == 0)
|
||||||
{
|
{
|
||||||
CORE_ADDR pc;
|
CORE_ADDR pc = 0;
|
||||||
struct obj_section *pc_section;
|
struct obj_section *pc_section;
|
||||||
struct gdb_exception e;
|
struct gdb_exception e;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user