more const char*

This commit is contained in:
Stanislav Shwartsman 2009-05-03 19:29:19 +00:00
parent d2cdcfacaf
commit b8b00db026
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: dbg_main.cc,v 1.193 2009-05-03 19:21:38 sshwarts Exp $
// $Id: dbg_main.cc,v 1.194 2009-05-03 19:29:19 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -1353,7 +1353,7 @@ void bx_dbg_show_command(const char* arg)
}
}
void bx_dbg_show_param_command(char *param)
void bx_dbg_show_param_command(const char *param)
{
dbg_printf("show param name: <%s>\n", param);
bx_param_c *node = SIM->get_param(param, SIM->get_bochs_root());
@ -2523,7 +2523,7 @@ void bx_dbg_setpmem_command(bx_phy_address paddr, unsigned len, Bit32u val)
}
}
void bx_dbg_set_symbol_command(char *symbol, Bit32u val)
void bx_dbg_set_symbol_command(const char *symbol, Bit32u val)
{
bx_bool is_OK = false;
symbol++; // get past '$'

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: debug.h,v 1.53 2009-05-03 19:21:38 sshwarts Exp $
// $Id: debug.h,v 1.54 2009-05-03 19:29:19 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -309,10 +309,10 @@ void bx_dbg_check_memory_watchpoints(unsigned cpu, bx_phy_address phy, unsigned
// commands that work with Bochs param tree
void bx_dbg_restore_command(const char *param_name, const char *path);
void bx_dbg_show_param_command(char *param);
void bx_dbg_show_param_command(const char *param);
int bx_dbg_show_symbolic(void);
void bx_dbg_set_symbol_command(char *symbol, Bit32u val);
void bx_dbg_set_symbol_command(const char *symbol, Bit32u val);
const char* bx_dbg_symbolic_address(Bit32u context, Bit32u eip, Bit32u base);
const char* bx_dbg_symbolic_address_16bit(Bit32u eip, Bit32u cs);
int bx_dbg_symbol_command(const char* filename, bx_bool global, Bit32u offset);