diff options
author | Pedro Alves <palves@redhat.com> | 2009-01-25 23:35:51 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-01-25 23:35:51 +0000 |
commit | 616d7dd2fe8aeab9a3c009b65bb44c8ea70333e4 (patch) | |
tree | 38ccba33a5cb6e5f2aa060d4b8943aed38cfd6b3 /gdb/infcmd.c | |
parent | aeaf654094927f7ba0a6d8998095f3cb1d988cec (diff) | |
download | gdb-616d7dd2fe8aeab9a3c009b65bb44c8ea70333e4.zip gdb-616d7dd2fe8aeab9a3c009b65bb44c8ea70333e4.tar.gz gdb-616d7dd2fe8aeab9a3c009b65bb44c8ea70333e4.tar.bz2 |
* infcmd.c (program_info): Use paddress instead of casting stop_pc
to unsigned long.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 3696f79..a0189c8 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -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) |