Commit Graph

12730 Commits

Author SHA1 Message Date
gdbadmin 1cb4e68cb8 *** empty log message *** 2002-10-17 00:00:32 +00:00
Adam Fedor 1aeae86e76 (parse_breakpoint_sals): Ignore ObjC method
names when matching breakpoints in current file.
2002-10-16 23:25:32 +00:00
Kevin Buettner 8b2dbe47f3 Address class support. 2002-10-16 20:50:22 +00:00
Klee Dienes 74451869f4 2002-10-16 Klee Dienes <kdienes@apple.com>
* stabsread.c (read_tilde_fields): Use name[sizeof(vptr_name)-2]
        to get the last character of a char[] buffer, not
        name[sizeof(vptr_name)-1].
2002-10-16 17:36:44 +00:00
gdbadmin 0addf23c25 *** empty log message *** 2002-10-16 00:00:02 +00:00
Adam Fedor ff4cb3e841 New objc_specific struct.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Handle ObjC.
(SYMBOL_DEMANGLED_NAME): Likewise.
2002-10-15 02:50:56 +00:00
Adam Fedor da2cf7e093 (init_filename_language_table): Add ObjC file extension. 2002-10-15 02:42:32 +00:00
Adam Fedor 4a351cef15 utils.c (puts_filtered_tabular): New function.
(fprintf_symbol_filtered): Get ObjC demangled name.
defs.h (puts_filtered_tabular): Declared.
2002-10-15 02:16:51 +00:00
gdbadmin e5df0b1fcb *** empty log message *** 2002-10-15 00:00:03 +00:00
Kevin Buettner 9750e763c1 * c-lang.h (c_type_print_varspec_prefix): Delete.
* c-typeprint.c (c_type_print_varspec_prefix): Make static.  Add
	``need_post_space'' parameter.  Adjust all callers.
2002-10-14 22:58:28 +00:00
Daniel Jacobowitz eee771c194 * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Define to 1.
* config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
        * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
        * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
2002-10-14 20:46:59 +00:00
Adam Fedor 46c82446e1 source.c (print_source_lines): Update comments. 2002-10-14 02:12:04 +00:00
Adam Fedor d069f99d46 valops.c (value_of_local): New function.
(value_of_this): Use it.
value.h (value_of_local): Declared.
2002-10-14 02:02:42 +00:00
Adam Fedor 53c551b7ca parse.c: (length_of_subexp, prefixify_subexp): Handle
OP_MSGCALL, OP_SELECTOR, OP_NSSTRING, and OP_SELF.
2002-10-14 01:50:44 +00:00
gdbadmin f9072f4138 *** empty log message *** 2002-10-14 00:01:02 +00:00
gdbadmin 98db497e71 *** empty log message *** 2002-10-13 00:00:33 +00:00
Adam Fedor eb392fbf33 language.c (binop_result_type): Add language_objc to case.
(integral_type): Likewise.
(character_type): Likewise.
(string_type): Likewise.
(boolean_type): Likewise.
(structured_type): Likewise.
(binop_type_check): Likewise.
2002-10-12 16:03:30 +00:00
Adam Fedor e2b23ee922 printcmd.c (address_info): Print 'self' for ObjC. 2002-10-12 03:06:01 +00:00
Adam Fedor b01ab485c7 expression.h: New ops OP_NSSTRING, OP_SELECTOR, OP_MSGCALL, and OP_SELF. 2002-10-12 02:43:48 +00:00
Adam Fedor 806e607347 language.h (CAST_IS_CONVERSION): Add language_objc. 2002-10-12 02:39:12 +00:00
Adam Fedor 50f85cdfcf defs.h (enum language): Add language_objc. 2002-10-12 02:28:22 +00:00
Klee Dienes 0d540cdfe7 2002-10-11 Klee Dienes <kdienes@apple.com>
* findvar.c (read_memory_typed_address): New function.
        * gdbcore.h (read_memory_typed_address): Add prototype.
        * blockframe.c (sigtramp_saved_pc): Use read_memory_typed_address
        to read a value destined for a CORE_ADDR, not read_memory_integer.
        * f-valprint.c (f77_get_dynamic_upperbound): Ditto.
        (f77_get_dynamic_lowerbound): Ditto.
2002-10-12 01:48:17 +00:00
gdbadmin 6fc1847b56 *** empty log message *** 2002-10-12 00:00:02 +00:00
Martin Hunt d5dc79609d 2002-10-11 Martin M. Hunt <hunt@redhat.com>
* utils.c (string_to_core_addr): After turning string into
	a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS
	which will do necessary sign-extension, etc.
2002-10-11 17:50:10 +00:00
Klee Dienes c85508ee3c 2002-10-11 Klee Dienes <kdienes@apple.com>
* gdb.texinfo (Registers): Mention vector registers as well as
        floating registers in the documentation for 'info registers' and
        'info all-registers'.
2002-10-11 16:13:15 +00:00
Daniel Jacobowitz 8343f86c90 * c-exp.y (THIS): Delete token and grammar rule.
(yylex): Don't return THIS.
        * cp-valprint.c (vtbl_ptr_name_old): Delete.
        (cp_is_vtbl_ptr_type): Don't check vtbl_ptr_name_old.
        * demangle.c (cplus_markers): Update comment.  Put '$'
        first.  Remove CPLUS_MARKER.
        (_initialize_demangler): Don't call set_cplus_marker_for_demangling.
        * jv-exp.y (THIS): Delete token and grammar rule.
        (yylex): Don't return THIS.
        * mips-tdep.c (mips_dump_tdep): Don't dump CPLUS_MARKER.
        * objc-exp.y (THIS): Delete token and grammar rule.
        (yylex): Don't return THIS.
        * p-exp.y (yylex): Remove reference to CPLUS_MARKER.
        * stabsread.c (vptr_name, vb_name): Replace CPLUS_MARKER with '$'.
        (read_member_functions): Likewise for opname.
        (read_tilde_fields): Use is_cplus_marker.

        * defs.h (CPLUS_MARKER): Don't define.
        * config/tm-sysv4.h (CPLUS_MARKER): Likewise.
        * config/i386/xm-i386sco.h (CPLUS_MARKER): Likewise.
        * config/mips/tm-irix3.h (CPLUS_MARKER): Likewise.
        * config/mips/tm-irix6.h (CPLUS_MARKER): Likewise.
        * config/rs6000/tm-rs6000.h (CPLUS_MARKER): Likewise.

        * config/i386/tm-i386v4.h: Delete file.
        * config/djgpp/fnchange.lst: Delete tm-i386v4.h.
        * config/i386/tm-i386sol2.h: Include "i386/tm-i386.h" instead.
        * config/i386/tm-i386v42mp.h: Include "i386/tm-i386.h" instead.
        * config/i386/tm-ptx.h: Include "i386/tm-i386.h" instead.
        * config/i386/i386gnu.mt (TM_FILE): Use tm-i386.h.
        * config/i386/i386sco5.mt (TM_FILE): Likewise.
        * config/i386/i386v4.mt (TM_FILE): Likewise.
        * config/i386/ncr3000.mt (TM_FILE): Likewise.
2002-10-11 14:02:39 +00:00
Daniel Jacobowitz 6d12fc3d08 * gdbint.texinfo (CPLUS_MARKER): Remove item. 2002-10-11 14:01:04 +00:00
gdbadmin cf4e23066f *** empty log message *** 2002-10-11 00:00:02 +00:00
Marko Mlinar 967c0d836c Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C 2002-10-10 07:41:37 +00:00
gdbadmin 6bfb5a1c9d *** empty log message *** 2002-10-10 00:00:32 +00:00
Marko Mlinar f74fa174bf Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C 2002-10-09 11:59:54 +00:00
Jim Blandy 57349743d5 2002-10-08 Petr Sorfa <petrs@caldera.com>
Revised and re-submitted by John Wolfe <jlw@caldera.com>

Move the Dwarf 2 abbrev table to a per-compilation-unit structure,
so we can work on more than one compilation unit at a time.  This
helps prepare GDB to handle inter-CU die references.
* dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in
the code to be defined before struct comp_unit_head.
(comp_unit_head): Added new members - offset, cu_head,
begin_die, next and dwarf2_abbrevs.
(dwarf2_abbrevs): Removed single static var; now member of
struct comp_unit_head.
dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head
members.
(psymtab_to_symtab_1): Changed to work with the new
struct comp_unit_head.
(dwarf2_read_abbrevs): Now accepts a cu_header parameter and
constructs the dwarf2_abbrevs[] inside the cu_header.
(dwarf2_empty_abbrev_table): Now expects a ptr to a
dwarf2_abbrev table to clean up.
(dwarf2_lookup_abbrev): Now accepts a cu_header parameter and
handling of dwarf2_abbrevs inside the cu_header.
(read_partial_die): Now supports the call to the new
dwarf2_lookup_abbrev.
(read_full_die): Now supports the call to the new
dwarf2_lookup_abbrev.
2002-10-09 04:43:49 +00:00
gdbadmin 3820f9c969 *** empty log message *** 2002-10-09 00:00:02 +00:00
gdbadmin d8ac458a38 *** empty log message *** 2002-10-08 00:00:32 +00:00
gdbadmin 33d77d9173 *** empty log message *** 2002-10-07 00:00:32 +00:00
Christopher Faylor 4092aadbf4 * Makefile.in (install-gdbtk): Add missing continuation backslash to insure
that shell variables, such as "transformed_name" are propagated to later shell
statements in rule.
2002-10-06 19:53:52 +00:00
Mark Kettenis af0b251250 * config/i386/nm-i386sco.h: Add protection against
multiple-inclusion.  Include "i386/nm-i386v.h".
(REGISTER_U_ADDR): Remove define.
(i386_register_u_addr): Remove prototype.
2002-10-06 18:37:13 +00:00
gdbadmin cace1e4b25 *** empty log message *** 2002-10-06 00:00:32 +00:00
gdbadmin bda09c6aa5 *** empty log message *** 2002-10-05 00:00:31 +00:00
Michael Snyder d6020d455d 2002-10-04 Michael Snyder <msnyder@redhat.com>
* m32r-stub.c (handle_exception): Make sure exception is "trap"
	before treating it as a single-step event.
2002-10-04 22:17:36 +00:00
Adam Fedor 7248f48e57 2002-10-03 Adam Fedor <fedor@gnu.org>
* objc-lang.c: ARI fixes.  Change string.h to gdb_string.h.
	(objc_demangle): Remove assignment in if statements, Replace
	free with xfree.
	(add_msglist): Likewise.
	(end_msglist): Likewise.
	(complare_selectors): Likewise.
	(selectors_info): Likewise.
	(compare_classes): Likewise.
	(classes_info): Likewise.
	(print_object_command): Likewise.
	(find_objc_msgcall_submethod): Replace PTR with void *.
	* objc-lang.h: Remove check for __STDC__.
2002-10-04 01:18:48 +00:00
gdbadmin 62823d4d45 *** empty log message *** 2002-10-04 00:00:32 +00:00
Jeff Johnston 52c6a6ac2d 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* ui-out.h (ui_out_field_fmt_int): New prototype.
        * ui-out.c (ui_out_field_fmt_int): New function allowing specification
        of field width and alignment.
        * stack.c (print_frame_info_base): When printing frame level, use
        ui_out_field_fmt_int with a width of 2 and left alignment.  Fix for
        PR gdb/192
2002-10-03 22:34:58 +00:00
Jeff Johnston c18008c5d8 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* mi-return.exp: Change expected frame output to remove extraneous
        space in level field when frame level is single digit.  Part of
        fix for PR gdb/192.
        * mi-stack.exp: Ditto.
        * mi1-return.exp: Ditto.
        * mi1-stack.exp: Ditto.
2002-10-03 22:33:15 +00:00
Jeff Johnston 9f2aab2d0a 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* gdbmi.texinfo: Fix examples that show frames to remove
        extraneous blank in level field.  Part of fix for PR gdb/192.
2002-10-03 22:31:31 +00:00
Jeff Johnston 8d19fbd261 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* gdbint.texinfo (Item Output Functions): Add new ui_out_field_fmt_int
        interface definition.
2002-10-03 22:30:01 +00:00
Jeff Johnston 7e3cec1774 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* MAINTAINERS: Add self to Write After Approval list.
2002-10-03 20:23:56 +00:00
Jeff Johnston 93cae4bfd9 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* mi-var-block.exp: Change expected output from -var-update
        command to expect list format for "changelist".  Fix for
        PR gdb/672.
        * mi-var-cmd.exp: Ditto.
        * mi-var-child: Ditto.
2002-10-03 20:03:55 +00:00
Jeff Johnston 3a387118eb 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* mi-cmd-var.c (mi_cmd_var_update): Fix for PR gdb/672.  For m2,
        output list begin and end for "changelist" rather than tuple begin/end.
        (varobj_update_one): For m2, add tuple begin and end for varobj
        update output.
2002-10-03 20:02:13 +00:00
Marko Mlinar a37295f900 add target specific commands; add myself to contributors list 2002-10-03 05:56:40 +00:00