Commit Graph

439 Commits

Author SHA1 Message Date
Stephane Carrez 84b1e7c7ee * tuiWin.c: Add missing includes.
(_makeVisibleWithNewHeight): Fix call to find_line_pc.
	* tuiLayout.c: Add missing includes.
	(_initAndMakeWin): Don't put curses in echo mode.
	(_extractDisplayStartAddr): Fix calls to find_line_pc.
	(_tuiLayout_command): Missing ',' in warning call.
	* tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to
	find_line_pc.
	(tuiSetHasBreakAt): Check for null source file.
2001-07-17 22:22:40 +00:00
Stephane Carrez 0963fc9672 * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.
* tuiLayout.c (_tuiSetLayoutTo): Likewise.
	* tui.c (_tui_vToggle_command): Likewise.
2001-07-17 21:37:18 +00:00
Elena Zannoni f9eb4b0146 2001-07-17 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (tui-file.o): Update dependencies.
	* tui/tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
2001-07-17 20:22:51 +00:00
Stephane Carrez c46cc7dffe * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in
each register window.
	(tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size
	of the register to check.
	(_tuiRegValueHasChanged): Likewise.
	(_tuiRegisterName): Use REGISTER_NAME.
	(tui_restore_gdbout): New function.
	(_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected
	to a string.
	(START_SPECIAL_REGS): Define.
	(_tuiGetRegisterRawValue): Use get_saved_register.
	(_tuiDisplayRegister): Fix clearing of register window.
2001-07-17 06:44:57 +00:00
Stephane Carrez e42acc6bba * tui-file.h (fputs_unfiltered_hook): Remove.
* tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook.
	(tui_file_fputs): Likewise; simplify
2001-07-17 06:42:58 +00:00
Stephane Carrez 75fd9bc1ec * tuiStack.c: Add missing includes.
(tuiShowFrameInfo): Don't crash when there is no symbol table
	associated with the pc.
	* tuiSource.c (_hasBreak): Check for null source file.
	* tuiWin.c (tuiRefreshAll): Check for null winList[type].
	(_tuiSetFocus): Check for null dataWin.
	* tuiGeneralWin.c (refreshAll): Check for null list[type].
2001-07-16 22:13:38 +00:00
Stephane Carrez a8080b7fbf * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info
to disassemble in the curses window.
2001-07-16 22:10:07 +00:00
Stephane Carrez 2a5127c4e3 * tui.h: Cleanup to avoid inclusion of curses includes.
(TuiGenWinInfo, TuiGenWinInfoPtr): Move from here.
	* tuiData.h: To here; include curses includes here.
	(setTermHeightTo): Rename of setTermHeight to follow reality.
	(setTermWidthTo): Likewise with setTermWidth.
2001-07-16 22:05:02 +00:00
Stephane Carrez eca6576c19 * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
tuiIO.c, tuiData.c: Likewise.
	tuiDataWin.c, tuiDisassem.c: Likewise.
	tuiGeneralWin.c, tuiLayout.c: Likewise.
	tuiRegs.c, tuiSource.c: Likewise.
	tuiSouceWin.c, tuiStack.c: Likewise.
2001-07-14 19:31:09 +00:00
Stephane Carrez f377b40658 * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise.
	tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise.
	tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise.
	tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise.
	tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise.
2001-07-14 19:01:25 +00:00
Andrew Cagney a728f04251 Eliminate ARCH_NUM_REGS. 2001-03-13 23:31:14 +00:00
Kevin Buettner b6ba6518e9 Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
Andrew Cagney 8e65ff28b0 Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().
2001-02-08 06:03:54 +00:00
Kevin Buettner e7b044d683 Removed (tui and mi) directory prefixes from ChangeLog comments that I
added in last commit.
2000-12-15 03:00:38 +00:00
Kevin Buettner 46c6187fb5 Put mi and tui comments for free -> xfree change in proper ChangeLogs. 2000-12-15 02:56:42 +00:00
Kevin Buettner b8c9b27d1e Replace free() with xfree(). 2000-12-15 01:01:51 +00:00
Kevin Buettner fba45db2fa Protoization. 2000-07-30 01:48:28 +00:00
Kevin Buettner f777891334 PARAMS elimination. 2000-06-22 07:16:20 +00:00
Kevin Buettner f6dd1e7029 PARAMS elimination. 2000-06-20 07:13:39 +00:00
Kevin Buettner 692248f335 PARAMS elimination. 2000-06-18 00:23:24 +00:00
Kevin Buettner 507f3c78fb Eliminate PARAMS from function pointer declarations. 2000-06-04 00:41:10 +00:00
Kevin Buettner a14ed312fd PARAMS removal. 2000-05-28 01:12:42 +00:00
Andrew Cagney fbc75a324a Fix bitrot in tui-file.c. 2000-05-26 06:15:49 +00:00
Andrew Cagney 2894793a7b Configure TUI to use <ncurses.h> when available. 2000-05-26 04:11:34 +00:00
Andrew Cagney ed952ac512 Have TUI use the same configury mechanism as MI. 2000-05-25 01:50:50 +00:00
Andrew Cagney 784f35f92c Add full set of cleanup rules. 2000-04-18 08:04:59 +00:00
Jason Molenda 1171f8d754 2000-02-07 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb/config/i386/windows.mh,
	 gdb/doc/GDBvn.texi, gdb/doc/remote.texi,
	 gdb/testsuite/gdb.base/README, gdb/testsuite/gdb.base/crossload.exp,
	 gdb/testsuite/gdb.base/i486-elf.u, gdb/testsuite/gdb.base/i860-elf.u,
	 gdb/testsuite/gdb.base/m68k-aout.u,
	 gdb/testsuite/gdb.base/m68k-aout2.u,
	 gdb/testsuite/gdb.base/m68k-elf.u, gdb/testsuite/gdb.base/mips-ecoff.u,
	 gdb/testsuite/gdb.base/sparc-aout.u,
	 gdb/testsuite/gdb.base/sparc-elf.u,
	 gdb/tui/Makefile,
	 readline/ChangeLog: These files have been removed over the course
	 of the last year, but weren't cvs removed from the old GDB repository
	 on sourceware.
2000-02-08 03:37:34 +00:00
Jason Molenda d9fcf2fb1c import gdb-2000-02-01 snapshot 2000-02-02 00:21:19 +00:00
Jason Molenda da59e08184 import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
Jason Molenda 11cf874164 import gdb-1999-11-08 snapshot 1999-11-09 01:23:30 +00:00
Jason Molenda 917317f4c6 import gdb-1999-10-18 snapshot 1999-10-19 02:47:02 +00:00
Jason Molenda c2c6d25f0d import gdb-1999-09-21 1999-09-22 03:28:34 +00:00
Jason Molenda c5aa993b1f import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
Stan Shebs c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
Stan Shebs 9733ab3f56 Initial creation of sourceware repository 1999-04-16 01:34:49 +00:00
Stan Shebs 071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
Jason Molenda 00c1f9b9c0 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
* tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish
        system.


Without this you'll get a build failure in gdbtk.c because it includes
stdarg.h but tui.h includes varargs.h; gdbtk.c tries to use va_start
and things die.
1999-01-27 00:48:10 +00:00
David Taylor 0127dc8337 att ChangeLog. 1999-01-12 16:58:31 +00:00
David Taylor 03b93bdc82 HP tui support files for gdb. 1998-12-31 17:46:28 +00:00