Commit Graph

30854 Commits

Author SHA1 Message Date
Elena Zannoni 210661e72f 2001-07-16 Elena Zannoni <ezannoni@redhat.com>
* 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 14:46:34 +00:00
Eli Zaretskii 2584159ed9 * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
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-16 14:13:06 +00:00
Orjan Friberg cf54db7985 2001-07-16 Orjan Friberg <orjanf@axis.com>
* 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 08:58:32 +00:00
Orjan Friberg 291349806f 2001-07-16 Orjan Friberg <orjanf@axis.com>
* 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 08:52:41 +00:00
gdbadmin 0a68674243 *** empty log message *** 2001-07-16 00:00:02 +00:00
Elena Zannoni 64cdedadad 2001-07-15 Elena Zannoni <ezannoni@redhat.com>
* 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 20:45:32 +00:00
Andrew Cagney 2cd58942b9 * serial.h (SERIAL_ASYNC): Delete.
(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-15 20:34:14 +00:00
Andrew Cagney ea7c478fe2 s/value_ptr/struct value */ 2001-07-15 20:10:02 +00:00
H.J. Lu 01467f2afb 2001-07-15 H.J. Lu <hjl@gnu.org>
* Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp.
	(po/BLD-POTFILES.in): Use tmp.bld instead of tmp.
	* Makefile.in: Regenerate.
2001-07-15 19:33:11 +00:00
Elena Zannoni d75b5104df 2001-07-15 Elena Zannoni <ezannoni@redhat.com>
* 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 18:57:06 +00:00
Nick Clifton ed8fee27bc Add Christian Groessler as maintainer for z8k port. 2001-07-15 10:30:30 +00:00
Eli Zaretskii 150985e3a1 * go32-nat.c (go32_create_inferior): Support command lines longer
than 126 characters.
2001-07-15 10:28:13 +00:00
gdbadmin 96fe9e8c46 *** empty log message *** 2001-07-15 00:00:01 +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 def902788f * NEWS: New target 68HC11/68HC12. 2001-07-14 19:10:30 +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
Stephane Carrez 37767e423b * utils.c (query): Remove tui hacks; tui must use the query_hook.
* 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 18:59:07 +00:00
H.J. Lu 5030876b5d 2001-07-14 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (output_prev_sec_find): Never return
	bfd_abs_section_ptr, bfd_com_section_ptr nor
	bfd_und_section_ptr.
2001-07-14 16:36:25 +00:00
Andrew Cagney dfa249fb26 * Makefile.in (refcard.dvi): Rewrite to avoid problems with empty
`test` expressions on bash.  Problem reported by Colin Walters.
2001-07-14 16:14:10 +00:00
Nick Clifton e7d10af411 Fix failures in MIPS testsuite 2001-07-14 15:50:41 +00:00
Nick Clifton 18c7a9a534 Fix dependency for em32relf.c 2001-07-14 15:47:17 +00:00
Matthew Green 92c077a32b fix formatting goof in previous. 2001-07-14 15:36:22 +00:00
Matthew Green 9ffecff1ce * configure.tgt (i386-*-netbsdelf*): New target.
(i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2001-07-14 14:45:42 +00:00
Matthew Green 7ed28e6531 * configure.in (i386-*-netbsdelf*): New target.
configure: Regenerate.
2001-07-14 14:44:39 +00:00
Mark Kettenis 1fe7ac855c * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
* config/i386/nm-linux.h: ...to here.  Change comments about user
area/struct a bit.
2001-07-14 11:55:29 +00:00
Mark Kettenis d0f3ce3c53 * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove. 2001-07-14 11:12:52 +00:00
Mark Kettenis 0123ceaf7c * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
(i386bsd-tdep.o, i386bsd-nat.o): New targets.
2001-07-14 09:50:25 +00:00
gdbadmin 3414af1c39 *** empty log message *** 2001-07-14 00:00:03 +00:00
Elena Zannoni 4902674b93 2001-07-13 Elena Zannoni <ezannoni@redhat.com>
* 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 20:03:52 +00:00
Mark Kettenis b724791951 * i386bsd-nat.c: Include <signal.h>, <stddef.h> and
<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 18:27:21 +00:00
Daniel Jacobowitz d1bacddc24 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
definition.
2001-07-13 17:34:47 +00:00
Mark Kettenis 9a973a8fb2 * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
are no registered LWPs yet.
2001-07-13 12:49:31 +00:00
Jakub Jelinek 95500e1ca4 * emultempl/elf32.em (output_prev_sec_find): New.
(place_orphan): Use it.
2001-07-13 07:25:18 +00:00
Daniel Jacobowitz 6ef7fa21cf fix i386-linux cannot_fetch/store_register 2001-07-13 05:19:30 +00:00
Keith Seitz 75e266acb3 * remote-rdp.c: Include "serial.h" 2001-07-13 02:55:57 +00:00
gdbadmin 60ad551a5e *** empty log message *** 2001-07-13 00:00:04 +00:00
Jeff Johnston 23969580f6 2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
* cgen-asm.in: Include "xregex.h" always to enable the libiberty
        regex support.
        (@arch@_cgen_build_insn_regex): New routine from Graydon.
        (@arch@_cgen_assemble_insn): Add Graydon's code to use regex
        to verify if it is worth parsing the insn as insn "x".  Also update
        error message when insn is not a recognized format of the insn vs
        when the insn is completely unrecognized.
2001-07-12 21:26:42 +00:00
Jeff Johnston 3d5c4f1086 2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
* opcode/cgen.h (CGEN_INSN): Add regex support.
        (build_insn_regex): Declare.
2001-07-12 21:20:59 +00:00
Daniel Jacobowitz d0608e50b0 * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
in HAVE_TERMIO/HAVE_TERMIOS cases.
2001-07-12 21:04:35 +00:00
Mark Kettenis de4ca854d8 * lin-lwp.c (stop_wait_callback): Add support for flushing
signals.  Use that in favour of the old code to get rid of
superfluous SIGINTs.
(lin_lwp_wait): Use the new support in stop_wait_callback to
flush all but one SIGINT.
2001-07-12 19:37:36 +00:00
Mark Kettenis 635b0cc19c * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
to comment.
(i386_store_return_value): Improve comments about storing
floating-point return values.
2001-07-12 18:50:01 +00:00
Mark Kettenis 1e4fac5928 * config/arm/xm-linux.h, config/i386/xm-linux.h,
config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
Removed.  Taken care of by autoconf and terminal.h.
2001-07-12 18:22:37 +00:00
Daniel Jacobowitz 49e790b035 * mips-tdep.c (mips_type_needs_double_align): New function.
(mips_push_arguments): Align o32 structs to even argument
        registers if necessary.
2001-07-12 17:34:33 +00:00
Daniel Jacobowitz e7df821232 fix mips/linux 8.3 errors 2001-07-12 17:23:32 +00:00
H.J. Lu bbfebd390d 2001-07-12 H.J. Lu <hjl@gnu.org>
* ld-selective/selective.exp: Mark selective1, selective2,
	selective4 and selective5 xfail on alpha*-*.
2001-07-12 15:03:27 +00:00
Mark Kettenis 9e158af12d * config/powerpc/xm-linux.h: Fix corrupted file. 2001-07-12 14:02:23 +00:00
Mark Kettenis 2b2d558c73 * configure.in: Add check for sigsetjmp.
* config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
* config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
* configure, config.in: Regenerated.
2001-07-12 13:48:46 +00:00
Mark Kettenis 63cf1c791c * gdb.base/so-impl-ld.exp: Remove stray space that prevented
running this test on Linux.
2001-07-12 13:07:32 +00:00
Andrew Cagney a433f9e473 * mi-main.c (mi_execute_command): Flush output after ``(gdb)''
prompt.  Bug reported by David Whedon.
(mi_execute_async_cli_command): Ditto.
(mi_exec_async_cli_cmd_continuation): Ditto.
(mi_command_loop): Ditto.
2001-07-12 05:54:48 +00:00
H.J. Lu 824e2cb428 2001-07-11 H.J. Lu <hjl@gnu.org>
* elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD
	flags when creating the reloc section if the ALLOC flag in the
	source section is set.
2001-07-12 04:24:44 +00:00