summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2001-07-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-07-159-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.
* * go32-nat.c (go32_create_inferior): Support command lines longerEli Zaretskii2001-07-152-3/+24
| | | | than 126 characters.
* *** empty log message ***gdbadmin2001-07-151-1/+1
|
* * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.Stephane Carrez2001-07-1414-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.
* * NEWS: New target 68HC11/68HC12.Stephane Carrez2001-07-142-0/+6
|
* * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.Stephane Carrez2001-07-1427-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.
* * utils.c (query): Remove tui hacks; tui must use the query_hook.Stephane Carrez2001-07-1410-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.
* * Makefile.in (refcard.dvi): Rewrite to avoid problems with emptyAndrew Cagney2001-07-142-8/+11
| | | | `test` expressions on bash. Problem reported by Colin Walters.
* * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...Mark Kettenis2001-07-143-7/+12
| | | | | * config/i386/nm-linux.h: ...to here. Change comments about user area/struct a bit.
* * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.Mark Kettenis2001-07-142-3/+3
|
* * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.cMark Kettenis2001-07-142-0/+11
| | | | (i386bsd-tdep.o, i386bsd-nat.o): New targets.
* *** empty log message ***gdbadmin2001-07-141-1/+1
|
* * library/download.itb (constructor): Use the iwidgetsKeith Seitz2001-07-133-29/+53
| | | | | | | | | | feedback widget instead of tixMeter. Pack all the topmost widgets together -- don't use grid. (update_download): Support the feedback widget. (done): Ditto. * library/download.ith (steps): New private variable. (num_steps): New common.
* 2001-07-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-07-133-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.
* * i386bsd-nat.c: Include <signal.h>, <stddef.h> andMark Kettenis2001-07-135-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.
* * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO CDaniel Jacobowitz2001-07-132-1/+6
| | | | definition.
* * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if thereMark Kettenis2001-07-132-2/+8
| | | | are no registered LWPs yet.
* fix i386-linux cannot_fetch/store_registerDaniel Jacobowitz2001-07-132-2/+8
|
* * remote-rdp.c: Include "serial.h"Keith Seitz2001-07-132-0/+5
|
* *** empty log message ***gdbadmin2001-07-131-1/+1
|
* Foo. Forgot to update the copyright.Keith Seitz2001-07-121-2/+2
|
* * library/srcbar.itcl (create_trace_buttons): FixKeith Seitz2001-07-124-126/+117
| | | | | | | | | | | | syntax errors. * library/tracedlg.tcl: Update to work with Itcl3.0 and ManagedWin. * library/actiondlg.tcl: Update to work with Itcl3.0 and ManagedWin. (build_win): Use iwidgets scrolled listbox instead of the tix one.
* 2001-07-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-07-122-0/+117
| | | | | | | | | | * 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 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-07-122-0/+15
| | | | | * opcode/cgen.h (CGEN_INSN): Add regex support. (build_insn_regex): Declare.
* * gdbserver/remote-utils.c (remote_open): Set VMIN to 1Daniel Jacobowitz2001-07-122-2/+7
| | | | in HAVE_TERMIO/HAVE_TERMIOS cases.
* * lin-lwp.c (stop_wait_callback): Add support for flushingMark Kettenis2001-07-122-14/+31
| | | | | | | 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.
* * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changesMark Kettenis2001-07-122-8/+18
| | | | | | to comment. (i386_store_return_value): Improve comments about storing floating-point return values.
* * config/arm/xm-linux.h, config/i386/xm-linux.h,Mark Kettenis2001-07-126-12/+11
| | | | | | 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.
* * mips-tdep.c (mips_type_needs_double_align): New function.Daniel Jacobowitz2001-07-122-0/+43
| | | | | (mips_push_arguments): Align o32 structs to even argument registers if necessary.
* fix mips/linux 8.3 errorsDaniel Jacobowitz2001-07-122-0/+7
|
* * config/powerpc/xm-linux.h: Fix corrupted file.Mark Kettenis2001-07-122-24/+4
|
* * configure.in: Add check for sigsetjmp.Mark Kettenis2001-07-126-405/+465
| | | | | | * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed. * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed. * configure, config.in: Regenerated.
* * gdb.base/so-impl-ld.exp: Remove stray space that preventedMark Kettenis2001-07-122-1/+6
| | | | running this test on Linux.
* * mi-main.c (mi_execute_command): Flush output after ``(gdb)''Andrew Cagney2001-07-122-1/+12
| | | | | | | 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-11 H.J. Lu <hjl@gnu.org>H.J. Lu2001-07-122-6/+9
| | | | | | * 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.
* * some support for funny-endian 16/32-bit insn setsFrank Ch. Eigler2001-07-125-5/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | [cgen/ChangeLog] 2001-07-11 Frank Ch. Eigler <fche@redhat.com> * desc-cpu.scm (-gen-mach-table-defns): Emit fourth field: the mach->cpu insn-chunk-bitsize. (-gen-cpu-open): In @arch@_cgen_rebuild_tables, process above new field toward CGEN_CPU_TABLE->insn_chunk_bitsize. * mach.scm (<cpu>): New field insn-chunk-bitsize. (-cpu-parse, -cpu-read): Parse/initialize it. * doc/rtl.texi (define-cpu): Document it. [opcodes/ChangeLog] 2001-07-11 Frank Ch. Eigler <fche@redhat.com> * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of bfd_get_bits. * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect non-zero CGEN_CPU_DESC->insn_chunk_bitsize. [include/opcode/ChangeLog] 2001-07-11 Frank Ch. Eigler <fche@redhat.com> * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field. (cgen_cpu_desc): Ditto.
* 2001-07-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-07-123-66/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/sh/tm-sh.h (struct gdbarch_tdep): Add FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM, PR_REGNUM fields. * sh-tdep.c (sh_skip_prologue_hard_way): Rename from skip_prologue_hard_way(). (skip_prologue_hard_way): Make it a function pointer. (sh_print_register): Use function pointer do_pseudo_register, instead of sh_do_pseudo_register. (sh_do_registers_info): Ditto. (sh_gdbarch_init): Initialize do_pseudo_register. (IS_MOV_TO_R14): Rename from IS_MOV_R14. (skip_prologue_hard_way): Update. (sh_gdbarch_init): Move setting of frame_chain, get_saved_register, init_extra_frame_info, push_arguments, extract_return_value, pop_frame, store_struct_return, extract_struct_value_address, use_struct_convention, init_extra_frame_info to before target specific settings. (sh_gdbarch_init): Initialize new tdep fields FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM, PR_REGNUM. (sh_push_arguments): Use new gdbarch_tdep fields {ARG0,ARGLAST}_REGNUM. (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs, sh_init_extra_frame_info, sh_push_return_address, sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use gdbarch_tdep->PR_REGNUM. (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
* sje patch for 32-bit IA-64 ELF relocs for HPUXJim Wilson2001-07-125-0/+31
| | | | | | | | | | | | | * reloc.c (bfd_reloc_code_type): Add IA64 relocs BFD_RELOC_IA64_LTOFF_FPTR32MSB and BFD_RELOC_IA64_LTOFF_FPTR32LSB * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elfxx-ia64.c (ia64_howto_table): Define how to handle new relocations. (elfNN_ia64_reloc_type_lookup): Handle new relocations. (elfNN_ia64_check_relocs): Likewise. (elfNN_ia64_install_value): Likewise. (elfNN_ia64_relocate_section): Likewise.
* *** empty log message ***gdbadmin2001-07-121-1/+1
|
* Don't duplicate tm-linux.hDaniel Jacobowitz2001-07-112-20/+10
|
* Add myself to MAINTAINERS for mips/linuxDaniel Jacobowitz2001-07-112-0/+7
|
* * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support forJakub Jelinek2001-07-113-19/+42
| | | | | | | | | | | | | | R_SPARC_UA64. (elf32_sparc_check_relocs): Likewise. Only create .rela section for alloced sections in shared libraries. (elf32_sparc_relocate_section): Likewise. Remove redundant check. Optimize unaligned reloc usage. * elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant check. * testsuite/gas/sparc/unalign.s: Remove .uaxword test. * testsuite/gas/sparc/unalign.d: Adjust accordingly.
* minor F_SETOWN nitDaniel Jacobowitz2001-07-112-1/+6
|
* 2001-07-11 H.J. Lu <hjl@gnu.org>H.J. Lu2001-07-112-2/+13
| | | | | | * elf64-alpha.c (elf64_alpha_check_relocs): Only use the same ALLOC|LOAD flags as the source section for debugging sections when creating the reloc section.
* fix m68k-linux buildDaniel Jacobowitz2001-07-113-6/+92
|
* * configure.tgt: Mark d10v as pure multi-arch.Andrew Cagney2001-07-114-27/+7
| | | | | * config/d10v/tm-d10v.h: Delete file. * config/d10v/d10v.mt (TM_FILE): Delete.
* s/typedef serial_t/struct serial */Andrew Cagney2001-07-1135-277/+325
|
* Fix Credit.Andrew Cagney2001-07-111-2/+3
|
* * gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"J.T. Conklin2001-07-116-14/+50
| | | | | | | | | | | of SIGIO. (input_interrupt): Don't block on read, in case we got redundant SIGIO. Don't gripe about redundant SIGIO. * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO handler while waiting. * gdbserver/low-linux.c (mywait): Likewise. * gdbserver/low-nbsd.c (mywait): Likewise. * gdbserver/low-sparc.c (mywait): Likewise.
* * infrun.c (print_stop_reason): Add missing uiout fieldKeith Seitz2001-07-112-0/+7
| | | | "reason" for SIGNAL_RECEIVED case.