summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* 2003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-0414-1610/+1628
| | | | | | | | | | | | | | | | | | | | * NEWS: Mention that the mn10200-elf is obsolete. * configure.tgt: Obsolete mn10200-*-* target. * breakpoint.c (update_breakpoints_after_exec): Update comment to mention that the mn10200 is obsolete. * breakpoint.h: Ditto. * MAINTAINERS: Mark the mn10200-elf as obsolete. * config/mn10200/mn10200.mt: Obsolete file. * config/mn10200/tm-mn10200.h: Obsolete file. * mn10200-tdep.c: Obsolete file. Index: testsuite/ChangeLog 2003-02-04 Andrew Cagney <ac131313@redhat.com> * gdb.disasm/mn10200.exp: Obsolete file. * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200. * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200. * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
* 2003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-048-1116/+1130
| | | | | | | | | | * MAINTAINERS: Mark h8500 as obsolete. * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. * findvar.c (value_from_register): Ditto. * h8500-tdep.c: Mark file as obsolete. * config/h8500/h8500.mt: Ditto. * config/h8500/tm-h8500.h: Ditto. * NEWS: Mention that h8500 is obsolete.
* 2003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-043-0/+25
| | | | | | * objfiles.c (allocate_objfile): Always set name. Add comment at start of function. * jv-lang.c (get_dynamics_objfile): Add comment.
* 2003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-043-16/+13
| | | | | | | | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. * printcmd.c (build_address_symbolic): Replace uses of SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, SYMBOL_NAME, and asm_demangle. Update copyright.
* 2003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-042-17/+41
| | | | | | * linespec.c (decode_compound): Extract code into lookup_prefix_sym. (lookup_prefix_sym): New function.
* 2003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-046-16/+34
| | | | | | | | | | | | | | | * gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+. (Variables): Recommend stabs+ and DWARF 2. (C plus plus expressions): Correct info about compiler versions, debug formats. (Contributors): Change 'DWARF2' to 'DWARF 2'. PR symtab/874. 2003-02-04 David Carlton <carlton@math.stanford.edu> * gdb.c++/overload.exp: Test intToChar(1). * gdb.c++/overload.cc (intToChar): New. (main): Call intToChar.
* 2003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-042-33/+35
| | | | | | | | | * gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+. (Variables): Recommend stabs+ and DWARF 2. (C plus plus expressions): Correct info about compiler versions, debug formats. (Contributors): Change 'DWARF2' to 'DWARF 2'. PR symtab/874.
* * dwarf2read.c (dwarf2_locate_sections): When we find a macro infoJim Blandy2003-02-042-1/+7
| | | | | section, let dwarf_macinfo_section point to it, not dwarf_loc_section.
* 2003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-042-0/+33
| | | | | | From Keith Seitz <keiths@redhat.com>: * gdbmi.texinfo (GDB/MI Miscellaneous Commands): Document the interpreter-exec command.
* Pointed out by Anton Blanchard <anton@samba.org>.Daniel Jacobowitz2003-02-042-6/+32
| | | | | * ppc-linux-tdep.c (insn_is_sigreturn): New function. (ppc_linux_at_sigtramp_return_path): Use it.
* * defs.h (streq): Add prototype.Daniel Jacobowitz2003-02-0414-102/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * utils.c (streq): New function. * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. * mdebugread.c (new_symbol): Likewise. * stabsread.c (define_symbol): Likewise. * coffread.c (process_coff_symbol): Likewise. * dwarfread.c (new_symbol): Likewise. * minsyms.c (prim_record_minimal_symbol_and_info): Use SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language here. (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call SYMBOL_INIT_DEMANGLED_NAME. * objfiles.c: Include "hashtab.h". (allocate_objfile): Call htab_set_functions_ex for the demangled_names_hash. (free_objfile): Call htab_delete for the demangled_names_hash. * objfiles.h (struct htab): Add declaration. (struct objfile): Add demangled_names_hash. * symfile.c: Include "hashtab.h". (reread_symbols): Call htab_delete for the demangled_names_hash. (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting SYMBOL_NAME in the bcache. * symtab.c: Include "hashtab.h". Update comments. (create_demangled_names_hash, symbol_set_names): New functions. (symbol_find_demangled_name): New function, broken out from symbol_init_demangled_names. (symbol_init_demangled_names): Use it. * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. (SYMBOL_SET_NAMES): New macro. (symbol_set_names): Add prototype.
* 2003-02-03 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-042-13/+31
| | | | | | | * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add 'might_kfail' arg. KFAIL some of the continue_to_bp_overloaded calls, according to PR c++/1025.
* *** empty log message ***gdbadmin2003-02-041-1/+1
|
* Use a single, consistent representation for an empty minimalJim Blandy2003-02-036-4/+54
| | | | | | | | | | | | | | | | symbol table in an objfile. * objfiles.c (terminate_minimal_symbol_table): New function. (allocate_objfile): Call it. * objfiles.h (terminate_minimal_symbol_table): New declaration. (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is non-NULL. * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether objfile has minimal symbols, compare minimal_symbol_count to zero, instead of comparing msymbols with NULL. * objfiles.c (have_minimal_symbols): Same. * solib-sunos.c (solib_add_common_symbols): Call terminate_minimal_symbol_table. * symfile.c (reread_symbols): Same.
* * s390-tdep.c (s390_address_class_type_flags)Kevin Buettner2003-02-032-0/+45
| | | | | | | (s390_address_class_type_flags_to_name) (s390_address_class_name_to_type_flags): New functions. (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
* 2003-02-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-02-032-1/+5
| | | | * arm-tdep.c: Fix spell-o in comment.
* 2003-02-01 Michael Chastain <mec@shout.net>Michael Chastain2003-02-034-2/+19
| | | | | | | | * gdb.base/advance.c (marker1): New marker function. * gdb.base/advance.exp: When the 'advance' command lands on the return breakpoint, it can legitimately stop on either the current line or the next line. Accommodate both outcomes. * gdb.base/until.exp: Likewise.
* Add support for SH2E processor.Nick Clifton2003-02-032-0/+103
|
* 2003-02-03 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2003-02-033-50/+82
| | | | | | * dwarf2cfi.c (pointer_encoding): Added new parameter. * dwarf2cfi.c, dwarf2read.c: Changed all warnings and error messages to contain BFD filename.
* Forgot to mention PR numbers.Elena Zannoni2003-02-031-1/+2
|
* 2003-02-02 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-02-037-92/+133
| | | | | | | | | | | | | | | | | | | | | | | | | Fix PR gdb/742 gdb/743 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. (do_mixed_source_and_assembly): Use make_cleanup_ui_out_tuple_begin_end and make_cleanup_ui_out_tuple_begin_end. (do_mixed_source_and_assembly): Ditto. * thread.c (do_captured_list_thread_ids): Ditto. * ui-out.h (ui_out_table_begin, ui_out_list_begin, ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, ui_out_tuple_end): Delete prototypes. * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, ui_out_list_end, ui_out_tuple_end): Delete. From Kevin Buettner <kevinb@redhat.com>: * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. * ui-out.c (make_cleanup_ui_out_table_begin_end) (do_cleanup_table_end): New functions. * breakpoint.c (print_it_typical, print_one_breakpoint, mention): Use cleanups to invoke_ui_out_tuple_end(). (breakpoint_1): Use cleanup to invoke ui_out_table_end(). * cli/cli-setshow.c (cmd_show_list): Use make_cleanup_ui_out_tuple_begin_end.
* *** empty log message ***gdbadmin2003-02-031-1/+1
|
* 2003-02-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-024-25/+59
| | | | | | | | | | | | | * frame.c (frame_unwind_register): New function. (frame_unwind_unsigned_register): Use. (frame_unwind_signed_register): Use. (frame_read_register): New function. * frame.h (frame_unwind_register): Declare. (frame_read_register): Declare. * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write and frame_unwind_register instead of read_memory, write_register and deprecated_write_register_bytes.
* 2003-02-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-025-50/+99
| | | | | | | | | | | | * frame.h: Note that namelen can be negative. * frame.c (frame_map_name_to_regnum): When LEN is negative, use NAME's length. * NEWS: Mention that the d10v's `regs' command is deprecated. * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. (d10v_print_registers_info): New function. (show_regs): Call d10v_print_registers_info. (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
* * stack.c (print_frame_info): Restore call to annotate_frame_beginMark Kettenis2003-02-022-1/+8
| | | | lost in the previous patch.
* 2003-02-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-027-55/+73
| | | | | | | | | | | | | | | From 2002-11-10 Jason Molenda (jason-cl@molenda.com): * mi-cmd-var.c (mi_cmd_var_list_children): CHILDREN field is now a list; still a tuple when in mi1. * gdbmi.texinfo: Update var-list-children example. 2003-02-02 Andrew Cagney <ac131313@redhat.com> 2002-11-10 Jason Molenda (jason-cl@molenda.com): * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is now a list, not a tuple. * gdb.mi/mi-var-display.exp: Ditto. * gdb.mi/gdb792.exp: Ditto.
* 2003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-025-18/+202
| | | | | | | | | | | | | From 2002-11-09 Jason Molenda (jason-cl@molenda.com) * stack.c (print_frame_info_base): Output complete FRAME tuple for synthesized frames. 2003-02-01 Andrew Cagney <ac131313@redhat.com> From 2002-11-09 Jason Molenda (jason-cl@molenda.com): * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in stack backtraces. * gdb.mi/mi-syn-frame.c: Part of same.
* 2003-02-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-0219-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-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-025-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
* *** empty log message ***gdbadmin2003-02-021-1/+1
|
* 2003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-016-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-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-012-3/+6
| | | | | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and strlen d_name.
* 2003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-018-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.
* * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,Mark Kettenis2003-02-014-12/+12
| | | | | gdb.mi/mi1-pthreads.exp: Return instead of calling gdb_suppress_entire_file.
* 2003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-019-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.
* *** empty log message ***Mark Salter2003-02-011-0/+4
|
* Clear frame pointer, not sp.Mark Salter2003-02-011-1/+2
|
* * config/i386/tm-i386os9k.h: Removed.Mark Kettenis2003-02-012-65/+2
|
* * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.Mark Kettenis2003-02-015-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.
* * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.Mark Kettenis2003-02-013-10/+2
|
* * config/i386/i386dgux.mh: Removed.Mark Kettenis2003-02-013-11/+4
| | | | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
* * configure.in: Fix typo.Mark Kettenis2003-02-013-3/+8
| | | | * configure: Regenerated.
* Left ChangeLog entry out of last commit.David Carlton2003-02-011-0/+5
|
* 2003-01-31 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-011-0/+1
| | | | | * dwarf2read.c (dwarf2_locate_sections): Set dwarf_ranges_section.
* *** empty log message ***gdbadmin2003-02-011-1/+1
|
* 2003-01-31 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-315-12/+12
| | | | | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. * utils.c: Update comments documenting legitimate uses of PTR.
* Re-indent utils.c.Andrew Cagney2003-01-312-229/+219
|
* 2003-01-31 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-3119-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.
* * dbxread.c (stabs_data): New static variable.Daniel Jacobowitz2003-01-319-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.
* * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...Richard Henderson2003-01-315-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.