Wed Jul 1 11:07:21 1998 Jim Ingham <jingham@cygnus.com>
authorJim Ingham <jingham@apple.com>
Wed, 1 Jul 1998 19:29:14 +0000 (19:29 +0000)
committerJim Ingham <jingham@apple.com>
Wed, 1 Jul 1998 19:29:14 +0000 (19:29 +0000)
commitca4e7e143de5b674d54fabf7e03db5483965fd2a
treea5eff8013530f0b152b3d58dd6ba4c6eae3ceecf
parenta95d955c680c7ae30e11a3b715a2a22287f35f29
Wed Jul  1 11:07:21 1998  Jim Ingham   <jingham@cygnus.com>

* main.tcl (gdbtk_preloop): Call gdbtk_idle on spec.  If there was an
        error in loading an executible specified on the command line,
then the pre_add_symbol hook would have called gdbtk_busy but
        the corresponding call to gdbtk_idle would not have occured.

        Also changed some catch calls so they didn't use
        "catch {set foo [real_command]}"
    but rather the more efficient:
"catch {real_command} foo"

* register.tcl: more catch cleanups
* src.tcl: more catch cleanups
* stack.tcl: more catch cleanups
* target.tcl: more catch cleanups
* tdump.tcl: more catch cleanups
* variables.tcl: more catch cleanups
* watch.tcl: more catch cleanups

* gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows
that caused gdbtk not to find the share directory unless
GDBTK_LIBRARY was set.

* gdbtk.c: removed all the commands and hooks from this file so
now it contains only the startup code.
  * gdbtk_cmds.c: New file - this contains all the Tcl commands that
gdb defines.  All the old commands were moved here, the
string-based commands were converted to object commands, and the
object-based commands were all converted to uniformly use the
call_wrapper.  A new function, Gdbtk_Init was added to centralize
initializing the gdb package.  Also added gdbtk as a package
into gdbtk_interp.
* gdbtk_hooks.c: New file - All the hooks were moved here, and a new
function, gdbtk_add_hooks was added to centralize adding all these
hook functions.  gdbtk_fputs was also modified to handle the new
result_ptr structure.  See the comments in gdbtk.h for more
details.
* gdbtk.h: New file - this contains all the defines and globals
shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c
* Makefile.in, configure.in & configure: mutatis mutandi for the
new files.
gdb/ChangeLog-gdbtk
gdb/Makefile.in
gdb/configure
gdb/configure.in
gdb/gdbtk.c
gdb/gdbtk.h [new file with mode: 0644]
gdb/gdbtk_cmds.c [new file with mode: 0644]
gdb/gdbtk_hooks.c [new file with mode: 0644]
This page took 0.025871 seconds and 4 git commands to generate.