diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-22 01:48:01 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-22 01:48:01 +0000 |
commit | cfc3475a8df6d03dfbffa813d7d919eda409c85b (patch) | |
tree | e674005120c69bba0ae2402fd05aec1c923a4f49 /gdbstub.h | |
parent | Fix initialisation of serial/parallel ports, spotted by Stefan Weil. (diff) | |
download | qemu-kvm-cfc3475a8df6d03dfbffa813d7d919eda409c85b.tar.gz qemu-kvm-cfc3475a8df6d03dfbffa813d7d919eda409c85b.tar.bz2 qemu-kvm-cfc3475a8df6d03dfbffa813d7d919eda409c85b.zip |
Allow gdbstub to connect over any serial device.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2448 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.h')
-rw-r--r-- | gdbstub.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,7 +1,7 @@ #ifndef GDBSTUB_H #define GDBSTUB_H -#define DEFAULT_GDBSTUB_PORT 1234 +#define DEFAULT_GDBSTUB_PORT "1234" typedef void (*gdb_syscall_complete_cb)(CPUState *env, target_ulong ret, target_ulong err); @@ -13,8 +13,7 @@ int gdb_handlesig (CPUState *, int); void gdb_exit(CPUState *, int); int gdbserver_start(int); #else -int gdbserver_start(CharDriverState *chr); -int gdbserver_start_port(int port); +int gdbserver_start(const char *port); #endif #endif |