Alan Modra [Fri, 3 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Fri, 3 Dec 2004 22:20:00 +0000 (22:20 +0000)]
* inf-ttrace.c: Include <sys/mman.h>.
(struct inf_ttrace_page): New.
(struct inf_ttrace_page_dict): New.
(inf_ttrace_num_threads_in_syscall)
(inf_ttrace_reenable_page_protections): New variables.
(inf_ttrace_enable_syscall_events)
(inf_ttrace_disable_syscall_events, inf_ttrace_get_page)
(inf_ttrace_remove_page, inf_ttrace_mask_page_protections)
(inf_ttrace_enable_page_protections)
(inf_ttrace_disable_page_protections)
(inf_ttrace_insert_watchpoint, inf_ttrace_remove_watchpoint)
(inf_ttrace_can_use_hw_breakpoint)
(inf_ttrace_region_size_ok_for_hw_watchpoint)
(inf_ttrace_stopped_by_watchpoint): New functions.
(inf_ttrace_him): Remove unsused varaible `tts'.
(inf_ttrace_create_inferior): Add assertionts.
(inf_ttrace_mourn_inferior): Clear page dictionary.
(inf_ttrace_attach): Set initial event mask.
(inf_ttrace_detach): Reset number of threads in system call.
(inf_ttrace_wait): Deal with system call events.
(inf_ttrace_target): Initialize "hardware" watchpoint-related
parts of the target vector.
(_initialize_inf_ttrace): New prototype and function.
Hans-Peter Nilsson [Fri, 3 Dec 2004 19:36:53 +0000 (19:36 +0000)]
* configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
* aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
(SIM_CHECK_MEMBERS): New macros.
* callback.c (cb_host_to_target_stat): Use temporary macro ST_x
for struct stat member test and write. Add ST_x calls for each
struct stat member tested in configure.in. Wrap each ST_x call in
#ifdef of configure macro for that member.
* configure, config.in: Regenerate.
Mark Kettenis [Fri, 3 Dec 2004 18:03:09 +0000 (18:03 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Use ULONGEST as
type of `gp' variable.
H.J. Lu [Fri, 3 Dec 2004 17:06:28 +0000 (17:06 +0000)]
2004-12-03 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/group1.d: Support 64bit.
Jan Beulich [Fri, 3 Dec 2004 13:59:36 +0000 (13:59 +0000)]
bfd/
2004-12-03 Jan Beulich <jbeulich@novell.com>
* elf.c (elf_find_function): Don't use the last file symbol ever,
seen, but the last one seen prior to the symbol being reported.
Don't report a filename at all for global symbols when that might
be ambiguous/wrong.
Richard Sandiford [Fri, 3 Dec 2004 10:47:07 +0000 (10:47 +0000)]
Introduce config/gxx-include-dir.m4.
Richard Sandiford [Fri, 3 Dec 2004 10:30:13 +0000 (10:30 +0000)]
Remove config.if.
Mark Mitchell [Fri, 3 Dec 2004 01:22:15 +0000 (01:22 +0000)]
* Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
* configure.in: Use it for arm*-*-linux-gnueabi*.
* config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
* config/te-armlinuxeabi.h: New file.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Regenerated.
Bob Wilson [Fri, 3 Dec 2004 01:00:07 +0000 (01:00 +0000)]
* config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
(xtensa_restore_emit_state): Likewise.
gdbadmin [Fri, 3 Dec 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Eric Christopher [Thu, 2 Dec 2004 23:51:19 +0000 (23:51 +0000)]
Use correct ChangeLog entry.
Eric Christopher [Thu, 2 Dec 2004 23:50:22 +0000 (23:50 +0000)]
2004-12-02 Eric Christopher <echristo@redhat.com>
* Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list of
things to remove.
* Makefile.in: Regenerate.
Alan Modra [Thu, 2 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Paul Brook [Thu, 2 Dec 2004 15:05:34 +0000 (15:05 +0000)]
2004-12-01 Paul Brook <paul@codesourcery.com>
* elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI.
(elf32_arm_post_process_headers): Set EI_OSABI depending on ABI
version.
Richard Sandiford [Thu, 2 Dec 2004 14:08:01 +0000 (14:08 +0000)]
* configure.in: Clear gcc_version_trigger if the file doesn't exist.
* configure: Regenerate.
Richard Sandiford [Thu, 2 Dec 2004 11:09:36 +0000 (11:09 +0000)]
Introduce and use config/gcc-version.m4.
Alan Modra [Thu, 2 Dec 2004 09:39:14 +0000 (09:39 +0000)]
* read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
(s_align): Use it.
gdbadmin [Thu, 2 Dec 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Paul Brook [Wed, 1 Dec 2004 23:23:12 +0000 (23:23 +0000)]
2004-12-01 Paul Brook <paul@codesourcery.com>
bfd/
* elflink.c (elf_link_add_object_symbols): Make symbols from discarded
sections undefined.
ld/testsuite/
* ld-elf/group1.d: New test.
* ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.
Alan Modra [Wed, 1 Dec 2004 23:00:09 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Wed, 1 Dec 2004 21:12:39 +0000 (21:12 +0000)]
* ld-selective/selective.exp: Use -print-libgcc-file-name for
ARM and v850 also.
Joel Brobecker [Wed, 1 Dec 2004 17:13:44 +0000 (17:13 +0000)]
* alpha-tdep.c (alpha_register_name): Add comment.
(alpha_cannot_fetch_register): Exclude registers numbers which
are no longer used from the list of registers that can be fetched.
(alpha_cannot_store_register): Exclude registers numbers which
are no longer used from the list of registers that can be stored.
* alpha-nat.c (fetch_osf_core_registers): Add missing value in
core_reg_mapping array.
Joel Brobecker [Wed, 1 Dec 2004 17:05:45 +0000 (17:05 +0000)]
* alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch
the register value from the correct frame.
Andrew Cagney [Wed, 1 Dec 2004 15:41:27 +0000 (15:41 +0000)]
Delete h8500 simulator, gdb droped h8500 in 6.1.
Andrew Cagney [Wed, 1 Dec 2004 15:27:21 +0000 (15:27 +0000)]
Delete i960; deleted from GDB long long ago.
Hans-Peter Nilsson [Wed, 1 Dec 2004 13:53:28 +0000 (13:53 +0000)]
Oops, forgot to save ChangeLog before committing
Randolph Chung [Wed, 1 Dec 2004 06:58:57 +0000 (06:58 +0000)]
2004-11-30 Randolph Chung <tausq@debian.org>
* hppa-linux-tdep.c (insns_match_pattern_relaxed): New function.
(hppa_linux_in_dyncall): Check that we are inside the range of
$$dyncall, not necessarily at the first insn.
(hppa_linux_in_solib_call_trampoline): Identify a trampoline
even if the pc does not point to the first insn of the trampoline.
Randolph Chung [Wed, 1 Dec 2004 06:56:21 +0000 (06:56 +0000)]
2004-11-30 Randolph Chung <tausq@debian.org>
* gdb.threads/thread_check.exp: Use ${srcfile} for test program name
instead of "tbug". Fix regexp to work properly with gdb_test.
Randolph Chung [Wed, 1 Dec 2004 06:54:56 +0000 (06:54 +0000)]
2004-11-30 Randolph Chung <tausq@debian.org>
* breakpoint.c (break_at_finish_command): Delete.
(break_at_finish_command_1): Delete.
(break_at_finish_at_depth_command): Delete.
(break_at_finish_at_depth_command_1): Delete.
(tbreak_at_finish_command): Delete.
* hppa-tdep.c (_initialize_hppa_tdep): Remove deprecated xbreak, tbreak
and bx commands.
Hans-Peter Nilsson [Wed, 1 Dec 2004 02:32:08 +0000 (02:32 +0000)]
Update copyright year
Hans-Peter Nilsson [Wed, 1 Dec 2004 02:30:49 +0000 (02:30 +0000)]
* Makefile.in (stamp-desc): Specify opcfile.
Hans-Peter Nilsson [Wed, 1 Dec 2004 02:29:30 +0000 (02:29 +0000)]
* cgen.sh: New thirteenth parameter opcfile, defaulting to
/dev/null.
<case desc>: Pass -OPC opcfile.
* Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth
parameter to cgen.sh.
gdbadmin [Wed, 1 Dec 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Danny Smith [Tue, 30 Nov 2004 23:54:53 +0000 (23:54 +0000)]
* scripttempl/pe.sc (.data): Add .jcr subsection.
Alan Modra [Tue, 30 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Paul Brook [Tue, 30 Nov 2004 17:45:54 +0000 (17:45 +0000)]
2004-11-30 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (struct elf32_arm_link_hash_table): Remove
no_pipeline_knowledge
(elf32_arm_link_hash_table_create): Ditto.
(bfd_elf32_arm_process_before_allocation): Ditto.
(elf32_arm_final_link_relocate): Ditto. Remove oabi relocation
handling.
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
prototype.
* bfd-in2.h: Regenerate.
ld/
* emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
Nick Clifton [Tue, 30 Nov 2004 17:20:48 +0000 (17:20 +0000)]
Change LOCALEDIR to $(datadir)/share.
Andrew Cagney [Tue, 30 Nov 2004 15:15:27 +0000 (15:15 +0000)]
2004-11-30 Andrew Cagney <cagney@gnu.org>
* config/nm-gnu.h: Delete file.
* config/i386/nm-i386gnu.h: Inline "config/nm-gnu.h".
Andrew Cagney [Tue, 30 Nov 2004 15:05:20 +0000 (15:05 +0000)]
2004-11-30 Andrew Cagney <cagney@gnu.org>
* config/nm-sysv4.h: Delete file.
* config/i386/nm-i386v4.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386v42mp.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386sol2.h: Inline "config/nm-sysv4.h".
* config/ia64/nm-aix.h: Inline "config/nm-sysv4.h".
* config/mips/nm-irix5.h: Inline "config/nm-sysv4.h".
Richard Earnshaw [Tue, 30 Nov 2004 13:44:13 +0000 (13:44 +0000)]
* Make-common.in (sim-basics_h): Correct dependencies on
cconfig.h and tconfig.h
(sim-load.o): Correct typo in sim-basics_h dependency.
DJ Delorie [Tue, 30 Nov 2004 03:01:37 +0000 (03:01 +0000)]
merge from gcc
Alan Modra [Tue, 30 Nov 2004 00:50:36 +0000 (00:50 +0000)]
* elf32-hppa.c (elf32_hppa_grok_prstatus): New function.
(elf32_hppa_grok_psinfo): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
gdbadmin [Tue, 30 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 29 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 29 Nov 2004 22:29:45 +0000 (22:29 +0000)]
2004-11-29 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Add Randolph Chung (pa), Jeff Johnston (ia64), Kei
Sakamoto (m32r), Joel Brobecker (mips), and Ulrich Weigand (s390)
as can-commit architecture developers.
Mark Kettenis [Mon, 29 Nov 2004 19:52:44 +0000 (19:52 +0000)]
* sparc-tdep.c (X_RS1, X_SIMM13): New macros.
(sparc32_skip_prologue): Skip instructions that store arguments in
registers into their corresponding stack slots.
Tomer Levi [Mon, 29 Nov 2004 16:36:50 +0000 (16:36 +0000)]
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* opcode/crx.h (enum operand_type): Rename rbase_cst4 to rbase_dispu4.
Remove redundant instruction types.
(struct argument): X_op - new field.
(struct cst4_entry): Remove.
(no_op_insn): Declare.
Tomer Levi [Mon, 29 Nov 2004 16:34:35 +0000 (16:34 +0000)]
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed.
(no_op_insn): Initialize array with instructions that have no
operands.
* crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand swapping.
Tomer Levi [Mon, 29 Nov 2004 16:31:22 +0000 (16:31 +0000)]
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/br_insn.d: Fix error in expected disassembly.
Tomer Levi [Mon, 29 Nov 2004 16:24:58 +0000 (16:24 +0000)]
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/br_insn.d: Fix error in expected disassembly.
Tomer Levi [Mon, 29 Nov 2004 16:23:10 +0000 (16:23 +0000)]
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation handling.
Tomer Levi [Mon, 29 Nov 2004 16:21:50 +0000 (16:21 +0000)]
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
handling.
Mark Kettenis [Mon, 29 Nov 2004 15:53:13 +0000 (15:53 +0000)]
* config/m68k/nbsdaout.mh (NAT_FILE): Set to solib.h instead of
tm-solib.h.
* config/m68k/obsd.mh (NAT_FILE): Likewise.
Mark Kettenis [Mon, 29 Nov 2004 15:20:28 +0000 (15:20 +0000)]
* sparc-tdep.h (sparc32nbsd_elf_init_abi): New prototype.
* sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Make global.
* sparcobsd-tdep.c (sparc32obsd_init_abi): Call
sparc32nbsd_elf_init_abi. Remove duplicate code.
Nick Clifton [Mon, 29 Nov 2004 15:09:28 +0000 (15:09 +0000)]
Fixed a pcrel relocte miss between different section in the same module.
Hans-Peter Nilsson [Mon, 29 Nov 2004 11:52:11 +0000 (11:52 +0000)]
* cris.cpu: New file.
Mark Kettenis [Mon, 29 Nov 2004 11:20:10 +0000 (11:20 +0000)]
* config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h.
* config/sparc/nbsdelf.mh (NAT_FILE): Remove variable.
* config/sparc/nm-nbsd.h: Remove file.
* config/sparc/nm-nbsdaout.h: Remove file.
Richard Earnshaw [Mon, 29 Nov 2004 10:12:57 +0000 (10:12 +0000)]
* arm-dis.c: Correct top-level comment.
Paul N. Hilfinger [Mon, 29 Nov 2004 09:11:20 +0000 (09:11 +0000)]
* gdb.base/bitfields2.exp: New test.
* gdb.base/bitfields2.c: New file.
Mark Kettenis [Mon, 29 Nov 2004 08:41:56 +0000 (08:41 +0000)]
* sparc-nat.c (inf_ptrace_xfer_partial): New variable.
(sparc_xfer_partial): New function.
(sparc_target): Save value of to_xfer_partial from ptrace vector.
Set to_xfer_partial.
Mark Kettenis [Mon, 29 Nov 2004 08:37:14 +0000 (08:37 +0000)]
* fork-child.c (fork_inferior): Fork instead of vfork if
PRE_TRACE_FUN is non-null.
gdbadmin [Mon, 29 Nov 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Richard Earnshaw [Sun, 28 Nov 2004 23:17:33 +0000 (23:17 +0000)]
* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
Alan Modra [Sun, 28 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 28 Nov 2004 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 27 Nov 2004 23:00:45 +0000 (23:00 +0000)]
daily update
Richard Earnshaw [Sat, 27 Nov 2004 11:18:29 +0000 (11:18 +0000)]
Tweak last entry.
Richard Earnshaw [Sat, 27 Nov 2004 11:12:19 +0000 (11:12 +0000)]
* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at end
of dump pattern.
Richard Earnshaw [Sat, 27 Nov 2004 11:09:21 +0000 (11:09 +0000)]
* arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the
architecuture defining the insn.
(arm_opcodes, thumb_opcodes): Delete. Move to ...
* arm-dis.c (arm_opcodes, thumb_opcodes): Here.
Also include opcode/arm.h.
* Makefile.am (arm-dis.lo): Update dependency list.
* Makefile.in: Regenerate.
gdbadmin [Sat, 27 Nov 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Dave Anglin [Fri, 26 Nov 2004 23:57:58 +0000 (23:57 +0000)]
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
(hppa*64*-*-*): Delete incorrect comment.
* configure: Rebuilt.
Alan Modra [Fri, 26 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update
Nick Clifton [Fri, 26 Nov 2004 16:23:03 +0000 (16:23 +0000)]
Add support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.
Nick Clifton [Fri, 26 Nov 2004 09:42:04 +0000 (09:42 +0000)]
Add support for --subsystem:xbox as well as --subsystem:<number>.
gdbadmin [Fri, 26 Nov 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 25 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Thu, 25 Nov 2004 20:15:00 +0000 (20:15 +0000)]
Really fix it.
H.J. Lu [Thu, 25 Nov 2004 20:10:03 +0000 (20:10 +0000)]
2004-11-25 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/group-1.d: Adjust expected secion ordering.
Jan Beulich [Thu, 25 Nov 2004 08:42:54 +0000 (08:42 +0000)]
gas/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (optimize_imm): Adjust immediates to only those
permissible for the selected instruction suffix.
(process_suffix): For DefaultSize instructions, suppressing the
guessing of a 'q' suffix if the instruction doesn't support it is
pointless, because only an 'l' suffix can be guessed in this place.
gas/testsuite/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-inval.[sl]: Remove sahf/lahf.
include/opcode/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves
to/from test registers are illegal in 64-bit mode. Add missing
NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix
(previously one had to explicitly encode a rex64 prefix). Re-enable
lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings
support it there. Add cmpxchg16b as per Intel's 64-bit documentation.
Fred Fish [Thu, 25 Nov 2004 02:48:27 +0000 (02:48 +0000)]
Approved by Kevin Buettner <kevinb@redhat.com>
2004-11-24 Fred Fish <fnf@specifixinc.com>
* rs6000-tdep.c (skip_prologue): Use line table info to skip over
compiler generated function calls made as part of a prologue.
H.J. Lu [Thu, 25 Nov 2004 02:14:10 +0000 (02:14 +0000)]
2004-11-24 H.J. Lu <hongjiu.lu@intel.com>
PR 574:
* elfcode.h (elf_slurp_symbol_table): Handle STT_TLS.
Paul Brook [Thu, 25 Nov 2004 00:56:00 +0000 (00:56 +0000)]
2004-11-24 Paul Brook <paul@codesourcery.com>
bfd/
* elf.c (assign_section_numbers): Number SHT_GROUP sections first.
gas/testsuite/
* gas/elf/group0a.d: Adjust expected secion ordering.
* gas/elf/group1a.d: Ditto.
* gas/elf/section4.d: Ditto.
gdbadmin [Thu, 25 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 24 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update
Paul Brook [Wed, 24 Nov 2004 14:44:47 +0000 (14:44 +0000)]
2004-11-24 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (elf32_arm_swap_symbol_in): New function.
(elf32_arm_swap_symbol_out): New function.
(elf32_arm_size_info): Add.
(elf_backend_size_info): Define.
ld/testsuite/
* ld-arm/mixed-lib.sym: Update for THUMB_FUNC change.
Nick Clifton [Wed, 24 Nov 2004 13:23:53 +0000 (13:23 +0000)]
Remove IQ10 support from IQ2000 port
Nick Clifton [Wed, 24 Nov 2004 12:03:30 +0000 (12:03 +0000)]
Add checks for other variants of the sr and st instruction.
Alan Modra [Wed, 24 Nov 2004 11:30:17 +0000 (11:30 +0000)]
* ldexp.c (fold_name): Correct PR 338 fix.
DJ Delorie [Wed, 24 Nov 2004 03:00:34 +0000 (03:00 +0000)]
merge from gcc
gdbadmin [Wed, 24 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 23 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Tue, 23 Nov 2004 21:14:33 +0000 (21:14 +0000)]
* inf-ttrace.c: New file.
* inf-ttrace.h: New file.
* hppa-hpux-nat.c [HAVE_TTRACE]: Include <sys/ttrace>.
Include "inf-ttrace.h".
(ss_mpsfu_high): Define to ss_tlsp if necessary.
(hppa_hpux_fetch_register, hppa_hpux_store_register): Use
ptid_get_pid instead of PIDGET. Modify to handle both ttrace and
ptrace systems.
(_initialize_hppa_hpux_nat) [HAVE_TTRACE]: Call inf_ttrace_traget
instead of inf_ptrace_target.
* config/pa/hpux.mh (NATDEPFILES): Add inf-ttrace.o.
* Makefile.in (inf_ttrace_h): New variable.
(hppa-hpux-nat.o): Update dependency.
(inf-ttrace.o): New dependency.
(ALLDEPFILES): Add inf-ptrace.c and inf-ttrace.c.
Randolph Chung [Tue, 23 Nov 2004 21:05:23 +0000 (21:05 +0000)]
2004-11-23 Randolph Chung <tausq@debian.org>
* arch-utils.c (generic_instruction_nullified): New.
* arch-utils.h (generic_instruction_nullified): New.
* gdbarch.sh (instruction_nullified): New method.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* infrun.c (INSTRUCTION_NULLIFIED): Delete.
(handle_inferior_event): Replace INSTRUCTION_NULLIFIED with calls to
new gdbarch method.
* config/pa/tm-hppa.h (INSTRUCTION_NULLIFIED): Delete definition.
* hppa-tdep.c (hppa_instruction_nullified): Remove prototype and make
static. Rewrite to work directly off the passed regcache.
(hppa_gdbarch_init): Set instruction_nullified method.
Randolph Chung [Tue, 23 Nov 2004 19:51:35 +0000 (19:51 +0000)]
2004-11-16 Randolph Chung <tausq@debian.org>
* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
Joel Brobecker [Tue, 23 Nov 2004 18:59:14 +0000 (18:59 +0000)]
* sparc-tdep.c (sparc_is_unimp_insn): New function.
(sparc32_frame_cache): For functions where there is no debugging
information to help us determine whether it's a struct-return
function or not, fallback on checking whether the instruction
at the return address is an "unimp" instruction or not.
Nick Clifton [Tue, 23 Nov 2004 14:49:12 +0000 (14:49 +0000)]
* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.
They should be correct now.
* gas/mn10300/relax.s: Add further tests of the relaxing of branch instructions.
* gas/mn10300/relax.d: Add expected relocations.
Eli Zaretskii [Tue, 23 Nov 2004 12:12:15 +0000 (12:12 +0000)]
Fix last change.
Eli Zaretskii [Tue, 23 Nov 2004 12:05:28 +0000 (12:05 +0000)]
* gdb.texinfo (Files): Add cross-reference to description of
-readnow command-line switch.
Jan Beulich [Tue, 23 Nov 2004 07:55:12 +0000 (07:55 +0000)]
gas/
2004-11-23 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
indicate the MMX extensions added by both SSE and 3DNow!A.
(Cpu3dnowA): Declare.
(CpuUnknownFlags): Update.
* config/tc-i386.c (cpu_sub_arch_name): Declare.
(cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
3DNow!. Athlon additionally implies 3DNow!A. Several new
entries (those starting with a dot are for sub-arch specification).
(set_cpu_arch): Handle sub-arch specifications.
(parse_insn): Distinguish between instructions not supported because
of insufficient CPU features and because of 64-bit mode.
* doc/c-i386.texi: Describe enhanced .arch directive.
include/opcode/
2004-11-23 Jan Beulich <jbeulich@novell.com>
* i386.h (i386_optab): paddq and psubq, even in their MMX form, are
available only with SSE2. Change the MMX additions introduced by SSE
and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A
instructions by their now designated identifier (since combining i686
and 3DNow! does not really imply 3DNow!A).