diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 11:31:49 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 11:31:49 +0000 |
commit | 3a3fc300141d9e0e6b71729d7fd604aa28447116 (patch) | |
tree | f84c50630f0fb8dc2585d5c9635aad70ff312fdb /src/server | |
parent | 0a749feb8e05d41b22a75e5545233b3e400463f8 (diff) | |
download | openocd_libswd-3a3fc300141d9e0e6b71729d7fd604aa28447116.tar.gz openocd_libswd-3a3fc300141d9e0e6b71729d7fd604aa28447116.tar.bz2 openocd_libswd-3a3fc300141d9e0e6b71729d7fd604aa28447116.tar.xz openocd_libswd-3a3fc300141d9e0e6b71729d7fd604aa28447116.zip |
- 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
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/gdb_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 57ba2806..9994b93b 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -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); |