aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-09-20Add support for distinct host and target character sets.Kevin Buettner11-484/+2264
2002-09-20*** empty log message ***gdbadmin1-1/+1
2002-09-192002-09-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-18/+121
* gdb.texinfo (Packets): Revise `z' and `Z' packet documentation. (Packets): Add cross reference from `b' packet to `z' packets.
2002-09-192002-09-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+27
* gdb.texinfo (Maintenance Commands): Document ``maint internal-error'' and ``maint internal-warning''.
2002-09-192002-09-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+30
* gdbint.texinfo (Target Architecture Definition): Revise description of STACK_ALIGN. Add description of FRAME_ALIGN.
2002-09-192002-09-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+286
* gdb.gdb/complaints.exp: New file.
2002-09-19 * ada-exp.y: Add missing semicolons to end rules. Fixes aJoel Brobecker2-1/+8
bison 1.35 warning.
2002-09-19 * gdbint.texinfo (Target Conditionals): Document the newJoel Brobecker2-0/+11
NAME_OF_MALLOC macro.
2002-09-19Add missing ".Richard Earnshaw1-1/+1
2002-09-19* gdb_mbuild.sh: New file.Richard Earnshaw2-0/+157
2002-09-19Credit Apple and AdamF for their part in the objective C patches.Andrew Cagney1-0/+3
2002-09-19Fix (C) and credit Michael Snyder with objc-lang.c.Andrew Cagney4-39/+50
2002-09-19Revert previous change. Not obvious.Andrew Cagney20-247/+55
2002-09-192002-09-18 Michael Snyder <msnyder@redhat.com>Michael Snyder21-184/+446
Preliminary support for Objective-C: * defs.h (language_objc): New enum value. (puts_filtered_tabular): Declaration only, exported from utils.c. (skip_quoted): Delete, declared in completer.h. * c-exp.y: Include completer.h. * p-exp.y: Ditto. * jv-exp.y: Ditto. * expression.h (OP_MSGCALL, OP_SELECTOR, OP_SELF, OP_NSSTRING): New operator enum values. * language.h (CAST_IS_CONVERSION): Test for language_objc. * language.c (binop_result_type): Handle language_objc case. (integral_type, character_type, string_type, boolean_type, structured_type, binop_type_check): Ditto. * symtab.h (SYMBOL_OBJC_DEMANGLED_NAME): Define. (struct objc_specific): Add to general_symbol_info. (SYMBOL_INIT_LANGUAGE_SPECIFIC): Add objc initialization. (SYMBOL_DEMANGLED_NAME): Handle objc case. * parser-defs.h (struct objc_class_str): New struct type. (start_msglist, end_msglist, add_msglist): Declaration only, exported from objc-lang.c. * value.h (value_of_local, value_nsstring, call_function_by_hand_expecting_type): Exported from valops.c. * valops.c (find_function_addr): Export. (call_function_by_hand_expecting_type): New function. (value_of_local): New function. * symfile.c (init_filename_language_table): Add ".m" extension for Objective-C. * utils.c (puts_filtered_tabular): New function. (fprintf_symbol_filtered): Add objc demangling support (disabled). (set/show demangle): Extend help-string to refer to ObjC. * elfread.c (elf_symtab_read): Skip Objective-C special symbols. * stabsread.c (symbol_reference_defined): Objective-C symbols may contain colons: make allowances when scanning stabs strings for colons. (objc_find_colon): New function. * printcmd.c (address_info): If language == objc then print "self" instead of "this". * parse.c (length_of_subexp): Handle new operators OP_MSGCALL, OP_NSSTRING, and OP_SELF. (prefixify_subexp): Ditto. * source.c (print_source_lines): Mention objc in comment. * breakpoint.c (parse_breakpoint_sals): Recognize Objective-C method names.
2002-09-192002-09-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-136/+302
* complaints.h: Update copyright. (struct complaints): Declare. (struct complaint): Make `message' constant. (internal_complaint): Declare. (complaint): Declare. (complaint_root): Delete declaration. (symfile_complaints): Delete declaration. (struct complaints): Add opaque declaration. (clear_complaints): Add a complaints parameter. * complaints.c: Update copyright. (enum complaint_series): Define. (complaint_root): Delete. (struct complaints): Define. (complaint_sentinel, symfile_complaint_book): New variables. (symfile_explanations, symfile_complaints): New variables. New variables. (get_complaints): New function. (vcomplaint): New function. (complaint): New function. (internal_complaint): New function. (complain): Call vcomplain with symfile_complaint. (clear_complaints): Rewrite. (_initialize_complaints): Use add_setshow_command. * Makefile.in (complaints.o): Update dependencies. * symfile.c (syms_from_objfile): Add symfile_complaints parameter to call to clear_complaints. (new_symfile_objfile, reread_symbols): Ditto. (oldsyms_complaint): Delete. (empty_symtab_complaint, unknown_option_complaint): Delete. (free_named_symtabs): Use complaint instead of complain.
2002-09-192002-09-18 Michael Snyder <msnyder@redhat.com>Michael Snyder3-289/+339
* objc-lang.c: First clean-up round: comments, indentation. * objc-lang.h: Ditto. * objc-lang.y: Ditto.
2002-09-19*** empty log message ***gdbadmin1-1/+1
2002-09-182002-09-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-23/+151
* maint.c (maintenance_internal_error): Print the parameter as the error message. (maintenance_internal_warning): New function. (_initialize_maint_cmds): Add command `maint internal-warning'. * defs.h (internal_warning, internal_vwarning): Declare. * utils.c (struct internal_problem): Define. (internal_vproblem): New function. (internal_warning): New function. (internal_vwarning): New function. (internal_warning_problem, internal_error_problem): New variables. (internal_verror): Just call internal_vproblem. Index: testsuite/ChangeLog 2002-09-18 Andrew Cagney <ac131313@redhat.com> * gdb.base/maint.exp: Check `help maint internal-warning'.
2002-09-182002-09-18 Michael Snyder <msnyder@redhat.com>Michael Snyder4-0/+3797
* objc-lang.c: New file, support for Objective-C. Preliminary check-in, not yet integrated into gdb. * objc-lang.h: New file. * objc-exp.y: New file.
2002-09-182002-09-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-10/+9
* infrun.c (signal_stop_update): Convert definition to ISO C. (signal_print_update): Ditto. (signal_pass_update): Ditto. * inflow.c (terminal_save_ours): Ditto.
2002-09-182002-09-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+5
* h8300-tdep.c (h8300_gdbarch_init): Use C instead of C++ comments.
2002-09-182002-09-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+8
* config/djgpp/fnchange.lst: Handle name clashes between bfd/coff-tic30.c, bfd/coff-tic4x.c, bfd/coff-tic54x.c and bfd/coff-tic80.c.
2002-09-18Fix GNU/Linux tipo.Andrew Cagney2-3/+7
2002-09-18Add myself to the Write After Approval list.Adam Fedor2-0/+5
2002-09-18* dbxread.c, mdebugread.c: Revert my change of 2001-10-23. MovingJim Blandy3-103/+64
texthigh and textlow to reader-specific structs caused objfile_relocate to miss them. This is fixable, but the work that the change was supposed to prepare GDB for never got done anyway.
2002-09-182002-09-18 David Carlton <carlton@math.stanford.edu>David Carlton9-8/+242
* gdb.c++/m-static.exp: Remove breakpoints depending on line numbers, and replace them by a single breakpoint after the constructors are all finished. Add test 4. * gdb.c++/m-static.cc: Add test 4. * gdb.c++/m-static.h: New file. * gdb.c++/m-static1.cc: New file. * gdb.c++/printmethod.exp: New file. * gdb.c++/printmethod.cc: New file. * gdb.c++/pr-574.exp: New file. * gdb.c++/pr-574.cc: New file.
2002-09-182002-09-18 David Carlton <carlton@math.stanford.edu>David Carlton2-4/+8
* MAINTAINERS: Alphabetize Write After Approval list.
2002-09-18 * gdb.base/ending-run.exp: Add handling of "step to end of run" forCorinna Vinschen2-0/+8
embedded targets which never actually exit.
2002-09-18 * gdb.base/ending-run.exp: Properly mark "continue after exit" andFernando Nasser2-3/+32
"don't step after run" as unresolved or unsupported, instead of xfail.
2002-09-18 * gdb.base/ending-run.exp: Fix expected string for _wrap_main toCorinna Vinschen2-2/+9
allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c. Add newline to expected string in "step out of main (status wrapper)" case.
2002-09-18 Fix PR gdb/709Daniel Jacobowitz2-27/+24
* values.c (value_static_field): Call read_var_value.
2002-09-182002-09-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-18/+153
* valops.c (hand_function_call): Align the initial stack pointer and STRUCT_ADDR using frame_align. When STRUCT_RETURN and FRAME_ALIGN_P, use STRUCT_ADDR to obtain the called function's return value. * mips-tdep.c (mips_frame_align): New function. (mips_gdbarch_init): Set frame_align. * gdbarch.sh (FRAME_ALIGN): New method. * gdbarch.h, gdbarch.c: Re-generate.
2002-09-18 * lib/gdb.exp (rerun_to_main): Allow restarting application.Corinna Vinschen3-24/+9
* gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2002-09-182002-09-18 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-1/+6
* x86-64-linux-nat.c (x86_64_regmap): Added CS and SS registers.
2002-09-18*** empty log message ***gdbadmin1-1/+1
2002-09-172002-09-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-26/+46
* NEWS: Mention that MIPS $fp behavior changed. * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register): Delete reference to FP_REGNUM. (mipsnbsd_cannot_store_register): Ditto. * mips-linux-nat.c: Update copyright. (mips_linux_cannot_fetch_register): Delete reference to FP_REGNUM. (mips_linux_cannot_store_register): Ditto. * mips-linux-tdep.c (supply_gregset): Ditto. Update copyright. * config/mips/tm-mips.h: Update copyright. (FP_REGNUM): Delete macro. (MIPS_REGISTER_NAMES): Replace "fp" with "". * config/mips/tm-irix6.h (FP_REGNUM): Delete macro. * mips-tdep.c (mips_gdbarch_init): Set read_fp to mips_read_sp. (mips_r3041_reg_names, mips_r3051_reg_names) (mips_r3081_reg_names): Replace "fp" with "". Fix PR gdb/480.
2002-09-17* gdb/avr-tdep.c(avr_scan_prologue): Fix bad call toTheodore A. Roth2-8/+11
generic_read_register_dummy() (PR gdb/703). (avr_push_return_address): #if 0 out unused vars. (avr_gdbarch_init): Enable use of avr_push_return_address().
2002-09-17Fix thinko: m32r, not mips!Michael Snyder1-1/+1
2002-09-172002-09-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+6
* mips-stub.c (restore_and_return): Postpone restoring of PSW. RTE will take care of it.
2002-09-172002-09-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+18
* arch-utils.c (legacy_virtual_frame_pointer): If FP_REGNUM is invalid, return SP_REGNUM.
2002-09-17fix date.Andrew Cagney1-1/+1
2002-09-172002-08-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-7/+20
* mips-tdep.c (mips_pop_frame): Read saved values of floating point registers without sign extension.
2002-09-17 * mi-var-cmd.exp: Add tests to check when varobj pinned to aKeith Seitz2-0/+34
selected frame changes type.
2002-09-172002-09-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney18-56/+147
* h8300-tdep.c (h8300_frame_chain): (h8300_frame_saved_pc): * blockframe.c (deprecated_read_register_dummy): Rename generic_read_register_dummy. * frame.c (frame_unwind_signed_register): New function. (frame_unwind_unsigned_register): New function. * frame.h (frame_unwind_signed_register): Declare. (frame_unwind_unsigned_register): Declare. (deprecated_read_register_dummy): Rename generic_read_register_dummy. * xstormy16-tdep.c (xstormy16_frame_saved_pc): Update. * rs6000-tdep.c (rs6000_frame_saved_pc): Update. * s390-tdep.c (s390_frame_saved_pc_nofix): Update. (s390_frame_chain): Update. * v850-tdep.c (v850_find_callers_reg): Update. (v850_frame_saved_pc): Update. * m32r-tdep.c (m32r_init_extra_frame_info): Update. (m32r_find_callers_reg): Update. (m32r_frame_saved_pc): Update. * sh-tdep.c (sh_find_callers_reg): Update. (sh64_get_saved_pr): Update. (sh_init_extra_frame_info): Update. (sh_init_extra_frame_info): Update. (sh64_init_extra_frame_info): Update. (sh64_init_extra_frame_info): Update. * mcore-tdep.c (mcore_find_callers_reg): Update. (mcore_frame_saved_pc): Update. (mcore_init_extra_frame_info): Update. * i386-tdep.c (i386_frame_saved_pc): Update. * ia64-tdep.c (ia64_frame_saved_pc): Update. (ia64_init_extra_frame_info): Update. (ia64_init_extra_frame_info): Update. * d10v-tdep.c (d10v_frame_saved_pc): Update. * cris-tdep.c (cris_init_extra_frame_info): Update. * avr-tdep.c (avr_frame_chain): Update. (avr_init_extra_frame_info): Update. (avr_frame_saved_pc): Update. * arm-tdep.c (arm_find_callers_reg): Update. (arm_init_extra_frame_info): Update. (arm_frame_saved_pc): Update.
2002-09-17 * mi-console.exp: Update copyright.Keith Seitz9-8/+19
* mi-var-block.exp: Likewise. * mi-var-cmd.exp: Likewise. * mi-var-display.exp: Likewise. * mi0-console.exp: Likewise. * mi0-var-child.exp: Likewise. * mi0-var-cmd.exp: Likewise. * mi0-var-display.exp: Likewise.
2002-09-17 * c-lang.c (c_emit_char): Don't treat \0 specially unless quoterTom Tromey2-3/+11
is "'".
2002-09-17 * gdb.base/printcmds.exp (test_print_string_constants): ExpectTom Tromey2-1/+6
\000, not \0, in double-quoted string.
2002-09-17 * MAINTAINERS: Remove "non multi-arched" text from h8300.Corinna Vinschen3-12/+19
* h8300-tdep.c (h8300_next_prologue_insn) Renamed from NEXT_PROLOGUE_INSN. (h8300_examine_prologue): Call h8300_next_prologue_insn instead of NEXT_PROLOGUE_INSN.
2002-09-17 * osfsolib.c: Remove file, replaced by solib-osf.c.Joel Brobecker3-941/+5
* Makefile.in: Remove compilation rules for osfsolib.c.
2002-09-17*** empty log message ***gdbadmin1-1/+1