- remove build warnings
- add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1062 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
347db1b736
commit
d58229e73b
|
@ -37,6 +37,7 @@
|
||||||
#include "jtag.h"
|
#include "jtag.h"
|
||||||
#include "breakpoints.h"
|
#include "breakpoints.h"
|
||||||
#include "flash.h"
|
#include "flash.h"
|
||||||
|
#include "target.h"
|
||||||
#include "target_request.h"
|
#include "target_request.h"
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
|
|
||||||
|
@ -787,7 +788,7 @@ int gdb_new_connection(connection_t *connection)
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
void gdb_connection_closed(connection_t *connection)
|
int gdb_connection_closed(connection_t *connection)
|
||||||
{
|
{
|
||||||
gdb_service_t *gdb_service = connection->service->priv;
|
gdb_service_t *gdb_service = connection->service->priv;
|
||||||
gdb_connection_t *gdb_connection = connection->priv;
|
gdb_connection_t *gdb_connection = connection->priv;
|
||||||
|
@ -817,6 +818,8 @@ void gdb_connection_closed(connection_t *connection)
|
||||||
log_remove_callback(gdb_log_callback, connection);
|
log_remove_callback(gdb_log_callback, connection);
|
||||||
|
|
||||||
target_call_event_callbacks(gdb_service->target, TARGET_EVENT_GDB_DETACH );
|
target_call_event_callbacks(gdb_service->target, TARGET_EVENT_GDB_DETACH );
|
||||||
|
|
||||||
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
void gdb_send_error(connection_t *connection, u8 the_error)
|
void gdb_send_error(connection_t *connection, u8 the_error)
|
||||||
|
|
|
@ -470,7 +470,7 @@ void arm9tdmi_change_to_arm(target_t *target, u32 *r0, u32 *pc)
|
||||||
|
|
||||||
if((retval = jtag_execute_queue()) != ERROR_OK)
|
if((retval = jtag_execute_queue()) != ERROR_OK)
|
||||||
{
|
{
|
||||||
return retval;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* fix program counter:
|
/* fix program counter:
|
||||||
|
|
|
@ -350,6 +350,7 @@ extern int target_register_user_commands(struct command_context_s *cmd_ctx);
|
||||||
extern int target_init(struct command_context_s *cmd_ctx);
|
extern int target_init(struct command_context_s *cmd_ctx);
|
||||||
extern int target_examine(void);
|
extern int target_examine(void);
|
||||||
extern int handle_target(void *priv);
|
extern int handle_target(void *priv);
|
||||||
|
extern int target_process_reset(struct command_context_s *cmd_ctx, enum target_reset_mode reset_mode);
|
||||||
|
|
||||||
extern int target_register_event_callback(int (*callback)(struct target_s *target, enum target_event event, void *priv), void *priv);
|
extern int target_register_event_callback(int (*callback)(struct target_s *target, enum target_event event, void *priv), void *priv);
|
||||||
extern int target_unregister_event_callback(int (*callback)(struct target_s *target, enum target_event event, void *priv), void *priv);
|
extern int target_unregister_event_callback(int (*callback)(struct target_s *target, enum target_event event, void *priv), void *priv);
|
||||||
|
|
Loading…
Reference in New Issue