Commit Graph

12757 Commits

Author SHA1 Message Date
Joel Brobecker 8ec413174a * configure: Regenerate using the proper version of autoconf. 2002-10-22 03:54:20 +00:00
Daniel Jacobowitz 8b1d7e37a4 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
numbers.  Allow "foo2|selected stack frame".
        * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
        * gdb.asm/asmsrc2.s: Likewise.
        * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
        comments.
        * gdb.asm/mips.inc: New file.
2002-10-22 01:43:37 +00:00
gdbadmin d1c1eb3f72 *** empty log message *** 2002-10-22 00:00:02 +00:00
Elena Zannoni 3987b9d413 2002-10-21 Elena Zannoni <ezannoni@redhat.com>
* findvar.c (read_var_value): Temporarily disable TLS code, until
	complete TLS support is added.
2002-10-21 20:12:56 +00:00
Elena Zannoni 9d774e4455 2002-10-21 Jim Blandy <jimb@redhat.com>
Elena Zannoni  <ezannoni@redhat.com>

	* symtab.h (address_class): Re-add LOC_THREAD_LOCAL_STATIC
	for thread local storage locations.
	(struct symbol): Add objfile field.
	(SYMBOL_OBJFILE): Define.
	* dwarf2read.c (is_thread_local): New static variable.
	(new_symbol): If variable is in thread local fill in address class
	and objfile appropriately.
	(decode_locdesc): Recognize and handle DW_OP_GNU_push_tls_address
	stack operation.
	* printcmd.c (address_info): Print the information for thread
	local storage variable.
	* findvar.c (read_var_value): In case of thread local variable,
	defer to the target vector code to compute address.
2002-10-21 19:11:50 +00:00
Elena Zannoni 550633cbb1 2002-10-21 Elena Zannoni <ezannoni@redhat.com>
* solib-svr4.c (svr4_fetch_objfile_link_map): New function.
        * solib-svr4.h (svr4_fetch_objfile_link_map): Export.
2002-10-21 18:53:38 +00:00
Elena Zannoni bc4a16aedd 2002-10-21 Elena Zannoni <ezannoni@redhat.com>
* solib-svr4.c (svr4_fetch_objfile_link_map): New function.
        * solib-svr4.h (svr4_fetch_objfile_link_map): Export.
2002-10-21 18:42:40 +00:00
Elena Zannoni 407caf07a4 2002-10-21 Elena Zannoni <ezannoni@redhat.com>
* symtab.h (address_class):  Rename
	LOC_THREAD_LOCAL_STATIC to LOC_HP_THREAD_LOCAL_STATIC.
	* hpread.c (hpread_process_one_debug_symbol): Ditto.
	* printcmd.c (address_info): Ditto.
	* findvar.c (symbol_read_needs_frame, read_var_value): Ditto.
2002-10-21 14:55:18 +00:00
gdbadmin b0b05254fc *** empty log message *** 2002-10-21 00:00:33 +00:00
Mark Kettenis afdb036ab6 * i386bsd-nat.c (i386bsd_dr_set, i386bsd_dr_get_status): Use
DBREG_DRX macro to acces debug registers.
2002-10-20 21:18:59 +00:00
Mark Kettenis ca02e098c5 * Makefile.in (i386obsd-tdep.o): New target. 2002-10-20 20:27:19 +00:00
Mark Kettenis 03cc47f70c * solib-sunos.c: Include "bcache.h" and "regcache.h".
* Makefile.in (solib-sunos.o): Add $(bcache_h) and $(regcache_h).
2002-10-20 14:38:26 +00:00
Mark Kettenis 005328e342 * configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds.
* config/i386/obsd.mt: New file.
* i386bsd-nat.c (_initialize_i386bsd_nat): Introduce
i386obsd_sc_pc_offset and i386obsd_sc_sp_offset;
* i386obsd-nat.c (_initialize_i386obsd_nat): Set
i386obsd_sigtramp_start and i386obsd_sigtramp_end instead of
i386nbsd_sigtramp_start and i386nbsd_sigtramp_end.
* i386obsd-tdep.c: New file.
2002-10-20 11:54:40 +00:00
David O'Brien 05e17ccd8e 2002-10-19 David O'Brien <obrien@FreeBSD.org>
* configure.tgt (alpha*-*-freebsd*, i[3456]86-*-freebsd*,
	sparc64-*-freebsd*): Combine to make *-*-freebsd* with gdb_target set
	to fbsd.  Removes need for additional freebsd tupples.
2002-10-20 05:37:33 +00:00
Adam Fedor 9c96f9f287 (name_not_typename): Fix invalid comment. 2002-10-20 01:38:40 +00:00
gdbadmin 1343a4e4c4 *** empty log message *** 2002-10-20 00:00:32 +00:00
Mark Kettenis ce1ed4854e * solib-sunos.c (allocate_rt_common_objfile): Use bcache_xmalloc
to allocate partial syms and macro byte caches.
2002-10-19 23:05:27 +00:00
gdbadmin a311d50c16 *** empty log message *** 2002-10-19 00:00:34 +00:00
David Carlton 1efc7aaaba 2002-10-18 David Carlton <carlton@math.stanford.edu>
* symtab.h: Delete 'struct source' and 'struct sourcevector'.

(Also, I fixed up a date reference for an earlier ChangeLog entry of
mine; sorry about that.)
2002-10-18 23:47:53 +00:00
Adam Fedor 7e1d63ec94 stabsread.c (find_name_end): New function.
(define_symbol): Use it.
2002-10-18 22:49:42 +00:00
Daniel Jacobowitz 6e8d29a92c * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
* config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Define to 1.
        * config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
        * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1.
2002-10-18 19:34:39 +00:00
Adam Fedor 5e2fe5b8f8 gdb.base/default.exp: Update expected output to include 'ObjC'.
gdb.base/help.exp: Likewise.
2002-10-18 18:54:55 +00:00
Kevin Buettner f2abfe65b6 * gdbint.texinfo (Address Classes): Fix problems with insertion
of ``{'' and ``}'' in example.
2002-10-18 18:50:43 +00:00
gdbadmin 8ba91e1718 *** empty log message *** 2002-10-18 00:00:04 +00:00
David Carlton 63ca651f75 2002-10-09 David Carlton <carlton@math.stanford.edu>
* symfile.h: Add opaque declaration for struct obstack.
	Declare obsavestring to take a const char *.
	* symfile.c (obsavestring): Make first argument a const char *.
2002-10-17 21:16:12 +00:00
Kevin Buettner abe1a5d0ef * gdb.base/constvars.c (struct crass, struct crisp): New structs.
* gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2002-10-17 20:22:58 +00:00
Kevin Buettner b5b0480a10 Address Class documentation. 2002-10-17 18:33:36 +00:00
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