aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-19 02:40:29 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-19 02:40:29 +0000
commite3af0493062fb35eceb0955a602a3d37a7766967 (patch)
tree1fc4089350cdf9107f88d3b822b9fa0aa211d933 /gdb/remote-vx.c
parent0c4d2cc2b3a353604c3320b867ce5d471fee1ecb (diff)
downloadgdb-e3af0493062fb35eceb0955a602a3d37a7766967.zip
gdb-e3af0493062fb35eceb0955a602a3d37a7766967.tar.gz
gdb-e3af0493062fb35eceb0955a602a3d37a7766967.tar.bz2
* i386-xdep.c, pyr-tdep.c, pyr-xdep.c, remote-vx.c, solib.c,
source.c, symfile.c, dbxread.c: Output hex with local_hex_string for Modula-2 support.
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r--gdb/remote-vx.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index 7b00a68..42090b7 100644
--- a/gdb/remote-vx.c
+++ b/gdb/remote-vx.c
@@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include <stdio.h>
#include "defs.h"
#include "param.h"
#include "frame.h"
@@ -29,7 +30,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "symtab.h"
#include "symfile.h" /* for struct complaint */
-#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
@@ -654,9 +654,9 @@ vx_files_info ()
void
vx_run_files_info ()
{
- printf ("\tRunning %s VxWorks process 0x%x",
+ printf ("\tRunning %s VxWorks process %s",
vx_running? "child": "attached",
- inferior_pid);
+ local_hex_string(inferior_pid));
if (vx_running)
printf (", function `%s'", vx_running);
printf(".\n");
@@ -984,7 +984,7 @@ vx_wait (status)
sleep_ms (200); /* FIXME Don't kill the network too badly */
}
else if (pid != inferior_pid)
- fatal ("Bad pid for debugged task: 0x%x\n", pid);
+ fatal ("Bad pid for debugged task: %s\n", local_hex_string(pid));
} while (pid == 0);
/* FIXME, eventually do more then SIGTRAP on everything... */
@@ -1178,7 +1178,7 @@ vx_attach (args, from_tty)
error ("Invalid process-id -- give a single number in decimal or 0xhex");
if (from_tty)
- printf ("Attaching pid 0x%x.\n", pid);
+ printf ("Attaching pid %s.\n", local_hex_string(pid));
bzero ((char *)&ptrace_in, sizeof (ptrace_in));
bzero ((char *)&ptrace_out, sizeof (ptrace_out));
@@ -1244,7 +1244,7 @@ vx_detach (args, from_tty)
error ("Argument given to VxWorks \"detach\".");
if (from_tty)
- printf ("Detaching pid 0x%x.\n", inferior_pid);
+ printf ("Detaching pid %s.\n", local_hex_string(inferior_pid));
if (args) /* FIXME, should be possible to leave suspended */
signal = atoi (args);
@@ -1281,7 +1281,7 @@ vx_kill (args, from_tty)
error ("Argument given to VxWorks \"kill\".");
if (from_tty)
- printf ("Killing pid 0x%x.\n", inferior_pid);
+ printf ("Killing pid %s.\n", local_hex_string(inferior_pid));
bzero ((char *)&ptrace_in, sizeof (ptrace_in));
bzero ((char *)&ptrace_out, sizeof (ptrace_out));