Andrew Cagney
bd1ef5d285
* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
...
* config/i386/tm-i386.h (NUM_REGS): Delete.
2001-11-18 22:14:13 +00:00
Kevin Buettner
76fb44f49a
* i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
...
conversion for I386_LINUX_ORIG_EAX_REGNUM.
2001-11-18 21:38:59 +00:00
Andrew Cagney
ed909a0d77
Zap config/i386/tm-embed.h.
2001-11-18 21:28:20 +00:00
Fred Fish
9e52972e45
2001-11-17 Fred Fish <fnf@redhat.com>
...
* sim-main.h (float_operation): Move enum declaration outside
of _sim_cpu struct declaration.
2001-11-18 06:00:29 +00:00
Andrew Cagney
4edb848c4e
Zap files in gdb/gdbserver/
2001-11-18 05:09:26 +00:00
Andrew Cagney
f87ece4d0b
doco more build probs.
2001-11-18 04:43:50 +00:00
Kevin Buettner
8a40674599
* i386-linux-nat.c (fill_gregset): Use regcache_collect() instead
...
of accessing registers[] directly.
2001-11-18 01:19:47 +00:00
gdbadmin
27758734ec
*** empty log message ***
2001-11-18 00:00:02 +00:00
Kevin Buettner
7dd945fa27
* i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
...
when fetching ORIG_EAX.
2001-11-17 23:53:16 +00:00
Alan Modra
b66167ff38
daily update
2001-11-17 23:00:06 +00:00
Matthew Green
473d3293c6
* ppc-opc.c (mfvrsave, mtvrsave): New instructions.
2001-11-17 22:34:17 +00:00
Daniel Jacobowitz
c215244117
* arm-linux-nat.c: Don't include <asm/ptrace.h>.
...
(fetch_register): Use elf_gregset_t instead of struct pt_regs.
(fetch_regs): Likewise.
(store_register): Likewise.
(store_regs): Likewise.
2001-11-17 20:31:18 +00:00
Daniel Jacobowitz
b0677c2eb2
* sparc-linux-nat.c (fill_gregset): Replace read_register_gen
...
with regcache_collect.
(fill_fpregset): Likewise.
2001-11-17 20:21:09 +00:00
Hans-Peter Nilsson
920e417765
Fix typo in comment in last commit
2001-11-17 18:51:15 +00:00
Hans-Peter Nilsson
451a1fc524
* config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in
...
val assignment.
2001-11-17 18:39:03 +00:00
Daniel Jacobowitz
d2b57b9476
* Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,
...
and sparc-linux-nat.c to ALLDEPFILES. Add dependencies.
* config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES.
* sparc-linux-nat.c: New file, from Mark Kettenis.
2001-11-17 18:38:29 +00:00
Chris Demetriou
5f266a81c8
2001-11-16 Chris Demetriou <cgd@broadcom.cOm>
...
* gas/mips/elf-rel5.s, gas/mips/elf-rel5.s: New test
to test symbol plus offset relocations in various ways.
* gas/mips/mips.exp: Run new test.
2001-11-17 02:59:06 +00:00
Jakub Jelinek
4bdf3d3415
* dwarf2read.c (dwarf_str_buffer): New.
...
(struct dwarf2_pinfo): Add dwarf_str_buffer and dwarf_str_size.
(DWARF_STR_BUFFER, DWARF_STR_SIZE): Define.
(dwarf2_has_info): Clear dwarf_str_offset.
(dwarf2_build_psymtabs): Read .debug_str section if present.
(dwarf2_build_psymtabs_hard): Save DWARF_STR_BUFFER and
DWARF_STR_SIZE.
(psymtab_to_symtab_1): Restore DWARF_STR_BUFFER and DWARF_STR_SIZE.
(read_attribute): Handle DW_FORM_strp.
(read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8
handling code.
(read_indirect_string): New.
(dump_die): Handle DW_FORM_strp.
2001-11-17 00:08:10 +00:00
gdbadmin
a2213a3cbe
*** empty log message ***
2001-11-17 00:00:02 +00:00
Alan Modra
773a0d1a66
daily update
2001-11-16 23:00:05 +00:00
DJ Delorie
941d74a0b0
merge from gcc
2001-11-16 22:31:03 +00:00
Jim Blandy
20a940cc8c
* s390-tdep.c: Tweak argument-passing to match GCC bugs.
...
(is_float_singleton, is_struct_like, is_float_like): New
functions, that isolate the weirdness.
(is_double_or_float, is_simple_arg, pass_by_copy_ref,
is_double_arg): Use is_struct_like and is_float_like, rather than
testing the type codes ourselves.
(s390_push_arguments): When passing args on the stack, align each
on to a four-byte boundary, regardless of what the type itself
needs.
2001-11-16 21:40:36 +00:00
Ben Harris
e5d6381133
2001-11-16 Ben Harris <bjh21@netbsd.org>
...
* Makefile.in (os9kread.o): Replace $< with autoconf-approved
$(srcdir)/....
(procfs.o): Ditto.
(z8k-tdep.o): Ditto.
2001-11-16 19:53:29 +00:00
Ben Harris
6746a76a70
2001-11-16 Ben Harris <bjh21@netbsd.org>
...
* Makefile.in (armemu32.o): Replace $< with autoconf recommended
$(srcdir)/....
(armemu26.o): Ditto.
2001-11-16 18:56:01 +00:00
Ben Harris
1005d5ef96
2001-11-16 Ben Harris <bjh21@netbsd.org>
...
* MAINTAINERS (write-after-approval): Add self.
2001-11-16 18:29:27 +00:00
Alan Modra
bbe8ef22ff
* config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.
2001-11-16 09:34:28 +00:00
H.J. Lu
e0ac8af02a
2001-11-15 H.J. Lu <hjl@gnu.org>
...
* config/tc-hppa.c (md_apply_fix3): Fix a typo.
2001-11-16 07:27:59 +00:00
H.J. Lu
5ce56ab925
2001-11-15 H.J. Lu <hjl@gnu.org>
...
* config/tc-alpha.c (md_apply_fix3): Fix a typo.
2001-11-16 07:17:12 +00:00
Daniel Jacobowitz
44421011e3
* elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs against
...
local syms from discarded sections. Update comment.
2001-11-16 02:56:08 +00:00
Jim Blandy
a1677dfb5e
* s390-tdep.c (is_simple_arg): Structs and unions exactly eight
...
bytes long should be handled as DOUBLE_ARGs; don't recognize them
as SIMPLE_ARGs.
2001-11-16 02:48:30 +00:00
gdbadmin
6150ba3d44
*** empty log message ***
2001-11-16 00:00:32 +00:00
Alan Modra
949f8813f9
daily update
2001-11-15 23:00:05 +00:00
Nick Clifton
94f592af1b
Update all uses of md_apply_fix to use md_apply_fix3. Make it a void function.
2001-11-15 21:29:00 +00:00
Andrew Cagney
ad10f812bf
* remote.c (struct packet_reg): Declare.
...
(struct remote_state): Add fields sizeof_g_packet and g_packet.
(init_remote_state): Initialize sizeof_g_packet and g_packet.
(free_remote_state): Free g_packet.
(packet_reg_from_pnum, packet_reg_by_regnum): New functions.
(remote_wait): Use above instead of gdbarch methods
REGISTER_RAW_SIZE and REGISTER_BYTES.
(remote_async_wait): Ditto.
(remote_fetch_registers, remote_store_registers): Ditto.
(store_register_using_P): Ditto.
2001-11-15 20:58:38 +00:00
Andrew Cagney
9525aa9055
Really zap tty_input from multi-arch swap.
2001-11-15 20:30:41 +00:00
H.J. Lu
c3b1835c01
2001-11-15 H.J. Lu <hjl@gnu.org>
...
* ld-sh/ld-r-1.d: Updated.
2001-11-15 19:10:05 +00:00
DJ Delorie
dc5790516e
merge from gcc
2001-11-15 19:06:06 +00:00
Andrew Cagney
45a1e86678
Correctly handle phex(*,0) and phex_nz(*,0).
2001-11-15 18:35:05 +00:00
Andrew Cagney
faf833caca
* utils.c (phex_nz): For default case, set str to phex_nz return
...
value.
2001-11-15 18:24:17 +00:00
Alan Modra
a847613f74
* config/tc-i386.h (md_end): Define.
...
(i386_elf_emit_arch_note): Declare.
(CpuUnknown): Delete.
* config/tc-i386.c (default_arch): Constify.
(smallest_imm_type): Remove CpuUnknown test.
(md_assemble): Don't bother checking cpu_arch_flags non-zero.
(i386_elf_emit_arch_note): New function.
2001-11-15 13:19:46 +00:00
Alan Modra
0d3afcfcaa
* common.h (NT_ARCH): Define. Remove incorrect comment.
2001-11-15 13:19:10 +00:00
Andreas Schwab
e5fb9629dd
* readelf.c: Fix warnings without terminating newline.
2001-11-15 13:14:09 +00:00
Alan Modra
7dc9bd67ad
* binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.
2001-11-15 12:51:42 +00:00
Alan Modra
c56feb2b8c
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
...
function when LDEMUL_FINISH isn't set to the same name. Don't
call ${LDEMUL_FINISH}.
(ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
* emultempl/armelf.em (arm_elf_finish): Call
gld${EMULATION_NAME}_finish.
* emultempl/hppaelf.em (hppaelf_finish): Rename to
gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
hppaelf_layout_sections_again if necessary.
(need_laying_out): New var.
(hppaelf_layaout_sections_again): Rename to
hppaelf_layout_sections_again. Clear need_laying_out.
(PARSE_AND_LIST_OPTIONS): Format text.
2001-11-15 12:44:03 +00:00
Alan Modra
c86380b586
* po/POTFILES.in: Regenerate.
2001-11-15 12:27:07 +00:00
Alan Modra
beb1d4ece2
* po/SRC-POTFILES.in: Regenerate.
2001-11-15 12:18:27 +00:00
Thiemo Seufer
645dc66c72
* config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.
2001-11-15 09:50:00 +00:00
Alan Modra
f9f32305f7
* elflink.h (elf_link_input_bfd): Complain about all relocs
...
against local syms from discarded sections.
(elf_reloc_symbol_deleted_p): Don't try to swap in external syms.
2001-11-15 09:31:25 +00:00
Alan Modra
33861b119a
revert last change.
2001-11-15 09:16:46 +00:00
H.J. Lu
a48ca7f2ea
2001-11-14 H.J. Lu <hjl@gnu.org>
...
* emultempl/armelf.em (arm_elf_finish): Renamed from
gld${EMULATION_NAME}_finish.
(LDEMUL_FINISH): Set to arm_elf_finish.
2001-11-15 07:12:48 +00:00