]> git.proxmox.com Git - mirror_qemu.git/blobdiff - gdbstub.h
Fix warnings that would be caused by gcc flag -Wwrite-strings
[mirror_qemu.git] / gdbstub.h
index e1c9efb80349ddf4c8112657dcacb6f25b570e7e..ba65f938f6689dc6992e0265ee7713337025b4f5 100644 (file)
--- a/gdbstub.h
+++ b/gdbstub.h
@@ -6,7 +6,7 @@
 typedef void (*gdb_syscall_complete_cb)(CPUState *env,
                                         target_ulong ret, target_ulong err);
 
-void gdb_do_syscall(gdb_syscall_complete_cb cb, char *fmt, ...);
+void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...);
 int use_gdb_syscalls(void);
 #ifdef CONFIG_USER_ONLY
 int gdb_handlesig (CPUState *, int);