Commit Graph

39053 Commits

Author SHA1 Message Date
Elena Zannoni 514621a981 2003-04-17 Elena Zannoni <ezannoni@redhat.com>
* values.c (value_being_returned): Don't fetch the return
        value if the return type is void.
2003-04-17 20:31:43 +00:00
Jeff Johnston b4acd5590b 2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
* thread-db.c: Reindented.
2003-04-17 17:30:02 +00:00
Jeff Johnston 530b167e9a 2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
* gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
        td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
        as types.
2003-04-17 17:18:49 +00:00
gdbadmin f32ffeb535 *** empty log message *** 2003-04-17 00:00:32 +00:00
Alan Modra 4a2c63e9d1 daily update 2003-04-17 00:00:05 +00:00
DJ Delorie 2ed1e5cc55 merge from gcc 2003-04-16 23:09:21 +00:00
Kevin Buettner 610a37459e Fix typo. 2003-04-16 20:44:04 +00:00
Kevin Buettner ab9fe00ef0 * rs6000-tdep.c (rs6000_gdbarch_init): For the SVR4 ABI, set
the size of ``long double'' to 16, instead of 8.
2003-04-16 20:41:46 +00:00
Kevin Buettner c8c4d8dcfb * gdb.base/args.exp: Invoke gdb_load for simulator targets. 2003-04-16 20:29:42 +00:00
Elena Zannoni 3fe60e3c14 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Make 'info func mark' complete on 'info
        func marke' instead. Update test name.
2003-04-16 20:07:08 +00:00
Mark Kettenis e64a344cc8 * i386-linux-nat.c: Add some whitespace to make things more
readable.
(fetch_register, store_register, fetch_inferior_registers,
store_inferior_registers): Get rid of assignment in if-statement.
(store_register): Fix typo in error message.
2003-04-16 15:22:02 +00:00
Andrew Cagney 25d4103164 2003-04-16 Andrew Cagney <cagney@redhat.com>
* utils.c (xmmalloc): Always allocate something, matches
	libiberty/xmalloc's semantics.
	(xmrealloc, xmcalloc): Ditto.
2003-04-16 14:43:03 +00:00
Andrew Cagney c50901fda0 2003-04-16 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): Do not initialize "unwind" or "type",
	update comments.
	(get_frame_type): Initialize unwind and type when needed.
	(get_frame_id, frame_register_unwind): Ditto.
2003-04-16 14:39:47 +00:00
Andrew Cagney f81824a9ed 2003-04-16 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
	obsolete.
	* sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
	* sparcl-stub.c: Obsolete file.
	* config/sparc/tm-sparclet.h: Obsolete file.
	* sparclet-stub.c: Obsolete file.
	* sparclet-rom.c: Obsolete file.
	* sparcl-tdep.c: Obsolete file.
	* config/sparc/tm-sparclite.h: Obsolete file.
	* config/sparc/sparclite.mt: Obsolete file.
	* config/sparc/sparclet.mt: Obsolete file.
	* configure.tgt: Make sparclet-*-*, sparclite-*-*, and
	sparc86x-*-* obsolete.
2003-04-16 14:32:21 +00:00
Nick Clifton 39f1ebed0b Add .jcr section mapping. 2003-04-16 11:53:46 +00:00
DJ Delorie b496f1528d merge from gcc 2003-04-16 04:55:31 +00:00
DJ Delorie 10b57b38b3 merge from gcc 2003-04-16 03:51:54 +00:00
Andrew Cagney 601da3163f Fix changelog. 2003-04-16 00:58:40 +00:00
Chris Demetriou bcd0068ecf 2003-04-15 Richard Sandiford <rsandifo@redhat.com>
* vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of
        unsigned operands.
2003-04-16 00:52:08 +00:00
Alexandre Oliva 060dc71d21 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
2003-04-09's change.
2003-04-16 00:30:24 +00:00
gdbadmin 897dafdda2 *** empty log message *** 2003-04-16 00:00:31 +00:00
Alan Modra 9ba3f0f225 daily update 2003-04-16 00:00:05 +00:00
David Carlton 9219021cb5 2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
	(COMMON_OBS): Add cp-namespace.o.
	(block.o): Depend on gdb_obstack_h and cp_support_h.
	(buildsym.o): Depend on cp_support_h.
	(cp-namespace.o): New.
	(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
	gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
	(dwarf2read.o): Depend on cp_support_h.
	* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
	* dwarf2read.c (process_die): Set processing_has_namespace_info,
	processing_current_namespace.
	(read_namespace): Update processing_current_namespace; check for
	anonymous namespaces.
	(dwarf2_name): New function.
	(dwarf2_extension): Ditto.
	* cp-support.h: Update copyright, contributors.
	Add inclusion guards.
	Add opaque declaration for structs obstack, block, symbol.
	(struct using_direct): New struct.
	Add declarations for cp_find_first_component,
	cp_entire_prefix_len, processing_has_namespace_info,
	processing_current_namespace, cp_is_anonymous,
	cp_add_using_directive, cp_initialize_namespace,
	cp_finalize_namespace, cp_set_block_scope,
	cp_scan_for_anonymous_namespaces.
	* cp-namespace.c: New file.
	* cp-support.c: Update copyright.
	Include ctype.h, gdb_assert.h, gdbcmd.h.
	New variable maint_cplus_cmd_list.
	(cp_find_first_component): New function.
	(cp_entire_prefix_len, maint_cplus_command)
	(first_component_command, _initialize_cp_support): Ditto.
	* buildsym.c: Include cp-support.h.
	New variable using_list.
	(add_symbol_to_list): Check for anonymous namespaces.
	(finish_block): Set block's scope.
	(start_symtab): Initialize C++ namespace support.
	(end_symtab): Finalize C++ namespace support.
	* block.h: Add opaque declarations for structs
	block_namespace_info, using_direct, and obstack.
	Add declarations for block_set_scope and block_set_using.
	(struct block): Add 'language_specific' member.
	(BLOCK_NAMESPACE): New macro.
	* block.c: Include gdb_obstack.h and cp-support.h.
	(struct block_namespace_info): New struct.
	(block_set_scope): New function.
	(block_set_using, block_initialize_namespace): Ditto.

2003-04-15  David Carlton  <carlton@math.stanford.edu>

	* gdb.c++/maint.exp: New file.
2003-04-15 23:07:11 +00:00
DJ Delorie ff773b85a4 merge from gcc 2003-04-15 21:36:21 +00:00
DJ Delorie 1ea16ec5b4 merge from gcc 2003-04-15 21:29:34 +00:00
DJ Delorie bb32582095 merge from gcc 2003-04-15 20:15:47 +00:00
DJ Delorie 258a4893ff merge from gcc 2003-04-15 15:27:20 +00:00
H.J. Lu 37adfc7e9f 2003-04-15 H.J. Lu <hjl@gnu.org>
* ld-elfcom/elfcom.exp: Fix a typo.
2003-04-15 14:56:06 +00:00
H.J. Lu 731e28d885 2003-04-15 H.J. Lu <hjl@gnu.org>
From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:

	* ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
2003-04-15 14:50:29 +00:00
Nick Clifton a3476bef94 If a section holds uninitialized data and is from an object file or from an
executable image that has not initialized the s_size field, or if the physical
size is padded, use the virtual size (stored in s_paddr) instead.
2003-04-15 14:26:06 +00:00
Nick Clifton ca4fa240d6 Properly report filename for alignment reduction.
Add test for alignment reduction.
2003-04-15 09:38:11 +00:00
Nick Clifton c2dcd04ec8 Replace occurrances of 'Hitachi' with 'Renesas'. 2003-04-15 08:51:55 +00:00
DJ Delorie 7ec2fc6f76 merge from gcc 2003-04-15 03:53:53 +00:00
DJ Delorie eec539c779 merge from gcc 2003-04-15 03:02:18 +00:00
Elena Zannoni 5dd55bddfe 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/schedlock.c: Change type of thread function argument
	to long, to avoid warnings on 64-bit platforms.
2003-04-15 02:23:11 +00:00
Kevin Buettner d5a921c9a8 * solib-svr4.c (svr4_have_link_map_offsets): New function.
(locate_base): Return early if there aren't any link map offsets.
	(svr4_solib_create_inferior_hook): Warn if shared library support
	is unavailable.
2003-04-15 00:28:23 +00:00
gdbadmin 351980a492 *** empty log message *** 2003-04-15 00:00:32 +00:00
Alan Modra 047822a581 daily update 2003-04-15 00:00:06 +00:00
David Carlton d2a52b2763 2003-04-14 David Carlton <carlton@math.stanford.edu>
* symtab.c (symbol_set_names): Add prefix when storing Java names
	in hash table.  Fix for PR java/1039.
2003-04-14 19:56:32 +00:00
David Carlton 980cae7a71 2003-04-14 David Carlton <carlton@math.stanford.edu>
* symtab.c (symbol_set_names): Rename 'name' arg to
	'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
	* symtab.h: Change 'name' argument in declaration of
	symbol_set_names to 'linkage_name'.
	(SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
2003-04-14 19:55:27 +00:00
Andrew Cagney e227b13c67 2003-04-14 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
	return the fully sign-extended register value.
	(get_frame_pointer): Ditto.
	(mips_pop_frame): Initialize "proc_desc" after checking for a
	dummy frame.
2003-04-14 19:16:13 +00:00
Andrew Cagney 36712a20aa 2003-04-14 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_push_dummy_frame): Delete function.
	(MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
	(FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
	(mips_push_register): Delete function.
	(mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
	PUSH_FP_REGNUM.
2003-04-14 19:06:48 +00:00
Jim Blandy 44ea7b70f9 gdb/ChangeLog:
2003-04-10  Jim Blandy  <jimb@redhat.com>

	* symmisc.c: #include "gdb_regex.h".
	(maintenance_list_symtabs, maintenance_list_psymtabs): New
	functions.
	* maint.c (maintenance_list_command): New function.
	(_initialize_maint_cmds): Register the above as commands.
	* symtab.h (maintenance_list_symtabs,
	maintenance_list_psymtabs): New declarations.
	* cli/cli-cmds.c (maintenancelistlist): New variable.
	(init_cmd_lists): Initialize it.
	* cli/cli-cmds.h (maintenancelistlist): New declaration.
	* gdbcmd.h (maintenancelistlist): New declaration.
	* Makefile.in (symmisc.o): Update dependencies.

gdb/doc/ChangeLog:
2003-04-09  Jim Blandy  <jimb@redhat.com>

	* gdb.texinfo (Symbols): Document 'maint list symtabs' and 'maint
	list psymtabs'.
2003-04-14 18:42:28 +00:00
DJ Delorie daf7c4ad3a merge from gcc 2003-04-14 18:27:58 +00:00
Elena Zannoni 2d0c796236 2003-04-08 Elena Zannoni <ezannoni@redhat.com>
* s390-nat.c: Include asm/types.h for addr_t.
2003-04-14 14:21:07 +00:00
Elena Zannoni 0089057280 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp: Add new message from ptrace in case of
        attaching to nonexistent process.
2003-04-14 14:04:06 +00:00
Alan Modra 877d60f7bc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
other variants of crtbegin.o, crtend.o.
	(DTOR): Likewise.
	* scripttempl/crisaout.sc (ctors, dtors): Likewise.
	* scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
	* scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
	* scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
	* scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
	* scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
	* scripttempl/mmo.sc (ctors, dtors): Likewise.
	* scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
2003-04-14 13:03:17 +00:00
Nick Clifton f7661995e8 Maintain maximum alignment for common symbols. Warn reducing alignment for
common symbols. Report old filename when symbol size changes.
2003-04-14 11:06:25 +00:00
Corinna Vinschen 1947a811e8 * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
actually incoming type.
2003-04-14 08:47:42 +00:00
Andrew Cagney adb616d7c2 2003-04-13 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
	get_next_frame and get_frame_saved_regs.
2003-04-14 02:29:40 +00:00