Nicholas Duffek
7302a204c4
* regcache.c (set_register_cached, register_buffer,
...
real_register, pseudo_register fetch_register, store_register):
New functions.
(register_changed, read_relative_register_raw_bytes_for_frame,
registers_changed, registers_fetched, read_register_bytes,
read_register_gen, write_register_gen, read_register,
read_signed_register, write_register, supply_register): Replace
register_valid[] with register_cached() and
set_register_cached().
(read_register_bytes, read_register_gen, write_register_gen,
read_register, read_signed_register, write_register,
supply_register): Replace registers[] with register_buffer().
(read_register_bytes, read_register_gen, read_register,
read_signed_register): Call fetch_register().
(write_register_gen, write_register): Call real_register() and
store_register().
(write_register_bytes): Call store_register().
* value.h (set_register_cached, register_buffer): Prototype.
* remote.c (remote_fetch_registers): Allocate regs[] with a
run-time size. Replace register_valid[] with
set_register_cached().
(store_register_using_P, remote_store_registers): Replace
registers[] with register_buffer().
2001-01-09 00:12:48 +00:00
Nicholas Duffek
5ebd2499d3
* regcache.c: Change "write-back" comment to "write-through".
...
Change "regno" to "regnum".
(read_register, read_signed_register): Remove "raw" from return
value description.
(supply_register): Spelling fix.
* value.h: Change "regno" to "regnum".
2001-01-09 00:11:28 +00:00
Christopher Faylor
5844f8455e
* rltty.c (save_tty_chars): Fix compilation-stopping typo.
2001-01-08 14:57:30 +00:00
Fernando Nasser
1302fd5e2b
2001-01-08 Fernando Nasser <fnasser@redhat.com>
...
* Makefile.in (install-gdbtk): Add .itcl files to the list of files
to be installed.
2001-01-08 12:47:49 +00:00
Andreas Jaeger
b77a7acd1b
2001-01-08 Bo Thorsen <bo@suse.de>
...
* config/tc-i386.c (i386_immediate, i386_displacement):
GOTPCREL check fix.
2001-01-08 09:37:43 +00:00
David O'Brien
482e8b3206
2000-01-07 David O'Brien <obrien@BSDi.com>
...
* emultempl/elf32.em: Only perform Linux ld hints processing when
targeting Linux.
Approved by: Nick Clifton <nickc@redhat.com>
Message-Id: <200101040127.RAA15127@elmo.cygnus.com>
2001-01-08 05:25:58 +00:00
Ian Lance Taylor
5c2bd011d3
* doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
...
in last change.
2001-01-08 02:23:45 +00:00
Phil Blundell
d7ed7ca67b
2001-01-07 Philip Blundell <philb@gnu.org>
...
* ld.texinfo (Bug Reporting): Update email address for reports.
2001-01-07 15:12:04 +00:00
Phil Blundell
46a04e3a1e
Update address for bug reports.
2001-01-07 15:11:26 +00:00
Phil Blundell
2f952d2010
Update address for bug reports.
2001-01-07 15:04:21 +00:00
Phil Blundell
5ad083e32d
Update address for bug reports.
2001-01-07 14:53:57 +00:00
Andreas Jaeger
3559069719
* config.sub, config.guess: Update from subversions.
2001-01-07 12:04:21 +00:00
Jan Hubicka
b96d3a207a
* configure.in: Define DEFAULT_ARCH for i386.
...
* tc-i386.c (md_assemble): Return after the error message;
move testing for 64bit operands to proper place.
* i386.exp: Add tests for presence of 32bit versus 64bit output
format; run both 64bit and 32bit tests when format is available;
add x86_64 test.
* x86_64.s: New file.
* x86_64.d: New file.
2001-01-06 12:36:04 +00:00
Andreas Jaeger
55b6267185
2001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
...
* doc/as.texinfo: Document '#' as comment character for i386 and
x86_64. Add AMD x86-64 into menu of machine dependent information.
* doc/c-i386.texi: Document x86_64 extensions.
2001-01-06 11:07:06 +00:00
Jan Hubicka
7bc70a8e57
* tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
...
* i386.h (i386_optab): Make [sml]fence template to use immext field.
2001-01-05 12:30:12 +00:00
Jan Hubicka
52b15da39a
* i386-dis.c: Add x86_64 support.
...
(rex): New static variable.
(REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants.
(USED_REX): New macro.
(Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros.
(OP_I64, OP_OFF64, OP_IMREG): New functions.
(OP_REG, OP_OFF): Declare.
(get64, get32, get32s): New functions.
(r??_reg): New constants.
(dis386_att): Change templates of instruction implicitly promoted
to 64bit; change e?? to RMe?? for unwind RM byte instructions.
(grps): Likewise.
(dis386_intel): Likewise.
(dixx86_64_att): New table based on dis386_att.
(dixx86_64_intel): New table based on dis386_intel.
(names64, names8rex): New global variable.
(names32, names16): Add extended registers.
(prefix_user_t): Recognize rex prefixes.
(prefix_name): Print REX prefixes nicely.
(op_riprel): New global variable.
(start_pc): Set type to bfd_vma.
(print_insn_i386): Detect the 64bit mode and use proper table;
move ckprefix after initializing the buffer; output unused rex prefixes;
output information about target of RIP relative addresses.
(putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S';
(print_operand_value): New function.
(OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for
REX prefix and new modes.
(get64, get32s): New.
(get32): Return bfd_signed_vma type.
(set_op): Initialize the op_riprel.
* disassemble.c (disassembler): Recognize the x86-64 disassembly.
2001-01-05 11:11:54 +00:00
Ben Elliston
63fe103861
2001-01-06 Ben Elliston <bje@redhat.com>
...
* cgen.sh: Allow extrafiles to include the semantics files when
generating an ISA-specific decoder.
2001-01-05 04:36:09 +00:00
Kazu Hirata
7eae7d229a
2001-01-04 Kazu Hirata <kazu@hxi.com>
...
* som.c: Fix formatting.
2001-01-04 23:27:08 +00:00
Michael Snyder
9dcb560c82
2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
...
* mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
2001-01-04 23:22:45 +00:00
Jan Hubicka
a167610dd0
* tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
...
* NEWS: Add note about Pentium4 support.
2001-01-04 21:27:56 +00:00
Nicholas Duffek
0e2fb98e8d
* valops.c (VALUE_SUBSTRING_START): Delete.
2001-01-04 19:58:32 +00:00
Nicholas Duffek
12cf3f1bf8
* Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
...
(SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
(cli_utils_h): New variable.
(cli/cli-utils.o): New rule.
* cli/cli-utils.c: New file.
* cli/cli-utils.h: New file.
2001-01-04 15:50:48 +00:00
Nicholas Duffek
cc533b9d85
* config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
...
REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
2001-01-04 15:46:22 +00:00
Nicholas Duffek
1c6147de4c
* gdbint.texinfo (POP_FRAME): Document use by return_command.
2001-01-04 15:39:28 +00:00
Kazu Hirata
3e932841da
2001-01-03 Kazu Hirata <kazu@hxi.com>
...
* ecoffswap.h: Fix formatting.
* elf-bfd.h: Likewise.
* elfarm-nabi.c: Likewise.
* elfarm-oabi.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-target.h: Likewise.
2001-01-03 22:53:39 +00:00
J.T. Conklin
ad2a4d0953
* alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in comment.
2001-01-03 21:12:18 +00:00
Kazu Hirata
509945ae4b
2001-01-03 Kazu Hirata <kazu@hxi.com>
...
* libbfd.c: Fix formatting.
* linker.c: Likewise.
* lynx-core.c: Likewise.
2001-01-03 19:26:07 +00:00
Jan Hubicka
09f131f2b6
* tc-i387.c (pi, pte, pt): Update.
...
(type_names): Add new types.
2001-01-03 16:27:41 +00:00
Jan Hubicka
6f8c0c4ccc
* tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
...
CpuUnknown): Renumber
(CpuP4, CpuSSE2): New.
(CpuUnknownFlags): Add CpuP4 and CpuSSE2
* i386.h (i386_optab): Fix 64bit pushf template; Add instructions
introduced by Pentium4
2001-01-03 15:36:26 +00:00
Frank Ch. Eigler
7e30bc3635
* generalization
...
2001-01-03 Richard Sandiford <r.sandiford@redhat.com>
cgen-dis.in (read_insn): Use bfd_get_bits()
2001-01-03 15:10:26 +00:00
Phil Blundell
b96ed59a57
2001-01-03 Philip Blundell <pb@futuretv.com>
...
* config/tc-alpha.c (alpha_force_relocation): Handle vtable
relocs.
(alpha_fix_adjustable): Likewise.
(md_apply_fix): Likewise.
2001-01-03 10:03:46 +00:00
Phil Blundell
2ffd68ef6e
2001-01-03 Philip Blundell <pb@futuretv.com>
...
* ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha.
* ld-shared/shared.exp: Likewise.
2001-01-03 09:51:52 +00:00
Michael Snyder
d19b71becf
2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* sh-tdep.c (sh_extract_return_value): Allow for small return type.
(sh_sh4_extract_return_value): Call sh_extract_return_value for
2001-01-02 23:51:35 +00:00
Michael Snyder
3cac1297fb
Remove prototypes for obsolete static functions.
2001-01-02 20:49:18 +00:00
Michael Snyder
72e22353b1
* sparc-tdep.c: update copyright notice.
2001-01-02 20:37:11 +00:00
Michael Snyder
779e876b68
Oops, fix typo in previous check-in.
2001-01-02 20:34:50 +00:00
Michael Snyder
8140e7acd1
2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* sparc-tdep.c (sparc-frame-chain): Fix typo in comment.
2001-01-02 20:32:50 +00:00
Michael Snyder
c347ee3e51
2000-12-20 Michael Snyder <msnyder@mvstp600e.cygnus.com>
...
* arch-utils.c (default_frame_address): New function. Default
implementation of frame_args_address and frame_locals_address.
* arch-utils.h (default_frame_address): Export.
* d10v-tdep.c (d10v_gdbarch_init): Use default_frame_address.
(d10v_frame_args_address, d10v_frame_locals_address): Delete.
* sh-tdep.c (sh_gdbarch_init): Use default_frame_address.
(sh_frame_args_address, sh_frame_locals_address): Delete.
* sparc-tdep.c (sparc_gdbarch_init): Use default_frame_address.
(sparc_frame_address): Delete.
2001-01-02 20:21:53 +00:00
Nick Clifton
ab32098a86
Fix msr-bsd test
2001-01-02 19:39:15 +00:00
Kazu Hirata
ee91ed7972
2001-01-02 Kazu Hirata <kazu@hxi.com>
...
* peicode.h: Fix formatting.
2001-01-02 19:22:56 +00:00
Kazu Hirata
892339eeeb
2001-01-02 Kazu Hirata <kazu@hxi.com>
...
* pc532-mach.c: Fix formatting.
* pe-arm.c: Likewise.
* pe-i386.c: Likewise.
* pe-mips.c: Likewise.
* pe-ppc.c: Likewise.
* pe-sh.c: Likewise.
* pei-mips.c: Likewise.
* pei-sh.c: Likewise.
* ppcboot.c: Likewise.
* ptrace-core.c: Likewise.
2001-01-02 18:58:44 +00:00
Frank Ch. Eigler
aed80daedf
* generalization
...
2001-01-02 Richard Sandiford <rsandifo@redhat.com>
* cgen-dis.c (hash_insn_array): Use bfd_put_bits().
(hash_insn_list): Likewise
* cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
(extract_1): Use bfd_get_bits().
(extract_normal): Apply sign extension to both extraction
methods.
* cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
(cgen_put_insn_value): Use bfd_put_bits()
2001-01-02 16:34:07 +00:00
Kazu Hirata
3d85563291
2001-01-01 Kazu Hirata <kazu@hxi.com>
...
* reloc.c: Fix formatting.
* riscix.c: Likewise.
* rs6000-core.c: Likewise.
* xcoff-target.h: Likewise.
2001-01-01 21:37:35 +00:00
Phil Blundell
7dc542b23c
2001-01-01 Philip Blundell <philb@gnu.org>
...
* ld-undefined/weak-undef.exp: New test.
* ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting
files for above.
2001-01-01 14:54:03 +00:00
Phil Blundell
4f38fc1c6c
2001-01-01 Philip Blundell <philb@gnu.org>
...
* ld-elfvers/vers.exp: Run test on Linux/ARM.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-shared/shared.exp: Likewise.
2001-01-01 14:52:34 +00:00
Phil Blundell
ca6489f958
2001-01-01 Philip Blundell <philb@gnu.org>
...
* gas/arm/adrl.s, gas/arm/pic.s, gas/arm/msr-bad.s: New tests.
* gas/arm/arm.exp: Run them.
* gas/arm/adrl.d, gas/arm/pic.d: Expected results for above.
* gas/arm/arm6.s: Also test uppercase `CPSR' and `SPSR'.
2001-01-01 13:43:06 +00:00
H.J. Lu
a735d1cdb9
2000-12-31 H.J. Lu <hjl@gnu.org>
...
* listing.c (listing_message): Allocate string only if it is
used.
* configure: Rebuild.
2001-01-01 01:51:17 +00:00
Nick Clifton
0fc3347a5c
Fix problems with new EXACTLY_TWO_DASHES command line switch option.
2000-12-31 19:56:04 +00:00
Hans-Peter Nilsson
67db5ab439
* doc/internals.texi (Relaxing with a table) <after relaxation>:
...
Point out caveats with generating fixups for the opcode in a frag.
2000-12-31 19:54:58 +00:00
Jan Hubicka
c0d8940f87
* configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
...
* NEWS: Add x86_64.
* i386.h (i386_optab): Add "rex*" instructions;
add swapgs; disable jmp/call far direct instructions for
64bit mode; add syscall and sysret; disable registers for 0xc6
template. Add 'q' suffixes to extendable instructions, disable
obsoletted instructions, add new sign/zero extension ones.
(i386_regtab): Add extended registers.
(*Suf): Add No_qSuf.
(q_Suf, wlq_Suf, bwlq_Suf): New.
2000-12-30 18:05:10 +00:00