diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index 67e5d970d..ce08b7b6f 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-10-15 Daniel Jacobowitz + + * sim-ppc.h (sim_spr_register_name): New prototype. + 2007-10-11 Jesper Nilsson * callback.h (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add prototypes. diff --git a/include/gdb/sim-ppc.h b/include/gdb/sim-ppc.h index 36ce92740..31343233c 100644 --- a/include/gdb/sim-ppc.h +++ b/include/gdb/sim-ppc.h @@ -762,6 +762,10 @@ enum }; +/* Return the register name for the supplied SPR number if any, or + NULL if none. */ +extern const char *sim_spr_register_name (int); + #ifdef __cplusplus } #endif