- clean up target output strings a bit
- open_file_from_path() now uses logging feature - open_file_from_path() no longer uses paths for anything but "r" mode. Fixes bug waiting to happen. git-svn-id: svn://svn.berlios.de/openocd/trunk@389 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -540,7 +540,7 @@ int gdb_program_handler(struct target_s *target, enum target_event event, void *
|
||||
|
||||
if (target->gdb_program_script)
|
||||
{
|
||||
script = open_file_from_path(cmd_ctx, target->gdb_program_script, "r");
|
||||
script = open_file_from_path(target->gdb_program_script, "r");
|
||||
if (!script)
|
||||
{
|
||||
ERROR("couldn't open script file %s", target->gdb_program_script);
|
||||
|
||||
Reference in New Issue
Block a user