diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index 8b31e1147..dabaa5b19 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-04-14 Mike Frysinger + + * remote-sim.h (sim_complete_command): New prototype. + 2011-03-05 Mike Frysinger * sim-bfin.h: New file. diff --git a/include/gdb/remote-sim.h b/include/gdb/remote-sim.h index a171cfda5..5f6000d83 100644 --- a/include/gdb/remote-sim.h +++ b/include/gdb/remote-sim.h @@ -276,6 +276,10 @@ void sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc); void sim_do_command (SIM_DESC sd, char *cmd); +/* Complete a command based on the available sim commands. Returns an + array of possible matches. */ +char **sim_complete_command (SIM_DESC sd, char *text, char *word); + #ifdef __cplusplus } #endif