aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-11-27* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS ifChristopher Faylor4-4/+59
HAVE_CONTEXT_EXTENDED_REGISTERS is defined. * win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended registers if HAVE_SSE_REGS is defined. (mappings array): Add offset of extended registers. (thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
2001-11-27 * NEWS: Updated.Tom Tromey6-0/+83
* event-loop.c (start_event_loop): Call after_char_processing_hook. * event-top.h (after_char_processing_hook): Declare. * event-top.c (rl_callback_read_char_wrapper): Call after_char_processing_hook. (after_char_processing_hook): New global. * top.c (operate_saved_history): New global. (gdb_rl_operate_and_get_next): New function. (init_main): Add the operate-and-get-next defun. (gdb_rl_operate_and_get_next_completion): New function.
2001-11-27 * gdb.texinfo (Command Syntax): Document C-o binding.Tom Tromey2-0/+11
2001-11-27 * NEWS: Update for --args.Tom Tromey4-71/+82
* infcmd.c (construct_inferior_arguments): Moved from ... * fork-child.c: ... here.
2001-11-272001-11-21 Michael Snyder <msnyder@redhat.com>Michael Snyder5-0/+46
* gdb.asm/sparc.inc: New file. * gdb.asm/asm-source.exp: Recognize sparc target. * gdb.asm/configure.in: Recognize sparc target. * gdb.asm/configure: Regenerate.
2001-11-27* symtab.c (find_pc_sect_line): Revert change of 2001-11-13; addJim Blandy2-7/+12
comment explaining that hand-written assembly code can have line number info but no debug info for an enclosing function.
2001-11-27*** empty log message ***gdbadmin1-1/+1
2001-11-26daily updateAlan Modra1-1/+1
2001-11-26 * config.sub: Update to version 1.232 on subversion.Geoffrey Keating2-12/+24
2001-11-26merge from gccDJ Delorie2-2/+14
2001-11-262001-11-26 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-4/+24
From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>: * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer to a local (non-static) variable. Copy tstruct.a to a static buffer and return a pointer to that buffer. * gdb.base/callfwmall.c (t_structs_a): Ditto.
2001-11-26merge from gccDJ Delorie4-3/+12
2001-11-26* gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini useChristopher Faylor2-6/+14
since it is described in the referenced section. From Eli Zaretskii <eliz@is.elta.co.il> * gdb.texinfo (Command Files): Reword to make gdb.ini requirement clearer when using DJGPP.
2001-11-262001-11-26 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-0/+8
From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>: * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer to a local (non-static) variable. Copy tstruct.a to a static buffer and return a pointer to that buffer. * gdb.base/callfwmall.c (t_structs_a): Ditto.
2001-11-26 * stabs.c (_bfd_discard_section_stabs): Use PARAMS in functionJeff Law2-1/+6
prototypes.
2001-11-26 * sparc-nat.c (fetch_inferior_registers): Don't relyJakub Jelinek2-4/+10
on CORE_ADDR being 32-bit. (store_inferior_registers): Likewise.
2001-11-26*** empty log message ***gdbadmin1-1/+1
2001-11-25* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.Jim Blandy1-1/+5
2001-11-25daily updateAlan Modra1-1/+1
2001-11-25 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor andStephane Carrez3-4/+10
destructor in rom. * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
2001-11-25 * gas/all/gas.exp (incbin): Fix condition.Andreas Jaeger2-5/+9
2001-11-25 * config/djgpp/config.sed: Fix an error in etc/ at "make install"Eli Zaretskii2-0/+5
time on non-LFN systems where standards*.inf* expands to nothing.
2001-11-25 * go32-nat.c (save_npx): Avoid a warning from GCC 3.x.Eli Zaretskii2-13/+16
2001-11-25*** empty log message ***gdbadmin1-1/+1
2001-11-24daily updateAlan Modra1-1/+1
2001-11-24Fix obvious typo (Bourn -> Bourne)Fred Fish1-1/+1
2001-11-24* win32-nat.c (struct so_stuff): Add objfile *objfile field needed to be ableChristopher Faylor3-24/+91
to remove the DLL when unloaded. Remove unused last field. (handle_unload_dll): New function to handle unloading of DLL. (solib_symbols_add): Change return type to struct objfile *. (get_child_debug_event): Call handle_unload_dll function.
2001-11-24* win32-nat.c (_initialize_check_for_gdb_ini): New function.Christopher Faylor6-13/+74
* config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__. (GDBINIT_FILENAME): Remove.
2001-11-24* gdb.asm/configure.in: Fix recognition of ix86 target.Mark Kettenis3-2/+7
* gdb.asm/configure: Regenerate.
2001-11-24 * elf32-hppa.c (elf32_hppa_size_stubs): Decrease default stubAlan Modra2-10/+17
group sizes to accomodate c++.
2001-11-24*** empty log message ***gdbadmin1-1/+1
2001-11-23Add x86 OpenBSD native configuration.Mark Kettenis8-0/+215
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh, config/i386/nm-obsd.h: New files. * configure.host (i[3456]86-*-openbsd*): New host. * configure.tgt (i[3456]86-*-openbsd*): New target. * NEWS: Update.
2001-11-23daily updateAlan Modra1-1/+1
2001-11-23 * gas/all/gas.exp (incbin): Do not run on the PA.Jeff Law2-1/+6
2001-11-23 * gas/hppa/parse/parse.exp: Expect failure on line separator bug.Jeff Law2-0/+5
2001-11-23 * elf32-sparc.c (elf32_sparc_relocate_section): Don't clearJakub Jelinek3-2/+25
relocations in non-alloced sections against global symbols defined in shared library being built. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2001-11-23 * elf.c (_bfd_elf_rela_local_sym): New.Jakub Jelinek36-96/+227
* elflink.h (elf_link_input_bfd): Don't consider empty merged sections as removed in relocation tests. * elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype. * elf32-i386.c (elf_i386_relocate_section): Handle relocs against STT_SECTION symbol of SHF_MERGE section. * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-avr.c (elf32_avr_relocate_section): Call _bfd_elf_rela_local_sym. * elf32-cris.c (cris_elf_relocate_section): Likewise. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-fr30.c (fr30_final_link_relocate): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elf-hppa.h (elf_hppa_relocate_section): Likewise. * elf-m10200.c (mn10200_elf_relocate_section): Likewise. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise for !partial_inplace relocs. Handle relocs against STT_SECTION symbol of SHF_MERGE for partial_inplace relocs. * config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test. * write.c (adjust_reloc_syms): Don't handle relocs against SEC_MERGE section symbols specially. (fixup_segment): Likewise.
2001-11-23 * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.Alan Modra2-12/+26
Also, break out of the loop as soon as an instruction has been printed.
2001-11-23*** empty log message ***gdbadmin1-1/+1
2001-11-22daily updateAlan Modra1-1/+1
2001-11-222001-11-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-297/+401
* Makefile.in: Regenerated with automake based on automake 1.4-8 in RedHat 7.1.
2001-11-22Move SRC-POTFILES.in and BLD-POTFILES.in to maintainer-clean target.Nick Clifton2-2/+7
2001-11-22 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.Alan Modra50-1234/+715
(config.status): Delete rule. Add extra dependencies to cover sourced emulparams files. * Makefile.in: Regenerate. * scripttempl/elf.sc: Order <section>, <section>.* and corresponding linkonce sections as seen in input files. Formatting fixes. Zero vma of all sections if not relocating. (STACK): Define and insert if STACK_ADDR defined. (OTHER_RELOCATING_SECTIONS): Delete. (OTHER_END_SYMBOLS): Define. (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. (OTHER_READWRITE_SECTIONS): Likewise. (OTHER_GOT_SECTIONS): Likewise. (OTHER_SDATA_SECTIONS): Likewise. (OTHER_BSS_SECTIONS): Likewise. * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. (OTHER_READWRITE_SECTIONS): Likewise. * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. (OTHER_READWRITE_SECTIONS): Likewise * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. (STACK_ADDR): Define. * emulparams/armelf_oabi.sh: As for armelf.sh. * emulparams/elf32mcore.sh: As for armelf.sh. * emulparams/h8300elf.sh: As for armelf.sh. * emulparams/mn10200.sh: As for armelf.sh. * emulparams/shelf.sh: As for armelf.sh. * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. (OTHER_END_SYMBOLS): Define. * emulparams/m32relf.sh: As for elf32fr30.sh. * emulparams/h8300helf.sh: As for elf32fr30.sh. * emulparams/h8300self.sh: As for elf32fr30.sh. * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol defines with RELOCATING test. (OTHER_SDATA_SECTIONS): Likewise. (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. (OTHER_END_SYMBOLS): ..this. * emulparams/crislinux.sh: As for criself.sh. * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma if not relocating. (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order normal and linkonce sections as seen in input files. * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. (TEXT_DYNAMIC): Likewise. (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. (OTHER_SDATA_SECTIONS): Likewise. * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. (OTHER_PLT_RELOC_SECTIONS): Likewise. (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce sections as seen in input files. * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma if not relocating. (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. (OTHER_SECTIONS): Instead, use this.. (OTHER_END_SYMBOLS): ..and this. * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. * emulparams/elf32bsmip.sh: Likewise. * emulparams/elf32btsmip.sh: Likewise. * emulparams/elf32ebmip.sh: Likewise. * emulparams/elf32lmip.sh: Likewise. * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. * emulparams/elf32lsmip.sh: Likewise. * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. * emulparams/elf64btsmip.sh: Likewise. * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. * emulparams/elf32ppclinux.sh: Likewise. * emulparams/elf32ppcsim.sh: Likewise. * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. * emulparams/h8300self.sh: Likewise. * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. * emulparams/sh.sh: Comment. * emulparams/shl.sh: Source sh.sh, remove duplicates. * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
2001-11-22Mention 5.1 release.Andrew Cagney1-0/+4
2001-11-222001-11-21 Michael Snyder <msnyder@redhat.com>Michael Snyder5-9/+59
* gdb.asm/m32r.inc: New file. * gdb.asm/asm-source.exp: Recognize m32r target. * gdb.asm/configure.in: Recognize m32r target. * gdb.asm/configure: Regenerate.
2001-11-222001-11-20 Michael Snyder <msnyder@redhat.com>Michael Snyder5-0/+42
* gdb.asm/i386.inc: New file. * gdb.asm/asm-source.exp: Recognize ix86 target. * gdb.asm/configure.in: Recognize ix86 target. * gdb.asm/configure: Regenerate.
2001-11-22 Fix for PR gdb/209, PR gdb/156:Tom Tromey11-28/+268
* gdbarch.c, gdbarch.h: Rebuilt. * gdbarch.sh: Added `construct_inferior_arguments'. * cli/cli-decode.h (cmd_list_element): Added pre_show_hook. Typo fix. * cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook. * infcmd.c (_initialize_infcmd): Set sfunc on `set args' command. (inferior_argc, inferior_argv): New globals. (notice_args_set): New function. (set_inferior_args): Clear inferior_argc and inferior_argv. (set_inferior_args_vector): New function. (get_inferior_args): Handle inferior argument vector. (run_command): Use get_inferior_args(). (notice_args_read): New function. (_initialize_infcmd): Don't call set_inferior_args. * command.h: Typo fix. (cmd_list_element): Added pre_show_hook. * main.c (captured_main): Added --args option. (print_gdb_help): Document --args. * inferior.h (construct_inferior_arguments): Declare. (set_inferior_args_vector): Likewise. * fork-child.c (construct_inferior_arguments): New function.
2001-11-22 * gdb.texinfo (Invoking GDB): Document --args.Tom Tromey2-0/+20
(Mode Options): Likewise.
2001-11-22*** empty log message ***gdbadmin1-1/+1
2001-11-21daily updateAlan Modra1-1/+1