OSDN Git Service

2004-07-02 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Fri, 2 Jul 2004 22:00:55 +0000 (22:00 +0000)
committerhunt <hunt>
Fri, 2 Jul 2004 22:00:55 +0000 (22:00 +0000)
commit9afc6ca028e19b9ca90506346cb5611ced8b2202
tree1487de4514e6e7c074601ca5d2953d84186fa982
parenta8f916489cef16a3db4cfd50e9fede008be89ede
2004-07-02  Martin Hunt  <hunt@redhat.com>

* generic/gdbtk-cmds.c (symtab_to_filename): New function. Like
symtab_to_fullname() but returns the filename if the fullname
cannot be found.

* generic/gdbtk-cmds.c (gdb_find_file_command): Revert
patch of 2004-06-11. Use symtab_to_filename() again.
(gdb_loc): Ditto.
(gdb_loadfile): Ditto.
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
(gdb_get_tracepoint_info): Ditto.

* generic/gdbtk-cmds.h: Declare symtab_to_filename().
gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-bp.c
gdb/gdbtk/generic/gdbtk-cmds.c
gdb/gdbtk/generic/gdbtk-cmds.h