* infcmd.c (program_info): Use paddress instead of casting stop_pc
to unsigned long.
This commit is contained in:
parent
aeaf654094
commit
616d7dd2fe
@ -1,3 +1,8 @@
|
||||
2009-01-25 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* infcmd.c (program_info): Use paddress instead of casting stop_pc
|
||||
to unsigned long.
|
||||
|
||||
2009-01-24 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* infrun.c (normal_stop): Don't call
|
||||
|
@ -1583,8 +1583,7 @@ program_info (char *args, int from_tty)
|
||||
stat = bpstat_num (&bs, &num);
|
||||
|
||||
target_files_info ();
|
||||
printf_filtered (_("Program stopped at %s.\n"),
|
||||
hex_string ((unsigned long) stop_pc));
|
||||
printf_filtered (_("Program stopped at %s.\n"), paddress (stop_pc));
|
||||
if (tp->stop_step)
|
||||
printf_filtered (_("It stopped after being stepped.\n"));
|
||||
else if (stat != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user