Search
lxdream.org :: lxdream/src/gui/debug_win.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/debug_win.c
changeset 26:ad258e3daaa5
prev14:fc481a638848
next28:81c206f59dc7
author nkeynes
date Sat Dec 24 08:02:18 2005 +0000 (14 years ago)
permissions -rw-r--r--
last change More structure reorgs/fixes
file annotate diff log raw
1.1 --- a/src/gui/debug_win.c Mon Dec 12 10:37:41 2005 +0000
1.2 +++ b/src/gui/debug_win.c Sat Dec 24 08:02:18 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: debug_win.c,v 1.6 2005-12-12 10:37:36 nkeynes Exp $
1.6 + * $Id: debug_win.c,v 1.7 2005-12-24 08:02:18 nkeynes Exp $
1.7 * This file is responsible for the main debugger gui frame.
1.8 *
1.9 * Copyright (c) 2005 Nathan Keynes.
1.10 @@ -203,7 +203,7 @@
1.11 data->disasm_pc = pc;
1.12 }
1.13
1.14 -void set_disassembly_cpu( debug_info_t data, char *cpu )
1.15 +void set_disassembly_cpu( debug_info_t data, const gchar *cpu )
1.16 {
1.17 int i;
1.18 for( i=0; data->cpu_list[i] != NULL; i++ ) {
1.19 @@ -229,7 +229,7 @@
1.20 }
1.21
1.22
1.23 -void emit( void *ptr, int level, int source, char *msg, ... )
1.24 +void emit( void *ptr, int level, int source, const char *msg, ... )
1.25 {
1.26 char buf[20], addr[10] = "", *p;
1.27 char *arr[3] = {buf, addr};
.