aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-02-022003-02-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney19-65/+100
* mips-nat.c (zerobuf): Delete. (fetch_inferior_registers): Alloc local zerobuf. (fetch_core_registers): Alloc local zerobuf. * d10v-tdep.c (show_regs): Don't allocate a dynamic array using MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. * thread-db.c (thread_db_store_registers): Ditto. * sh-tdep.c (sh_do_register): Ditto. * rom68k-rom.c (rom68k_supply_one_register): Ditto. * remote-sim.c (gdbsim_store_register): Ditto. * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. * remote-e7000.c (fetch_regs_from_dump): Ditto. * monitor.c (monitor_supply_register): Ditto. * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. * mips-nat.c (fetch_inferior_registers): Ditto. * m68klinux-nat.c (fetch_register): Ditto. * lynx-nat.c (fetch_inferior_registers): Ditto. (fetch_inferior_registers): Ditto. * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. * hpux-thread.c (hpux_thread_fetch_registers): Ditto. (hpux_thread_store_registers): Ditto. * hppah-nat.c (fetch_register): Ditto. * hppab-nat.c (fetch_register): Ditto. * hppa-tdep.c (pa_register_look_aside): Ditto. (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2003-02-022003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-43/+54
* gdbarch.sh: Explictly specify all method levels. When a variable with an empty level, provide a non-multi-arch default. (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. * gdbarch.h: Re-generate. * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2003-02-02*** empty log message ***gdbadmin1-1/+1
2003-02-012003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-30/+66
* defs.h (host_pointer_to_address): Delete declaration. (address_to_host_pointer): Delete declaration. * utils.c (host_pointer_to_address): Delete function. (address_to_host_pointer): Delete function. * procfs.c (procfs_address_to_host_pointer): New function. * procfs.c (proc_set_watchpoint): Use. (procfs_can_use_hw_breakpoint): Update comments. * somsolib.c (hpux_address_to_host_pointer_hack): New function. (som_solib_add): Use. * hppa-tdep.c (hppa_pointer_to_address_hack): New function. * hppa-tdep.c (unwind_command): Use.
2003-02-012003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-3/+6
* gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and strlen d_name.
2003-02-012003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-185/+32
* main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. (define_symbol): Update. * symfile.c (generic_load): Remove references to nindy. * symtab.c: Remove references to nindy. Index: doc/ChangeLog 2003-02-01 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete description of ADDITIONAL_OPTIONS, ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HANDLER, and ADDITIONAL_OPTION_HELP, and BEFORE_MAIN_LOOP_HOOK, and DBX_PARM_SYMBOL_CLASS along with references to nindy and i960. * gdb.texinfo (i960): Delete all references to i960 and nindy.
2003-02-01* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,Mark Kettenis4-12/+12
gdb.mi/mi1-pthreads.exp: Return instead of calling gdb_suppress_entire_file.
2003-02-012003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney9-43/+26
* infcmd.c (print_float_info): Delete code conditional on FLOAT_INFO. * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. * config/m68k/nm-apollo68b.h: Ditto. * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. Index: doc/ChangeLog 2003-02-01 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete FLOAT_INFO.
2003-02-01*** empty log message ***Mark Salter1-0/+4
2003-02-01Clear frame pointer, not sp.Mark Salter1-1/+2
2003-02-01* config/i386/tm-i386os9k.h: Removed.Mark Kettenis2-65/+2
2003-02-01* configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.Mark Kettenis5-40/+8
Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since they're identical to i[3456]86-*-sysv* now. * config/i386/i386v32.mh: Removed. * config/i386/xm-i386v32.h: Removed. * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2003-02-01* config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.Mark Kettenis3-10/+2
2003-02-01* config/i386/i386dgux.mh: Removed.Mark Kettenis3-11/+4
* configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2003-02-01* configure.in: Fix typo.Mark Kettenis3-3/+8
* configure: Regenerated.
2003-02-01Left ChangeLog entry out of last commit.David Carlton1-0/+5
2003-02-012003-01-31 David Carlton <carlton@math.stanford.edu>David Carlton1-0/+1
* dwarf2read.c (dwarf2_locate_sections): Set dwarf_ranges_section.
2003-02-01*** empty log message ***gdbadmin1-1/+1
2003-01-312003-01-31 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-12/+12
* objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. * utils.c: Update comments documenting legitimate uses of PTR.
2003-01-31Re-indent utils.c.Andrew Cagney2-229/+219
2003-01-312003-01-31 Andrew Cagney <ac131313@redhat.com>Andrew Cagney19-3880/+25
* config/djgpp/fnchange.lst: Delete nindy files. * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. * nindy-share/nindy.c, nindy-share/env.h: Delete files. * nindy-share/coff.h, nindy-share/block_io.h: Delete files. * nindy-share/b.out.h, nindy-share/VERSION: Delete files. * nindy-share/README, nindy-share/Onindy.c: Delete files. * nindy-tdep.c, nindy-share/Makefile: Delete files. * Makefile.in (init.c): Remove nindy references. (saber_gdb): Delete rule. (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, and a68v-nat.c. (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and nindy-share/stop.h. * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. * saber.suppress: Delete file.
2003-01-31 * dbxread.c (stabs_data): New static variable.Daniel Jacobowitz9-30/+199
(fill_symbuf): Support an in-memory buffer for stabs data. (stabs_seek): New function. (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. (read_ofile_symtab): Use stabs_seek. (elfstab_build_psymtabs): Take an asection* instead of an offset and size. Relocate the stabs data if necessary. Save the section* for dbx_psymtab_to_symtab. * dwarf2read.c: Add section variables for each debug section. (dwarf2_locate_sections): Fill them in. (dwarf2_read_section): Take an asection* argument. Relocate the section contents if necessary. (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. * dwarf2cfi.c (parse_frame_info): Take a section argument and pass it to dwarf2_read_section. (dwarf2_build_frame_info): Update callers. * elfread.c (elf_symfile_read): Update call to elfstab_build_psymtabs. * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. (DBX_STAB_SECTION): New macro. * stabsread.h (elfstab_build_psymtabs): Update prototype. * symfile.c (symfile_dummy_outputs): New function. (symfile_relocate_debug_section): New function. * symfile.h (symfile_relocate_debug_section): Add prototype.
2003-01-31 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...Richard Henderson5-14/+39
(register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. * alpha-tdep.c (alpha_register_name): Add "unique". * alpha-tdep.h (ALPHA_NUM_REGS): Increment. (ALPHA_UNIQUE_REGNUM): New. * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2003-01-312003-01-31 Andrew Cagney <ac131313@redhat.com>Andrew Cagney9-2076/+15
* README: Remove reference to Ericsson 1800 monitor. * Makefile.in (remote-es.o): Delete rule. (ALLDEPFILES): Delete remote-es.c. * remote-es.c: Delete file. * config/m68k/es1800.mt: Delete file. * config/djgpp/fnchange.lst: Update. * configure.tgt: Delete m68*-ericsson-* target.
2003-01-31* infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.Adam Fedor2-12/+15
Remove duplicate/shadowing variable of same name.
2003-01-31*** empty log message ***Mark Salter1-0/+5
2003-01-31Support remote targets.Mark Salter1-0/+27
2003-01-312003-01-30 Michael Chastain <mec@shout.net>Michael Chastain2-3/+6
* lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL. This was a workaround for a UTF-8 bug in readline 4.3. The bug has been fixed in gdb/readline on 2003-01-09.
2003-01-31*** empty log message ***gdbadmin1-1/+1
2003-01-30* symfile.c (find_separate_debug_file): Assert that the objfile'sJim Blandy2-2/+11
directory name we compute ends with a slash, and then assume that that's so everywhere we use it.
2003-01-30 * valops.c (value_assign): Flush frame cache after stores to memoryDaniel Jacobowitz2-26/+43
also.
2003-01-302003-01-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-264/+5
* Makefile.in (mon960-rom.o): Delete rule. * mon960-rom.c: Delete file.
2003-01-302003-01-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-5/+21
* stabs.texinfo (Member Type Descriptor): Clarify description of `@'. Suggested by Ben Hutchings.
2003-01-302003-01-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-186/+263
* d10v-tdep.c: Include "frame-unwind.h". (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate list. (next_addr, uses_frame): Delete. (struct d10v_unwind_cache): Define. (prologue_find_regs): Add struct d10v_unwind_cache info parameter. Use info instead of next_addr and uses_frame globals. (d10v_frame_init_saved_regs): Delete function. (d10v_init_extra_frame_info): Delete function. (d10v_gdbarch_init): Do not initialize init_extra_frame_info, frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, init_frame_pc or frame_saved_pc. (d10v_pop_frame): Delete function. (do_d10v_pop_frame): Delete function. (d10v_frame_chain): Delete function. (d10v_frame_chain_valid): Delete function. (d10v_frame_pc_unwind): New function. (d10v_frame_id_unwind): New function. (saved_regs_unwinder): New function. (d10v_frame_register_unwind): New function. (d10v_frame_pop): New function. (d10v_frame_unwind): New variable. (d10v_frame_p): New function. (d10v_frame_saved_pc): Delete function. * Makefile.in (d10v-tdep.o): Update dependencies.
2003-01-30 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undefJoel Brobecker2-1/+6
causing some regressions due to a change in the default value for this macro.
2003-01-30 Fix PR gdb/961.Daniel Jacobowitz2-23/+219
* dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New variables. (RANGES_SECTION): New. (dwarf_ranges_buffer): New variable. (struct comp_unit_head): Add member "die". (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. (dwarf2_locate_sections): Likewise. (dwarf2_build_psymtabs): Read .debug_ranges. (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. Look for DW_AT_ranges and return the bounding box.
2003-01-30remove conflict markerChristopher Faylor1-1/+0
2003-01-30* win32-nat.c (cygwin_pid): Removed as unused.Christopher Faylor3-64/+88
(child_attach): Try fall back to Cygwin pid.
2003-01-30*** empty log message ***gdbadmin1-1/+1
2003-01-29* objfiles.h (struct objfile): Doc fix.Jim Blandy2-1/+6
2003-01-292003-01-29 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+10
* gdb.base/args.exp: Skip if target does not support args passing.
2003-01-292003-01-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-9/+101
* frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. (legacy_get_prev_frame): Assert FRAME_CHAIN_P. (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. (FRAME_SAVED_PC): Change to a function with predicate. * gdbarch.h, gdbarch.c: Re-generate.
2003-01-292003-01-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-4/+55
* gdb.texinfo (Maintenance Commands): Document `maint print reggroups' and `maint print register-groups'. * gdbint.texinfo (Target Architecture Definition): Document register_reggroup_p.
2003-01-292003-01-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+3
* hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2003-01-29*** empty log message ***gdbadmin1-1/+1
2003-01-282003-01-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-48/+6
* complaints.c (complain): Delete function. * complaints.h (struct deprecated_complaint): Delete definition. (complain): Delete declaration.
2003-01-28 * mips-tdep.c (mips_init_extra_frame_info): Return early forKevin Buettner2-1/+10
dummy frames.
2003-01-28*** empty log message ***gdbadmin1-1/+1
2003-01-272003-01-27 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-131/+327
* sentinel-frame.h, sentinel-frame.c: New files. * Makefile.in (frame.o): Update dependencies. (SFILES): Add sentinel-frame.c. (sentinel_frame_h): Define. (COMMON_OBS): Add sentinel-frame.o. (sentinel-frame.o): Specify dependencies. * frame.c: Include "sentinel-frame.h". (frame_register_unwind): Rewrite assuming that there is always a a ->next frame. (frame_register, generic_unwind_get_saved_register): Ditto. (frame_read_unsigned_register, frame_read_signed_register): Ditto. (create_sentinel_frame, unwind_to_current_frame): New functions. (get_current_frame): Rewrite using create_sentinel_frame and unwind_to_current_frame. When possible, always create a frame. (create_new_frame): Set next to the sentinel frame. (get_next_frame): Rewrite. Don't go below the level 0 frame. (deprecated_update_frame_pc_hack): Update the next frame's PC and ID cache when necessary. (frame_saved_regs_id_unwind): Use frame_relative_level. (deprecated_generic_get_saved_register): Use frame_relative_level, get_frame_saved_regs, get_frame_pc, get_frame_base and get_next_frame. (frame_saved_regs_register_unwind): Use get_frame_saved_regs and frame_register.
2003-01-27 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.Daniel Jacobowitz2-0/+5