gtk-glade port: Added gdbstub_mutex_init() and destroy() to src/gtk-glade/main.cpp. Now it should be in all ports.
This commit is contained in:
parent
6724ce53e3
commit
245586a978
|
@ -404,6 +404,8 @@ common_gtk_glade_main( struct configured_features *my_config) {
|
||||||
* where the cpus are set up.
|
* where the cpus are set up.
|
||||||
*/
|
*/
|
||||||
#ifdef GDB_STUB
|
#ifdef GDB_STUB
|
||||||
|
gdbstub_mutex_init();
|
||||||
|
|
||||||
gdbstub_handle_t arm9_gdb_stub = NULL;
|
gdbstub_handle_t arm9_gdb_stub = NULL;
|
||||||
gdbstub_handle_t arm7_gdb_stub = NULL;
|
gdbstub_handle_t arm7_gdb_stub = NULL;
|
||||||
|
|
||||||
|
@ -518,6 +520,8 @@ common_gtk_glade_main( struct configured_features *my_config) {
|
||||||
|
|
||||||
destroyStub_gdb( arm7_gdb_stub);
|
destroyStub_gdb( arm7_gdb_stub);
|
||||||
arm7_gdb_stub = NULL;
|
arm7_gdb_stub = NULL;
|
||||||
|
|
||||||
|
gdbstub_mutex_destroy();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Unload joystick */
|
/* Unload joystick */
|
||||||
|
|
Loading…
Reference in New Issue