Commit Graph

34508 Commits

Author SHA1 Message Date
Daniel Jacobowitz
1a79372daa 2002-05-09 Daniel Jacobowitz <drow@mvista.com>
* signals.h: Update comments.
        (enum target_signal): Remove conditional compilation around
        Mach-specific signals.  Move them to after TARGET_SIGNAL_DEFAULT.
2002-05-09 22:19:48 +00:00
Mark Kettenis
e71019a17f * gdb.c++/method.exp: Fix typo. 2002-05-09 20:07:16 +00:00
Michael Snyder
bef35864eb 2002-05-09 Michael Snyder <msnyder@redhat.com>
* remote-rdp.c (remote_rdp_can_run): Remove.
2002-05-09 18:44:49 +00:00
Michael Snyder
166a195727 2002-05-08 Michael Snyder <msnyder@redhat.com>
* gdb.mi/mi-var-child.exp: Accept (void) as well as ().
	* gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2002-05-09 18:29:33 +00:00
Tom Tromey
c55a3f731b * jv-valprint.c (java_val_print): Handle `char' as a special case
of TYPE_CODE_INT.
2002-05-09 18:23:41 +00:00
Michael Snyder
35928259ea 2002-05-09 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Add iftarget clause for strongarm.
2002-05-09 18:17:22 +00:00
Michael Snyder
2c8682ee45 2002-05-08 Michael Snyder <msnyder@redhat.com>
* stabs.texinfo (Attributes): Document new "vector" attribute.
2002-05-09 18:12:00 +00:00
Michael Snyder
e2cd42ddee 2002-05-06 Michael Snyder <msnyder@redhat.com>
* stabsread.c (read_type): Add recognition for new attribute:
	"@V;" means that an array type is actually a vector.
	This is analogous to the vector flag that's been added to dwarf2.
2002-05-09 18:11:17 +00:00
Michael Snyder
b8d5e71d0b 2002-05-09 Michael Snyder <msnyder@redhat.com>
* arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn],
	strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as
	strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and
	str r(0123),[sp,#nn].
	(arm_skip_prologue): Ditto.  Also make disassembly
	order-independent by placing it in a loop.
2002-05-09 18:07:00 +00:00
Mark Kettenis
3ce1502b87 * i386-tdep.h (i386_abi): New enum.
(struct gdbarch_tdep): Replace os_ident member with abi.
(i386_gdbarch_register_os_abi): New prototype.
* i386-tdep.c (i386_abi_names): New array.
(process_note_abi_tag_sections): Removed.
(process_note_sections): New function.
(i386_elf_abi_from_note, i386_elf_abi): New functions.
(struct i386_abi_handler): New struct.
(i386_abi_handler_list): New variable.
(i386_gdbarch_register_os_abi): New function.
(i386_gdbarch_init): Adapt for the changes given above.
2002-05-09 13:53:36 +00:00
Kazu Hirata
cc8a6dd09b * config/obj-coff.c: Fix formatting.
* config/obj-elf.c: Likewise.
	* config/tc-alpha.c: Likewise.
	* config/tc-arm.c: Likewise.
	* config/tc-d10v.c: Likewise.
	* config/tc-d30v.c: Likewise.
	* config/tc-h8300.c: Likewise.
	* config/tc-hppa.c: Likewise.
2002-05-09 13:12:57 +00:00
Nick Clifton
2b9c82010f Add Joasn Thorpe as VAX maintainer 2002-05-09 12:43:46 +00:00
Alan Modra
8fc39d5d55 * elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete.
(ppc64_elf_howto_raw <R_PPC64_RELATIVE>): Not pc_relative or
	pcrel_offset.
2002-05-09 11:40:16 +00:00
Alan Modra
c1a34e6066 * ppc-opc.c: Add "tlbiel" for POWER4. 2002-05-09 11:15:47 +00:00
Nick Clifton
ace4f296f5 Uses sim callback interface for system calls in RedBoot SWI support. 2002-05-09 10:29:08 +00:00
Nick Clifton
d8512e6afd Support the RedBoot SWI in ARM mode and some of its system calls. 2002-05-09 10:14:12 +00:00
Alan Modra
412167cbaa * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
reloc when no_cond_jump_promotion.
2002-05-09 06:35:22 +00:00
Alan Modra
4a335f3dc2 * elf32-i386.c (elf_howto_table): Comments.
(elf_i386_relocate_section): Handle more relocs for relocatable
	linking and against SEC_MERGE sections.
2002-05-09 06:34:43 +00:00
Jim Wilson
9197546776 Fix i960-elf abort in cvt_frag_to_fill while compiling libc/stdio/vfprintf.c.
* config/tc-i960.c (md_estimate_size_before_relax): Return size of
	current variable part of frag.
2002-05-09 01:43:11 +00:00
Kazu Hirata
a1b6236b7d * config/tc-mmix.c: Fix formatting.
* config/tc-mmix.h: Likewise.
2002-05-09 00:33:09 +00:00
gdbadmin
a4ad835692 *** empty log message *** 2002-05-09 00:00:06 +00:00
Alan Modra
aed0229aa8 daily update 2002-05-09 00:00:05 +00:00
Daniel Jacobowitz
084c156a37 2002-05-08 Daniel Jacobowitz <drow@mvista.com>
* gregset.h: Say "GNU/Linux".
2002-05-08 23:29:11 +00:00
Alan Modra
e1d5b1e71e * configure.in: Replace *pe' with pe' throughout. 2002-05-08 23:15:36 +00:00
Elena Zannoni
6599f021bb 2002-05-08 Elena Zannoni <ezannoni@redhat.com>
* gdbtypes.c : Add new builtin type for 64 bit vectors.
        (build_gdbtypes): Build builtin_type_v2_float.
	(_initialize_gdbtypes): Register new builtin type.
2002-05-08 22:58:39 +00:00
Michael Snyder
fedfc8e665 2002-05-08 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Merge clauses for arm and xscale.
	* gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2002-05-08 21:05:44 +00:00
Graydon Hoare
748f46d42a [ cgen/ChangeLog ]
2002-05-01  Graydon Hoare  <graydon@redhat.com>

	* desc-cpu.scm (@arch@_cgen_cpu_close): Fix memory leaks.

[ opcodes/ChangeLog ]

2002-05-07  Graydon Hoare  <graydon@redhat.com>

	* cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather
	than just most-recently-opened.
2002-05-08 20:47:07 +00:00
Andrew Cagney
40af4b0c8b * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section.
(clear_gdbarch_swap): New function.
(initialize_non_multiarch): Call.
(gdbarch_update_p): Before calling init(), swap out and clear the
existing architecture.
* gdbarch.c: Regenerate.
2002-05-08 20:43:04 +00:00
Jason Thorpe
4fe84f46c3 * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and
alphanbsd-tdep.c.
2002-05-08 16:32:08 +00:00
Jason Thorpe
4015edd13a * sh-nbsd-nat.c: Rename to...
* shnbsd-nat.c: ...this.
* sh-nbsd-tdep.c: Rename to...
* shnbsd-tdep.c: ...this.
* sh-nbsd-tdep.h: Rename to...
* shnbsd-tdep.h: ...this.
* config/sh/nbsd.mh: Use shnbsd-nat.o.
* config/sh/nbsd.mt: Use shnbsd-tdep.o.
2002-05-08 16:18:41 +00:00
Richard Earnshaw
0e2bd21956 * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string
concatenation for command help messages.
2002-05-08 15:59:52 +00:00
Jason Thorpe
13a38d4599 * NEWS: Note new sh*-*-netbsdelf* configuration.
* configure.host: Set gdb_host_cpu to sh for all sh*.
(sh*-*-netbsdelf*): New host.
* configure.tgt: Set gdb_target_cpu to sh for all sh*.
(sh*-*-netbsdelf*): New target.
* sh-nbsd-nat.c: New file.
* sh-nbsd-tdep.c: New file.
* sh-nbsd-tdep.h: New file.
* config/sh/nbsd.mh: New file.
* config/sh/nbsd.mt: New file.
* config/sh/nm-nbsd.h: New file.
* config/sh/tm-nbsd.h: New file.
2002-05-08 15:29:36 +00:00
Jason Thorpe
d658f92455 * sh-tdep.c (sh_osabi_names): Declare.
(process_note_abi_tag_sections): New function.
(get_elfosabi): Ditto.
(sh_gdbarch_register_os_abi): Ditto.
(sh_dump_tdep): Ditto.
_initialize_sh_tdep): Use gdbarch_register to register
sh_gdbarch_init and sh_dump_tdep.
* config/sh/tm-sh.h (sh_osabi): Declare.
(gdbarch_tdep): Add sh_osabi and osabi_name members.
2002-05-08 14:54:03 +00:00
Alan Modra
c8615825e3 * configure: Regenerate. 2002-05-08 14:32:37 +00:00
Jason Thorpe
e3029acb8b * common.h (NT_GNU_ABI_TAG): Define.
(GNU_ABI_TAG_LINUX): Define.
(GNU_ABI_TAG_HURD): Define.
(GNU_ABI_TAG_SOLARIS): Define.
(NT_NETBSD_IDENT): Define.
(NT_FREEBSD_ABI_TAG): Define.
2002-05-08 14:28:37 +00:00
DJ Delorie
52d98c2de8 merge from gcc 2002-05-08 14:22:36 +00:00
Alan Modra
41fcb14eb3 * elf32-ppc.c (ppc_elf_create_got): New function.
(ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before
	_bfd_elf_create_dynamic_sections.  Correct .plt flags.
	(ppc_elf_check_relocs): Use ppc_elf_create_got in place of
	_bfd_elf_create_got_section.
2002-05-08 05:12:54 +00:00
Kazu Hirata
8a104df9d7 * config/tc-m68k.c: Fix formatting. 2002-05-08 01:54:04 +00:00
Andrew Cagney
848cfffbc5 * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames.
(thumb_scan_prologue): Ditto.
(arm_find_callers_reg): Ditto.
(arm_frame_chain): Ditto.
(arm_init_extra_frame_info): Ditto.
(arm_frame_saved_pc): Ditto.
(arm_pop_frame): Ditto.
(arm_push_return_address): New function.
(arm_gdbarch_init): Initialize use_generic_dummy_frames,
call_dummy_location, call_dummy_breakpoint_offset_p,
call_dummy_breakpoint_offset, call_dummy_p,
call_dummy_stack_adjust_p, call_dummy_words,
sizeof_call_dummy_words, call_dummy_start_offset,
call_dummy_length, fix_call_dummy, pc_in_call_dummy,
call_dummy_address, push_return_address and push_dummy_frame for
generic dummy frames.
2002-05-08 01:35:51 +00:00
gdbadmin
2b8a5373e1 *** empty log message *** 2002-05-08 00:00:34 +00:00
Alan Modra
fc432c1fd5 daily update 2002-05-08 00:00:04 +00:00
Jason Thorpe
e7d717c0b0 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in
size computation for alloca.
(sh_fp_frame_init_saved_regs): Likewise.
2002-05-07 21:51:34 +00:00
DJ Delorie
cafa39179f merge from gcc 2002-05-07 19:04:21 +00:00
Jeff Johnston
9121734217 2002-05-07 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.LIBGLOSS: New file.
2002-05-07 17:52:36 +00:00
Nick Clifton
d3d8a9ee19 Honour DESTDIR 2002-05-07 17:22:20 +00:00
Richard Earnshaw
7bbcf28307 * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define.
(ARM_MAX_REGISTER_VIRTUAL_SIZE): Define.
* arm-tdep.c (arm_store_return_value): Use them.
Use FP_REGISTER_RAW_SIZE when setting the FPA return value.
* remote-rdp.c (remote_rdp_fetch_register): Use
ARM_MAX_REGISTER_RAW_SIZE.
(remote_rdp_store_register): Likewise.
2002-05-07 12:58:51 +00:00
Michal Ludvig
4657573b80 2002-05-07 Michal Ludvig <mludvig@suse.cz>
* dwarf2cfi.c: Code cleanup, removed unused variables,
	added default labels to switch {} statements.
	* x86-64-tdep.c: Ditto.
	* x86-64-linux-nat.c: Ditto.
2002-05-07 11:22:54 +00:00
Richard Sandiford
3e3f011f93 * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.
(is_elf_format): New, extracted from...
	* ld-scripts/weak.exp: ...here.
	* ld-scripts/overlay-size.exp: New test.
	* ld-scripts/overlay-size.[tsd],
	* ld-scripts/overlay-size-map.d: New files for it.
2002-05-07 11:08:57 +00:00
Richard Sandiford
9f88b410a0 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
(lang_enter_overlay): Remove the last two parameters.
	(lang_leave_overlay): Take them here instead.
	* ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
	(section): Pass LMA and crossref flag to lang_leave_overlay rather
	than lang_enter_overlay.
	* ldlang.c (lang_memory_region_lookup): Return null for null names.
	(lang_output_section_statement_lookup): Initialize update_dot_tree.
	(lang_size_sections_1): Evaluate it.
	(lang_leave_output_section_statement): Rework LMA lookup.
	(overlay_lma, overlay_nocrossrefs): Remove.
	(lang_enter_overlay): Remove LMA and corssref arguments.
	(lang_enter_overlay_section): Don't set the LMA here.
	(lang_leave_overlay): Take LMA and crossref arguments.  Move the '.'
	assignment to the last section's update_dot_tree.  Unconditionally
	use the load and run-time regions specified in the OVERLAY statement.
	Likewise the first section's LMA.  Only set the other sections' LMAs
	when no load region is given.
2002-05-07 11:04:54 +00:00
Jason Thorpe
010f3b2f35 * solib.h: Protect against multiple inclusion. 2002-05-07 08:35:54 +00:00