aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-09-262002-09-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-18/+34
* rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0. (rs6000_struct_return_address): Delete variable. (rs6000_store_struct_return): Update. (rs6000_gdbarch_init): Set extract_struct_value_address instead of deprecated_extract_struct_value_address. (rs6000_frame_align): New function. (rs6000_gdbarch_init): Set frame_align.
2002-09-262002-09-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+10
* mi-cmd-disas.c (dump_insns): Add text only output for CLI. (do_mixed_source_and_assembly): Ditto.
2002-09-262002-09-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-38/+163
From Grace Sainsbury <graces@redhat.com>: * Makefile.in (gdbtk-main.o): New target. (gdb.o): New target. (main_h): Define. (main.o): Update dependencies. (gdb$(EXEEXT)): Add gdb.o. (SUBDIR_GDBTK_SRCS): Add gdbtk-main.c. (SUBDIR_GDBTK_ALL, SUBDIR_GDBTK_UNINSTALL): Set. (SUBDIR_GDBTK_CLEAN): Set. (install-gdbtk): Install the insight binary. (uninstall-gdbtk): New target. (all-gdbtk, clean-gdbtk): New rule. * top.c (use_windows): Default to zero. * main.c: Include "main.h". (main): Delete. (struct captured_main_args): Delete. (gdb_main): New function. * main.h: New file. * gdb.c: New File. 2002-09-26 Andrew Cagney <ac131313@redhat.com> From Grace Sainsbury <graces@redhat.com>: * generic/gdbtk-main.c: New file.
2002-09-26*** empty log message ***gdbadmin1-1/+1
2002-09-25 * gdb.texinfo: Use GNU/Linux instead of Linux.Kevin Buettner2-3/+7
2002-09-252002-09-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney13-50/+202
* frame.c: Include "gdb_string.h" and "builtin-regs.h". (frame_map_regnum_to_name): New function. (frame_map_name_to_regnum): New function. * frame.h (frame_map_name_to_regnum): Declare. (frame_map_regnum_to_name): Declare. * builtin-regs.c (builtin_reg_map_regnum_to_name): New function. * builtin-regs.h (builtin_reg_map_regnum_to_name): Declare. * parse.c: Do not include "builtin-regs.h". (target_map_name_to_register): Delete function. (write_dollar_variable): Use frame_map_name_to_regnum. * parser-defs.h (target_map_name_to_register): Delete declaration. * expprint.c: Include "frame.h". (print_subexp): Use frame_map_regnum_to_name. * eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name. * infcmd.c (registers_info): Use frame_map_name_to_regnum. 2002-09-25 Andrew Cagney <cagney@redhat.com> * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2002-09-25 * mi-pthreads.exp (get_mi_thread_list): Check if expect_outKeith Seitz3-6/+35
exists before using it. (check_mi_and_console_threads): Likewise. * gdb669.exp (get_mi_thread_list): Likewise. (check_mi_and_console_threads): Likewise.
2002-09-252002-09-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-4/+8
* gdb.texinfo (Packets): Replace @samp{} with ``an empty string''.
2002-09-252002-09-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+16
* rs6000-tdep.c (rs6000_frame_saved_pc): If the link register wasn't saved, and the next innermost frame is a dummy, return the dummy frame's link register.
2002-09-25Fix from Paul Breed:Jim Blandy2-0/+6
* main.c (captured_main): Add a `break' after the case for 'b'.
2002-09-25*** empty log message ***gdbadmin1-1/+1
2002-09-24 * configure.in: Add config header.Keith Seitz7-17/+733
Check for pthread.h. * configure: Regenerate. * config.in: New file. * pthreads.c: New file. * mi-pthreads.exp: New file to test thread functionality. * gdb669.exp: New file.
2002-09-24 * varobj.c (c_type_of_child): Use get_target_type insteadKeith Seitz2-5/+16
of TYPE_TARGET_TYPE.
2002-09-242002-09-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+46
* gdb.gdb/complaints.exp (test_initial_complaints): Rename test_isolated_complaints. (test_empty_complaint): New function. (test_empty_complaints): New function. Check no output when no complaints.
2002-09-242002-09-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-23/+25
* gdb.texinfo: Replace @example' with @smallexample.
2002-09-24*** empty log message ***gdbadmin1-1/+1
2002-09-23*** empty log message ***gdbadmin1-1/+1
2002-09-22 * source.c (get_current_or_default_source_symtab_and_line): RemoveFernando Nasser6-38/+60
function. (set_default_source_symtab_and_line): New function. Attempts to determine a source file to list lines from if one is not currently defined. (get_current_source_symtab_and_line): Initialize sal.pc and sal.end fields. (set_current_source_symtab_and_line): Mark argument as const. * source.h: Update declarations and comments. * linespec.c (decode_line_1): Replace call to removed routine above. * stack.c (print_frame_info_base): Ditto. * cli/cli-cmds.c (edit_command): Ditto. (list_command): Ditto.
2002-09-22 * source.c (get_current_source_symtab_and_line): Initialize sal.pc andFernando Nasser4-4/+16
sal.end fields. (get_current_or_default_source_symtab_and_line): Ditto. * breakpoint.c (parse_breakpoint_sals): Use correct accessor function so we do not cause a new source symtab to be searched for (reverting an unintentional change from the 2002-09-20 patch). * scm-lang.c (scm_unpac): Ditto.
2002-09-22*** empty log message ***gdbadmin1-1/+1
2002-09-212002-09-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+39
* complaints.c (symfile_explanations): Remove new-line from ``isolated_message''. (vcomplaint): When ISOLATED_MESSAGE, force a line break. (clear_complaints): When a SUBSEQUENT_MESSAGE, force a line break.
2002-09-21NEWS: Announce that V850EA ISA is no longer supported.Nick Clifton3-4/+9
v850-tdep.c: Remove reference to bfd_mach_v850ea.
2002-09-212002-09-20 Kevin Buettner <kevinb@redhat.com>Kevin Buettner2-0/+260
From Eli Zaretskii <eliz@is.elta.co.il>: * gdb.texinfo (Character Sets): Use @smallexample instead of @example. Use GNU/Linux instead of Linux. 2002-09-20 Jim Blandy <jimb@redhat.com> * gdb.texinfo: Add character set documentation.
2002-09-21*** empty log message ***gdbadmin1-1/+1
2002-09-202002-09-20 David Carlton <carlton@math.stanford.edu>David Carlton2-6/+6
* Makefile.in (c-lang.o): Correct dependencies. (utils.o): Gather dependencies. (charset.o): Move.
2002-09-202002-09-20 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+5
* c-lang.c: #include "gdb_string.h"
2002-09-20 From 2002-07-02 George Helffrich <george@gly.bris.ac.uk>Fernando Nasser3-4/+91
* cli/cli-cmds.c (list_command): New function. Implements the new cli edit command. (_init_cli_cmds): Add new command definition. * gdb.1: Document edit command. * doc/gdb.texinfo: Document edit command.
2002-09-20 * source.c: Make global variables current_source_symtab andFernando Nasser13-243/+561
current_source_line static. (list_command): Moved to cli/cli-cmds.c. (ambiguous_line_spec): Moved to cli/cli-cmds.c. (get_first_line_listed): New accessor function. (get_lines_to_list): New accessor function. (get_current_source_symtab_and_line): New function. Retrieves the position in the source code that we consider current. (get_current_or_default_source_symtab_and_line): New function. Like the above but attempts to determine a default position if one is not currently defined. (set_current_source_symtab_and_line): New function. Sets the source code position considered current and returns the previously set one. (clear_current_source_symtab_and_line): Reset stored information about a current source line. (_initialize_source): Remove registration for the "list" command and its alias. * source.h: Add declarations for the new functions above. * symtab.h: Remove declarations for the global variables mentioned above. * breakpoint.c (parse_breakpoint_sals): Use accessor functions to obtain current source line. * linespec.c (decode_line_1): Ditto. * macroscope.c (default_macro_scope): Ditto. * scm-lang.c (scm_unpac): Ditto. * stack.c (print_frame_info_base): Ditto. * symfile.c (clear_symtab_users): Ditto. * symtab.c (decode_line_spec): Ditto. * cli/cli-cmds.c (list_command): Moved here from source.c. (ambiguous_line_spec): Moved here from source.c. (_init_cli_cmds): Add definition for "list" and its alias. * Makefile.in: Update dependencies.
2002-09-20 * h8300-tdep.c (h8300_examine_prologue): Match saved regs locationCorinna Vinschen2-3/+8
with what gcc thinks is correct.
2002-09-20 * h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs inCorinna Vinschen2-1/+6
multiple register push instruction.
2002-09-20Add new tests for charset support.Kevin Buettner3-0/+621
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.