aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-07-18*** empty log message ***gdbadmin1-1/+1
2001-07-17 * tuiWin.c: Add missing includes.Stephane Carrez4-9/+42
(_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 * gdb.base/long_long.exp: Detect size of pointer. Take intoStephane Carrez2-5/+42
account 2-byte pointers when testing for p/a results.
2001-07-17 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48KStephane Carrez3-5/+52
and defined to 1K for m68hc11. (random_data): Reduce table to 1K for embedded platforms (68hc11). * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp. (sizeof_random_data): New variable to tell the size of the data table; don't test past this size; always run to main.
2001-07-17 * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.Stephane Carrez4-18/+24
* tuiLayout.c (_tuiSetLayoutTo): Likewise. * tui.c (_tui_vToggle_command): Likewise.
2001-07-172001-07-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-1/+11
* Makefile.in (tui-file.o): Update dependencies. * tui/tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
2001-07-172001-07-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+7
* top.c (catch_errors): Convert PTR to void * in parameters list. (quit_cover): Ditto.
2001-07-17 * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE inStephane Carrez2-27/+82
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 * tui-file.h (fputs_unfiltered_hook): Remove.Stephane Carrez3-80/+13
* tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook. (tui_file_fputs): Likewise; simplify
2001-07-17 * source.c (find_source_lines): Remove tui test, must be replacedStephane Carrez2-74/+10
by appropriate warning hook. (print_source_lines): Remove tui hacks, must be replaced by cli. (forward_search_command): Remove tui hacks, can be replaced by appropriate calls to identify_source_line when tui scrolls. (reverse_search_command): Likewise.
2001-07-17 * remote.c (init_remote_ops, init_remote_cisco_ops,Nicholas Duffek2-3/+12
init_remote_async_ops): Set to_pid_to_str and to_extra_thread_info correctly and in the same order as declared in target.h.
2001-07-17Revert previous, included more than intended.Andrew Cagney2-19/+13
2001-07-17*** empty log message ***gdbadmin1-1/+1
2001-07-16 * remote.c (init_remote_ops, init_remote_cisco_ops,Nicholas Duffek2-9/+26
init_remote_async_ops): Set to_pid_to_str and to_extra_thread_info correctly and in the same order as declared in target.h.
2001-07-16 * findvar.c (read_var_value): Apply value_as_pointer() toNicholas Duffek2-13/+12
addresses retrieved from the target for LOC_BASEREG and LOC_BASEREG_ARG variables.
2001-07-16 * tuiStack.c: Add missing includes.Stephane Carrez5-5/+22
(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 * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_infoStephane Carrez2-3/+9
to disassemble in the curses window.
2001-07-16 * tui.h: Cleanup to avoid inclusion of curses includes.Stephane Carrez3-30/+34
(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 * gdb.base/return2.exp: return of long long and double fails forStephane Carrez3-5/+20
68HC11; don't execute these tests on that platform. * gdb.base/return.exp: Return of a double fails for 68hc11.
2001-07-16 * call-ar-st.exp: Use gdb_skip_float_test to avoid executingStephane Carrez3-5/+14
tests that print a float. * call-rt-st.exp: Likewise.
2001-07-162001-07-16 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-0/+5
* NEWS: New target CRIS.
2001-07-162001-07-16 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+5
* top.c (show_commands): Remove extern decl of history_get, it's already in readline/history.h.
2001-07-162001-07-16 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni7-33/+30
* top.c (is_complete_command, init_cmd_lists, init_cli_cmds, execute_user_command, do_setshow_command, get_prompt, init_proc, serial_log_command): Remove extern declarations. Include cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h. * gdbcmd.h (execute_user_command): Remove declaration, it's already in cli/cli-script.h. * command.h (do_setshow_command): Remove declaration, it's already in cli/cli-setshow.h. * infrun.c: Include "cli/cli-script.h" for execute_user_command. * Makefile.in (infrun.o): Update dependencies. (top.o): Ditto. * cli/cli-setshow.h: Add comment for do_setshow_command.
2001-07-16 * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition theEli Zaretskii3-6/+14
call to chdir on this symbol rather than on __DJGPP__. (CANT_FORK) [__MSDOS__]: Move from here... * defs.h (CANT_FORK) [__MSDOS__]: ...to here. (GLOBAL_CURDIR) [__MSDOS__]: Define.
2001-07-162001-07-16 Orjan Friberg <orjanf@axis.com>Orjan Friberg1-0/+6
* configure.tgt: Recognise the CRIS architecture. * config/cris/cris.mt: New file for CRIS target. * cris-tdep.c: New file for CRIS target.
2001-07-162001-07-16 Orjan Friberg <orjanf@axis.com>Orjan Friberg3-0/+3985
* configure.tgt: Recognise the CRIS architecture. * config/cris/cris.mt: New file for CRIS target. * cris-tdep.c: New file for CRIS target.
2001-07-16*** empty log message ***gdbadmin1-1/+1
2001-07-152001-07-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-120/+86
* top.c (quit_cover, float_handler): Move definition up before use. (gdb_init): Move to end of file, to avoid calls to not yet defined functions. Delete prototypes.
2001-07-15* serial.h (SERIAL_ASYNC): Delete.Andrew Cagney29-336/+365
(DEPRECATED_SERIAL_FD): Delete. (SERIAL_DEBUG): Delete. (SERIAL_DEBUG_P): Delete. (SERIAL_DRAIN_OUTPUT): Delete. (SERIAL_FLUSH_OUTPUT): Delete. (SERIAL_FLUSH_INPUT): Delete. (SERIAL_SEND_BREAK): Delete. (SERIAL_RAW): Delete. (SERIAL_GET_TTY_STATE): Delete. (SERIAL_SET_TTY_STATE): Delete. (SERIAL_PRINT_TTY_STATE): Delete. (SERIAL_NOFLUSH_SET_TTY_STATE): Delete. (SERIAL_SETBAUDRATE): Delete. (SERIAL_SETSTOPBITS): Delete. (SERIAL_CAN_ASYNC_P): Delete. (SERIAL_IS_ASYNC_P): Delete. (SERIAL_UN_FDOPEN): Delete. (SERIAL_READCHAR): Delete. (SERIAL_CLOSE): Delete. (SERIAL_FDOPEN): Delete. (SERIAL_OPEN): Delete.
2001-07-15s/value_ptr/struct value */Andrew Cagney21-51/+76
2001-07-152001-07-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni9-41/+60
* top.c (readline_line_completion_function, noop_completer): Move from here... * completer.c (readline_line_completion_function, noop_completer): ...to here. * gdbcmd.h (readline_line_completion_function, noop_completer): Move declarations from here... * completer.h (readline_line_completion_function, noop_completer): ...to here. * corefile.c: Include completer.h. * source.c: Ditto. * symfile.c: Ditto. * Makefile.in: Update dependencies.
2001-07-15 * go32-nat.c (go32_create_inferior): Support command lines longerEli Zaretskii2-3/+24
than 126 characters.
2001-07-15*** empty log message ***gdbadmin1-1/+1
2001-07-14 * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.Stephane Carrez14-1999/+240
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 * NEWS: New target 68HC11/68HC12.Stephane Carrez2-0/+6
2001-07-14 * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.Stephane Carrez27-89/+545
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 * utils.c (query): Remove tui hacks; tui must use the query_hook.Stephane Carrez10-168/+35
* top.c (command_loop): Remove tui insert_mode hacks; don't call tuiCleanUp because this must be made with atexit by tui. * symfile.c (symbol_file_command): Remove call to TUIDO * stack.c (show_and_print_stack_frame_stub): Remove tui check; not necessary when using the selected frame hooks. (print_stack_frame_stub): Likewise. (print_frame_info_base): Likewise. (print_frame_info): Likewise. (up_silently_command): Likewise. (down_silently_command): Likewise. (show_stack_frame): Likewise for TUIDO. (select_frame): Likewise. (select_and_print_frame): Likewise. (stack_publish_stopped_with_no_frame): Remove. (select_and_maybe_print_frame): Remove. * main.c (captured_main): Remove tui_fileopen and tuiInit; tui must use the initialize ui hook. * infrun.c (normal_stop): Remove call to TUIDO; tui must use the selected frame hooks. * event-top.c (command_handler): Remove tui insert_mode hack. * defs.h: Remove TUIDO; Only include tui.h. * breakpoint.c (mention): Remove calls to TUIDO. (delete_breakpoint): Remove tui hacks; tui must install the breakpoint hooks.
2001-07-14* Makefile.in (refcard.dvi): Rewrite to avoid problems with emptyAndrew Cagney2-8/+11
`test` expressions on bash. Problem reported by Colin Walters.
2001-07-14* config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...Mark Kettenis3-7/+12
* config/i386/nm-linux.h: ...to here. Change comments about user area/struct a bit.
2001-07-14* config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.Mark Kettenis2-3/+3
2001-07-14* Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.cMark Kettenis2-0/+11
(i386bsd-tdep.o, i386bsd-nat.o): New targets.
2001-07-14*** empty log message ***gdbadmin1-1/+1
2001-07-132001-07-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-24/+35
* remote-e7000.c (fetch_regs_from_dump): If register set is null, generate an internal error. (e7000_fetch_registers): Initialize variable 'wanted'. (e7000_wait): Initialize variable 'wanted_nopc'. (e7000_store_register): Fix sprintf compiler warnings. (sub2_from_pc): Ditto. (e7000_open): Close the descriptor, not the name. (e7000_load): Fix compiler warnings. (sub2_from_pc): Ditto. * Makefile.in (remote-e7000.o): Can now compile with -Werror.
2001-07-13* i386bsd-nat.c: Include <signal.h>, <stddef.h> andMark Kettenis5-12/+168
<sys/sysctl.h>. (store_inferior_registers): Wrap long line. (i386bsd_dr_get_status): Fix typo in comment. (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define. (i386bsd_in_sigtramp): New prototype. (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms... (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new (external) variables. (SIGCONTEXT_PC_OFFSET): Removed. (FRAME_SAVED_PC): New define. (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt (TDEPFILES): Add i386bsd-tdep.o.
2001-07-13 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO CDaniel Jacobowitz2-1/+6
definition.
2001-07-13* lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if thereMark Kettenis2-2/+8
are no registered LWPs yet.
2001-07-13fix i386-linux cannot_fetch/store_registerDaniel Jacobowitz2-2/+8
2001-07-13 * remote-rdp.c: Include "serial.h"Keith Seitz2-0/+5
2001-07-13*** empty log message ***gdbadmin1-1/+1
2001-07-12 * gdbserver/remote-utils.c (remote_open): Set VMIN to 1Daniel Jacobowitz2-2/+7
in HAVE_TERMIO/HAVE_TERMIOS cases.