2001-07-14 19:31:09 +00:00
|
|
|
2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
* 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
|
|
|
2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
|
|
|
|
|
|
|
* 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-03-13 23:31:14 +00:00
|
|
|
2001-03-08 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
* tuiRegs.c: Use NUM_REGS, not ARCH_NUM_REGS.
|
|
|
|
|
2001-03-06 08:22:02 +00:00
|
|
|
2001-03-06 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* tui-file.h: Update/correct copyright notice.
|
|
|
|
|
2001-02-08 06:03:54 +00:00
|
|
|
Wed Feb 7 19:54:27 2001 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
* tui-file.c: Add __FILE__ and __LINE__ parameter to calls to
|
|
|
|
internal_error.
|
|
|
|
|
2000-12-15 02:56:42 +00:00
|
|
|
2000-12-14 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
2000-12-15 03:00:38 +00:00
|
|
|
* tui-file.c, tui.c, tuiData.c, tuiLayout.c: Replace occurrences
|
|
|
|
of free() with xfree().
|
2000-12-15 02:56:42 +00:00
|
|
|
|
2000-06-22 07:16:20 +00:00
|
|
|
2000-06-22 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* tuiSourceWin.h: Eliminate use of PARAMS from this file.
|
|
|
|
|
2000-06-20 07:13:39 +00:00
|
|
|
2000-06-20 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* tuiLayout.c: Eliminate use of PARAMS from this file.
|
|
|
|
|
2000-06-18 00:23:24 +00:00
|
|
|
2000-06-17 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
* tuiIO.c: Eliminate use of PARAMS from this file.
|
|
|
|
|
2000-05-26 06:15:49 +00:00
|
|
|
Thu May 25 14:46:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
|
|
|
|
* tui-file.c: Include "tui.h", "tuiData.h", "tuiIO.h" and
|
|
|
|
"tuiCommand.h".
|
|
|
|
(tui_file_fputs): Pass ``file'' and not ``stream'' to
|
|
|
|
tui_file_adjust_strbuf.
|
|
|
|
|
2000-05-26 04:11:34 +00:00
|
|
|
Thu May 25 16:58:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
|
|
|
|
* tui.h: Include <ncurses.h> when available.
|
|
|
|
* tui.c, tuiGeneralWin.c: Do not include <curses.h>.
|
|
|
|
|
2000-05-25 01:50:50 +00:00
|
|
|
Mon May 15 17:16:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
|
|
|
|
* Makefile.in: Delete.
|
|
|
|
|
2000-04-18 08:04:59 +00:00
|
|
|
Tue Apr 18 15:32:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
|
|
|
|
* Makefile.in (distclean, maintainer-clean, realclean,
|
|
|
|
mostlyclean): New targets.
|
|
|
|
|
2000-02-02 00:21:19 +00:00
|
|
|
Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
|
|
|
|
* tui-file.c, tui-file.h, tuiDisassem.c, tuiIO.c, tuiIO.h,
|
|
|
|
tuiRegs.c: Update to reflect rename of gdb-file / GDB_FILE to
|
|
|
|
ui-file / ``struct ui_file''.
|
|
|
|
|
2000-02-01 03:19:29 +00:00
|
|
|
Mon Jan 31 18:12:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
|
|
|
|
* tui-file.c (enum streamtype, struct tui_stream, tui_file_new,
|
|
|
|
tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
|
|
|
|
tui_file_rewind, tui_file_put, tui_file_fputs,
|
|
|
|
tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
|
|
|
|
fputs_unfiltered_hook): Move to here from ../utils.c
|
|
|
|
|
|
|
|
* tui-file.h, tui-file.c: New files.
|
|
|
|
|
1999-11-09 01:23:30 +00:00
|
|
|
Mon Nov 8 17:47:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
|
|
|
|
* tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
|
|
|
|
(tuiSetDisassemContent): Replace gdb_file_init_astring with
|
|
|
|
tui_sfileopen. Replace gdb_file_get_strbuf with
|
|
|
|
tui_file_get_strbuf.
|
|
|
|
|
|
|
|
Mon Nov 8 16:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
|
|
|
|
* tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
|
|
|
|
(tuiSetDisassemContent): Repace gdb_file_deallocate with
|
|
|
|
gdb_file_delete. Replace gdb_file_init_astring with tui_sfileopen.
|
|
|
|
|
1999-09-22 03:28:34 +00:00
|
|
|
Fri Sep 17 19:34:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
|
|
|
|
* tuiSource.c: Include "source.h".
|
|
|
|
(open_source_file, find_source_lines): Delete declarations.
|
|
|
|
|
1999-04-16 01:35:26 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
Thu Dec 31 12:08:32 1998 David Taylor <taylor@texas.cygnus.com>
|
|
|
|
|
|
|
|
The following changes were made by Jim Blandy <jimb@cygnus.com>,
|
|
|
|
Edith Epstein <eepstein@cygnus.com>, Elena Zannoni
|
|
|
|
<ezannoni@cygnus.com> Stan Shebs <shebs@cygnus.com>, and David
|
|
|
|
Taylor <taylor@cygnus.com>, as part of the project to merge in
|
|
|
|
changes originally made by HP; HP did not create ChangeLog
|
|
|
|
entries.
|
|
|
|
|
|
|
|
* Makefile.in: New file; we're merging HP's changes into GDB, and
|
|
|
|
we've moved the TUI files into a subdirectory, so we need a new
|
|
|
|
Makefile.
|
|
|
|
|
|
|
|
* tui.c:
|
|
|
|
#include <term.h>, if we have it, to get declarations for
|
|
|
|
the termcap functions on Solaris.
|
|
|
|
(tgoto): Add external K&R declaration for this; Solaris doesn't
|
|
|
|
bother to actually declare it in their header files.
|
|
|
|
(_tuiReset): Ignore the #definition of TIOCGETC if USG is defined;
|
|
|
|
we'd rather use the USG mechanisms than the Berkeley mechanisms
|
|
|
|
(TIOCGETC is one of the Berkeley terminal control ioctls).
|
|
|
|
Apologies if this causes trouble later; this should all be handled
|
|
|
|
by autoconf...
|
|
|
|
(strcat_to_buf, strcat_to_buf_with_fmt): New functions, moved here
|
|
|
|
from ../utils.h.
|
|
|
|
(tuiFree): replace safe_free with free.
|
|
|
|
(strcat_to_buf): new function, copied from utils.c.
|
|
|
|
(tuiInit): Add ignored `argv0' argument, to match the type that
|
|
|
|
init_ui_hook expects; updated declaration. Call the
|
|
|
|
initialize_tui_files function constructed above. Initialize
|
|
|
|
flush_hook to NULL.
|
|
|
|
(tuiInitWindows): Call tuiSetLocatorContent, to get the first
|
|
|
|
element of the locator window's content allocated. This seems
|
|
|
|
wrong, because it must have been initialized somehow in HP's
|
|
|
|
sources, and we should do it the same way now. But we do get
|
|
|
|
further before it segfaults. [Postscript: HP didn't bother to
|
|
|
|
initialize it; they compile
|
|
|
|
(va_catch_errors, vcatch_errors): Functions moved here from
|
|
|
|
../utils.c in HP's sources. They're not used anywhere else.
|
|
|
|
(xdb_style): Delete this variable, and remove all references to
|
|
|
|
it. It's always true.
|
|
|
|
(tuiInit, _tui_vDo): References removed.
|
|
|
|
|
|
|
|
* tui.h: Add prototypes.
|
|
|
|
Don't #include "gendefs.h"; it's only used in the TUI.
|
|
|
|
Integrate its contents into this file:
|
|
|
|
#include <ansidecl.h> here.
|
|
|
|
(Opaque, OpaqueFuncPtr): Typedefs moved to here.
|
|
|
|
|
|
|
|
* tuiCommand.c: #include "defs.h", so we get the appropriate
|
|
|
|
definition of GDB_FILE.
|
|
|
|
|
|
|
|
* tuiData.c
|
|
|
|
(freeWindow): replace safe_free with free.
|
|
|
|
(tui_version): don't define it here; it's defined in main.c now.
|
|
|
|
|
|
|
|
* tuiDisassem.c
|
|
|
|
(tuiSetDisassemContent): Call strcat_address_numeric instead of
|
|
|
|
strcat_address. Simplify the control structure. Use predefined
|
|
|
|
GDB function to print asm inst address. Use GDB_FILE to collect
|
|
|
|
output into buffers.
|
|
|
|
|
|
|
|
* tuiIO.c
|
|
|
|
(tgoto): Add external K&R declaration for this here too.
|
|
|
|
(tuiGetc, tuiTermSetup, tuiTermUnsetup): Same.
|
|
|
|
(tuiPuts_unfiltered): change FILE to GDB_FILE.
|
|
|
|
(tui_tputs): fix prototype for 3rd argument.
|
|
|
|
|
|
|
|
* tuiIO.h (tuiPuts_unfiltered): change declaration.
|
|
|
|
|
|
|
|
* tuiLayout.c
|
|
|
|
(_tuiSetLayoutTo): for displaying registers, hook up the HP code
|
|
|
|
that decides which registers to display (i.e. single precision
|
|
|
|
float, double precision float, general, special). Previously,
|
|
|
|
only handled TUI_GENERAL_REGS. Now that the code is hooked up,
|
|
|
|
compiling with -z poses a problem. When the first layout command
|
|
|
|
is 'layout regs', dataWin->detail is a NULL pointer, and gdb
|
|
|
|
core dumps.
|
|
|
|
|
|
|
|
* tuiLayout.c (_tuiSetLayoutTo): replace safe_free with free.
|
|
|
|
|
|
|
|
* tuiRegs.c #include "defs.h" earlier, to avoid problems in
|
|
|
|
<stdarg.h>. No idea exactly what's conflicting with what, but the
|
|
|
|
errors went away...
|
|
|
|
(_tuiRegisterFormat): Change so that function creates a GDB_FILE
|
|
|
|
object, calls pa_do_strcat_registers_info, copies the register
|
|
|
|
info into a buffer, and deallocates the GDB_FILE object. Remove
|
|
|
|
some code that is not executed. Also, call to
|
|
|
|
pa_do_strcat_registers_info has an additional parameter,
|
|
|
|
precision. This code requires some new per-target functions that
|
|
|
|
we don't want to merge. Dyke it out, with #ifdef
|
|
|
|
TUI_EXTENDED_FORMATTERS.
|
|
|
|
(_tuiSetSpecialRegsContent): this function was ifdefed out.
|
|
|
|
Hooked this up.
|
|
|
|
(_tuiSetGeneralAndSpecialRegsContent): this function was ifdefed
|
|
|
|
out. Hooked it up.
|
|
|
|
(IS_64BIT): Just define this to be zero; we're not merging in the
|
|
|
|
64-bit support.
|
|
|
|
(tuiShowRegisters): Comment out all references to the "special"
|
|
|
|
regs; we don't have a distinction between the "special" and
|
|
|
|
"non-special" regs in most of our machine descriptions. This code
|
|
|
|
is PA-specific in other ways as well, and needs to be redesigned
|
|
|
|
to be portable to other processors.
|
|
|
|
|
|
|
|
* tuiWin.c: #include <string.h>, to get a declaration for
|
|
|
|
strchr.
|
|
|
|
|
|
|
|
* tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c, tuiDisassem.c,
|
|
|
|
tuiGeneralWin.c, tuiIO.c, tuiLayout.c, tuiRegs.c, tuiSource.c,
|
|
|
|
tuiSourceWin.c, tuiStack.c, tuiWin.c: New files (from HP). Changed
|
|
|
|
bool to int throughout. Re-indented, GNU style.
|
|
|
|
|
|
|
|
* tui.h, tuiCommand.h, tuiData.h, tuiDataWin.h, tuiDisassem.h,
|
|
|
|
tuiGeneralWin.h, tuiIO.h, tuiLayout.h, tuiRegs.h, tuiSource.h,
|
|
|
|
tuiSourceWin.h, tuiStack.h, tuiWin.h: new files (from HP).
|
|
|
|
Changed bool to int throughout.
|