Commit Graph

34577 Commits

Author SHA1 Message Date
Elena Zannoni 3117ed2595 2002-05-10 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type.
2002-05-10 22:20:18 +00:00
Tom Rix f1f0d9ab14 XCOFF64 fixes. For setting arch/mach and for R_BR relocations. 2002-05-10 21:20:16 +00:00
Jim Blandy ecac9a4eaf * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
a bug.
2002-05-10 20:25:26 +00:00
Daniel Jacobowitz 2654e6d432 2002-05-10 Daniel Jacobowitz <drow@mvista.com>
* linespec.c (decode_line_1): Check for a double quote after
        a filename correctly.
2002-05-10 20:05:27 +00:00
Jim Blandy c4b7bc2bea * gdb.base/printcmds.exp (test_integer_literals_rejected):
Recognize more detailed error message produced by the macro
expander's lexical analyzer.
* lib/gdb.exp (test_print_reject): Same.
2002-05-10 18:38:09 +00:00
Jim Blandy 9ab3e5325d Properly track the size of the current objfile's .debug_line section.
* dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size.
(DWARF_LINE_SIZE): New macro.
(dwarf2_build_psymtabs_hard): Record the line section's size in
the partial symbol table.
(psymtab_to_symtab_1): Restore dwarf_line_size from the partial
symbol table.
2002-05-10 17:03:25 +00:00
Petr Sorfa 126fa72d9c Handle breakpoints on L instruction type in MLX instruction bundle by
moving the breakpoint to the third slot (X instruction type) as L holds
only data.
2002-05-10 16:08:24 +00:00
Jakub Jelinek f4d733664a * ldmain.c (main): Enable -z combreloc by default. 2002-05-10 09:49:25 +00:00
Alan Modra 16a1038833 * elf32-i386.c (elf_i386_relocate_section): Remove overflow checks
addend in 2002-05-09 commit.
2002-05-10 07:34:52 +00:00
Kevin Buettner 1f077a3e7c * dbxread.c (discarding_local_symbols_complaint): New complaint.
(process_one_symbol): Complain about discarding local symbols
	due to a misplaced N_LBRAC entry.
2002-05-10 07:32:50 +00:00
Alan Modra c432ba1a88 * elf32-hppa.c (elf32_hppa_size_stubs): Revert part of 2002-05-04,
don't look for stubs on all undefined syms.
2002-05-10 02:03:47 +00:00
Elena Zannoni 8120c9d5cc 2002-05-09 Elena Zannoni <ezannoni@redhat.com>
From Daniel Berlin <dan@cgsoftware.com>
	* linespec.c (find_toplevel_char): '<' and '>' also increase and
	decrease the depth we are at, in the case of templates.
2002-05-10 00:29:23 +00:00
Alan Modra d0965404a4 daily update 2002-05-10 00:00:04 +00:00
gdbadmin 5cc365f46e *** empty log message *** 2002-05-10 00:00:03 +00:00
Jason Thorpe 029923d419 Check in change missed when sh*-*-netbsdelf* was added:
* NEWS: Note new sh*-*-netbsdelf* configuration.
2002-05-09 23:38:20 +00:00
Jason Thorpe d85cdfabd5 * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
(print_insn_mode): Print some basic info about floating point values.
2002-05-09 23:11:30 +00:00
Daniel Jacobowitz 67b2c99889 H2002-05-09 Daniel Jacobowitz <drow@mvista.com>
* mips-tdep.c (mips_float_register_type): New function.
        (mips_double_register_type): New function.
        (mips_print_register): Use them.
        (do_fp_register_row): Likewise.
2002-05-09 22:26:00 +00:00
Daniel Jacobowitz 6609d9afa4 Correct ChangeLog entry to:
2002-05-09  Daniel Jacobowitz  <drow@mvista.com>

        * signals/signals.c (signals): Remove conditional compilation around
        Mach-specific signals.  Move them to after TARGET_SIGNAL_DEFAULT.
        (target_signal_from_name): Loop until TARGET_SIGNAL_LAST.
2002-05-09 22:21:39 +00:00
Daniel Jacobowitz fd326606f3 2002-05-09 Daniel Jacobowitz <drow@mvista.com>
* signals/signals.c (signals): Remove conditional compilation around
        Mach-specific signals.  Move them to after TARGET_SIGNAL_DEFAULT.
        (target_signal_from_name): Loop until TARGET_SIGNAL_LAST.
2002-05-09 22:20:29 +00:00
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