OSDN Git Service
cagney [Fri, 29 Jun 2001 04:41:19 +0000 (04:41 +0000)]
* remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
(get_hex_word): Don't use HOST_BYTE_ORDER.
(array_fetch_registers): Add variable ``reg''. Use
store_unsigned_integer to byte-swap the register. Delete unused
local ``regs''.
cagney [Fri, 29 Jun 2001 03:01:33 +0000 (03:01 +0000)]
Per Bothner as Java maintainer (joint).
cgf [Fri, 29 Jun 2001 02:20:01 +0000 (02:20 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Return 0 for success.
cagney [Fri, 29 Jun 2001 01:19:22 +0000 (01:19 +0000)]
* rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
* rdi-share/hostchan.h (__unix): Hack, provide a default value.
* rdi-share/host.h (__unix): Hack, define when __NetBSD__.
* TODO: Update.
* MAINTAINERS: Update. arm-elf builds.
geoffk [Fri, 29 Jun 2001 00:09:16 +0000 (00:09 +0000)]
* cgen-asm.c (cgen_parse_keyword): Allow any first character.
* cgen-opc.c (cgen_keyword_add): Ignore special first
character when building nonalpha_chars field.
gdbadmin [Fri, 29 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
bje [Thu, 28 Jun 2001 23:41:02 +0000 (23:41 +0000)]
2001-06-29 Ben Elliston <bje@redhat.com>
* sidcomp.interrupt/cma222-interrupt.exp: Return the right
component type name if the target is not available in the
configuration.
jimb [Thu, 28 Jun 2001 23:12:18 +0000 (23:12 +0000)]
* d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
jimb [Thu, 28 Jun 2001 22:10:41 +0000 (22:10 +0000)]
* d10v-tdep.c (10v_frame_chain_valid, d10v_use_struct_convention,
d10v_breakpoint_from_pc, d10v_register_byte,
d10v_register_raw_size, d10v_register_virtual_size,
d10v_register_virtual_type, d10v_register_convertible,
d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
d10v_store_struct_return, d10v_store_return_value,
d10v_extract_struct_value_address, d10v_frame_saved_pc,
d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
d10v_frame_chain, d10v_frame_init_saved_regs,
d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
d10v_push_return_address, d10v_push_arguments,
d10v_extract_return_value): Make these functions static.
cagney [Thu, 28 Jun 2001 22:01:19 +0000 (22:01 +0000)]
* gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
of files to delete.
From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
* gdb.disasm/h8300s.exp: New file.
gdb.disasm/h8300s.s: Likewise.
jjohnstn [Thu, 28 Jun 2001 21:55:23 +0000 (21:55 +0000)]
2001-06-28 Jeff Johnston <jjohnstn@redhat.com>
* hw-cpu-m32r.txt: Remove debug-exec? setting references.
* m32rbf.cxx (m32r_cpu::memory_trap): Remove
error message code under control of removed debug_exec_p flag.
jjohnstn [Thu, 28 Jun 2001 21:54:08 +0000 (21:54 +0000)]
2001-06-28 Jeff Johnston <jjohnstn@redhat.com>
* compCGEN.cxx (cgen_cpu::stream_state): Change reference to
debug_exec_p to use new warnings_enabled flag.
(cgen_cpu::destream_state): Ditto.
(cgen_bi_endian_cpu::cgen_bi_endian_cpu): Remove
debug_exec_p setting and add warnings_enabled flag which is tied to new enable-warnings? setting.
* cgen-cpu.h (cgen_bi_endian_cpu::debug_exec_p): Removed.
(cgen_bi_endian_cpu::warnings_enabled): New member.
jjohnstn [Thu, 28 Jun 2001 21:52:56 +0000 (21:52 +0000)]
2001-06-28 Jeff Johnston <jjohnstn@redhat.com>
* arm7f.cxx (arm7f_cpu::memory_trap): Remove code under now
non-existent debug_exec_p flag.
(arm7f_cpu::arm_tbit_set): Change reference to debug_exec_p to
use new warnings_enabled flag.
* hw-cpu-arm7t.txt: Change all debug-exec? references to
enable-warnings?.
cagney [Thu, 28 Jun 2001 21:48:40 +0000 (21:48 +0000)]
From Fernando Nasser:
* infrun.c (handle_inferior_event): Handle "nexti" inside function
prologues.
msnyder [Thu, 28 Jun 2001 21:34:03 +0000 (21:34 +0000)]
2001-06-28 Michael Snyder <msnyder@redhat.com>
* infrun.c (handle_inferior_event): Replace prev_pc test in all
calls to bpstat_stop_status (removed in 1999-09-24). This test
helps distinguish stepping over a breakpoint trap from stepping
thru a jump to the instruction after a breakpoint trap.
(handle_inferior_event): Don't bother writing the PC if
DECR_PC_AFTER_BREAK is zero (optimization).
* breakpoint.c (bpstat_stop_status): Add comment explaining the
purpose and usage of the "not_a_breakpoint" argument in computing
the breakpoint address.
cagney [Thu, 28 Jun 2001 20:03:09 +0000 (20:03 +0000)]
From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* monitor.c (setmem_resp_delim_pattern): New regexp pattern.
(setreg_resp_delim_pattern): Likewise.
(setmem_resp_delim_fastmap): New buffer.
(setreg_resp_delim_fastmap): Likewise.
(monitor_open): Initialize above regexp if they are defined.
(monitor_write_memory): Use regexp to check the result of write.
(monitor_store_register): Likewise to check result of register set.
cagney [Thu, 28 Jun 2001 19:54:41 +0000 (19:54 +0000)]
From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
* coff-solib.c: Include symfile.h and objfiles.h to make
OBJF_SHARED visible.
cagney [Thu, 28 Jun 2001 19:14:22 +0000 (19:14 +0000)]
Some how this never got removed when ChangeLog was created :-(
cagney [Thu, 28 Jun 2001 19:04:10 +0000 (19:04 +0000)]
Build MI by default.
amodra [Thu, 28 Jun 2001 13:58:36 +0000 (13:58 +0000)]
* readelf.c (GET_DATA_ALLOC): Remove.
(GET_DATA): Remove.
(get_data): New function combining above macros, with an extra
test for zero size.
Use get_data, and catch error return throughout file.
nickc [Thu, 28 Jun 2001 10:40:08 +0000 (10:40 +0000)]
Handle ARMs with big endian IEEE words but little endian IEEE bytes
brobecke [Thu, 28 Jun 2001 10:38:12 +0000 (10:38 +0000)]
Add entry for change in solib-osf.c (osf_in_dynsym_resolve_code).
brobecke [Thu, 28 Jun 2001 10:36:19 +0000 (10:36 +0000)]
(osf_in_dynsym_resolve_code): Add a comment explaining the consequences of
always returning zero. No code change.
bje [Thu, 28 Jun 2001 09:20:07 +0000 (09:20 +0000)]
2001-06-28 Ben Elliston <bje@redhat.com>
* sidcomp.cfgroot/CBinvaName.badconf: Remove ARM-specific parts.
* sidcomp.cfgroot/CBinvaComp.badconf: Likewise.
* sidcomp.cfgroot/CPinvaPin.badconf: Likewise.
* sidcomp.cfgroot/multiCB.badconf: Likewise.
* sidcomp.cfgroot/multiCP.badconf: Likewise.
* sidcomp.cfgroot/CBinvaName.expect: Update to reflect new errors.
* sidcomp.cfgroot/CBinvaComp.expect: Likewise.
* sidcomp.cfgroot/CPinvaPin.expect: Likewise.
* sidcomp.cfgroot/multiCB.expect: Likewise.
* sidcomp.cfgroot/multiCP.expect: Likewise.
bje [Thu, 28 Jun 2001 07:51:59 +0000 (07:51 +0000)]
2001-06-28 Ben Elliston <bje@redhat.com>
* sidcomp.cfgroot/setInvAtt.badconf: Remove ARM-specific parts.
* sidcomp.cfgroot/setInvAttV.badconf: Likewise.
* sidcomp.cfgroot/setInvComp.badconf: Likewise.
* sidcomp.cfgroot/wrongOrd3.badconf: Likewise.
* sidcomp.cfgroot/setInvAtt.expect: Update to reflect new errors.
* sidcomp.cfgroot/setInvAttV.expect: Likewise.
* sidcomp.cfgroot/setInvComp.expect: Likewise.
* sidcomp.cfgroot/wrongOrd3.expect: Likewise.
cagney [Thu, 28 Jun 2001 04:31:35 +0000 (04:31 +0000)]
From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
* defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
to TARGET_SIGNAL_REALTIME_127.
* target.c (struct signals): Add SIG63 to SIG127.
(target_signal_from_host): Handle up to 127 signals.
(do_target_signal_to_host): Likewise.
bje [Thu, 28 Jun 2001 03:51:10 +0000 (03:51 +0000)]
2001-06-28 Ben Elliston <bje@redhat.com>
* arm.h: Formatting cleanups.
* arm.cxx: Likewise.
* components.h: Likewise.
cagney [Thu, 28 Jun 2001 03:40:27 +0000 (03:40 +0000)]
* remote-sds.c (sds_start_remote): Change type of ``c'' to int
from possibly unsigned char.
cagney [Thu, 28 Jun 2001 03:33:25 +0000 (03:33 +0000)]
Exterminate ser-ocd.c.
cgf [Thu, 28 Jun 2001 02:46:11 +0000 (02:46 +0000)]
* regtool.cc (find_key): Revert previous change.
cagney [Thu, 28 Jun 2001 02:40:38 +0000 (02:40 +0000)]
Dan Berlin stepped down as C++ maintainer.
cagney [Thu, 28 Jun 2001 02:37:01 +0000 (02:37 +0000)]
Sort write after approval.
cgf [Thu, 28 Jun 2001 02:19:57 +0000 (02:19 +0000)]
Change check_null_empty_path* to check_null_empty_str* throughout.
* path.cc (path_conv::check): Add signal protection here since retrieving info
about remote shares can take some time.
* path.h (check_null_empty_str_errno): Convert to a function prototype.
* path.cc (check_null_empty_str): Move to miscfuncs.cc.
* miscfuncs.cc (check_null_empty_str_errno): New function.
(__check_null_invalid_struct): Ditto.
(__check_null_invalid_struct_errno): Ditto.
(check_null_empty_str): Change from VirtualQuery to IsBadWritePtr.
* thread.cc (check_valid_pointer): Ditto.
* resource.cc (getrlimit): Use check_null_invalid_struct macro for checking
validity of pointer.
(setrlimit): Ditto.
gdbadmin [Thu, 28 Jun 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Wed, 27 Jun 2001 17:38:40 +0000 (17:38 +0000)]
* regtool.cc (find_key): Allow '/' as a synonym for '\\'.
cagney [Wed, 27 Jun 2001 17:27:06 +0000 (17:27 +0000)]
For MI>0, output full breakpoint table header information. Output the
breakpoint table body as a list.
nickc [Wed, 27 Jun 2001 08:49:42 +0000 (08:49 +0000)]
Do not set finalize_syms until after the segments have been sized.
Some backends may still need to access the syms's frags in order to
adjust relaxed frags.
amodra [Wed, 27 Jun 2001 08:42:28 +0000 (08:42 +0000)]
* emulparams/hppa64linux.sh: New file.
* configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
* Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
(ehppa64linux.c): Add rule to make it.
Run "make dep-am".
* Makefile.in: Regenerate.
nickc [Wed, 27 Jun 2001 08:15:51 +0000 (08:15 +0000)]
Use MVN to build simple inverted constants.
amodra [Wed, 27 Jun 2001 07:02:24 +0000 (07:02 +0000)]
* write.c (fixup_segment <Difference of 2 syms same seg>): Don't
subtract MD_PCREL_FROM_SECTION for 68k.
(fixup_segment <Difference of 2 syms different seg>): Only fudge
by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
amodra [Wed, 27 Jun 2001 03:14:47 +0000 (03:14 +0000)]
* write.c (fixup_segment <Difference of 2 syms same seg>): If
pcrel, subtract MD_PCREL_FROM_SECTION value.
amodra [Wed, 27 Jun 2001 02:42:08 +0000 (02:42 +0000)]
Avoid creating COPY relocs.
* elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic
here..
(elf32_hppa_adjust_dynamic_symbol): ..nor here..
(allocate_plt_and_got_and_discard_relocs): .. instead do so here
after gc has run.
* elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete.
(IS_ABSOLUTE_RELOC): Define.
(elf32_hppa_link_hash_entry): Always include reloc_entries field.
(hppa_link_hash_newfunc): Always init it.
(elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to
create COPY relocs only when the reloc is in a read-only section.
Instead, allocate space for a dynamic reloc to reference the
library symbol directly. Keep track of space we allocate using
relocs_entries.
(hppa_discard_copies): Delete, and move code to..
(allocate_plt_and_got): ..here. Rename to
allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic
relocs for non-shared link.
(elf32_hppa_size_dynamic_sections): Update calls to above.
(elf32_hppa_relocate_section): Write out the dynamic relocs used
in lieu of COPY relocs.
amodra [Wed, 27 Jun 2001 01:46:16 +0000 (01:46 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
here..
(elf_i386_adjust_dynamic_symbol): ..nor here..
(allocate_plt_and_got_and_discard_relocs): .. instead do so here
after gc has run.
(elf_i386_size_dynamic_sections): Fix a comment.
(elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code
involved in writing reloc out.
cagney [Wed, 27 Jun 2001 00:09:00 +0000 (00:09 +0000)]
Always send the breakpoint table headers to ui-out. MI/CLI can
internally decide if they should be displayed.
gdbadmin [Wed, 27 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Tue, 26 Jun 2001 21:03:08 +0000 (21:03 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Don't rely on exactly 3 characters
being read for executable test since we could be checking for less than that.
* syscalls.cc (stat_worker): Try opening the file the "correct" way first so
that #! processing can potentially happen. If that fails, then use "query
open" method.
* spawn.cc (spawn_guts): Delay processing of signal until after we've notified
parent about reparenting.
fche [Tue, 26 Jun 2001 20:46:04 +0000 (20:46 +0000)]
* build tweaks
2001-06-26 Frank Ch. Eigler <fche@redhat.com>
* Makefile.am (ACLOCAL_AMFLAGS): Refer to $srcdir.
* Makefile.in: Regenerated.
cagney [Tue, 26 Jun 2001 19:11:48 +0000 (19:11 +0000)]
delete reference to query output
fche [Tue, 26 Jun 2001 18:52:12 +0000 (18:52 +0000)]
* historical revisionism
cagney [Tue, 26 Jun 2001 18:50:51 +0000 (18:50 +0000)]
* mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
"locals" entries.
* gdbmi.texinfo (stack-list-locals, stack-list-arguments)
(exec-interrupt, target-select, thread-select): Update
documentation.
* mi-stack.exp: Update. Output for args=... and
locals=... changed to a list.
cagney [Tue, 26 Jun 2001 18:13:45 +0000 (18:13 +0000)]
* mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
"stack" entries.
(mi_cmd_stack_list_args): Ditto for "stack-args".
* gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update
documentation.
(GDB/MI Stack Manipulation Commands): Fix section title. Was
Stack Manipulation Commands in GDB/MI.
* mi-stack.exp: Update. Output for stack=..., args=... and
stack-args=... changed to a list.
cgf [Tue, 26 Jun 2001 14:57:33 +0000 (14:57 +0000)]
Remove trailing tabs.
cgf [Tue, 26 Jun 2001 14:47:47 +0000 (14:47 +0000)]
* mmap.cc: Clean up *ResourceLock calls throughout.
* thread.cc (pthread_cond::TimedWait): Check for WAIT_TIMEOUT as well as
WAIT_ABANDONED.
(__pthread_cond_timedwait): Calculate a relative wait from the abstime
parameter.
cagney [Tue, 26 Jun 2001 05:12:37 +0000 (05:12 +0000)]
Unscramble two merged patches. This puts memory lists back to normal.
cagney [Tue, 26 Jun 2001 04:48:46 +0000 (04:48 +0000)]
* stack.c (print_frame): For ui_out, output a list of arguments.
Update all tests. Update doco.
kevinb [Tue, 26 Jun 2001 00:41:43 +0000 (00:41 +0000)]
Update paper trail entry.
msnyder [Tue, 26 Jun 2001 00:26:40 +0000 (00:26 +0000)]
2001-06-25 Michael Snyder <msnyder@redhat.com>
* infrun.c: Eliminate the "thread_step_needed" state variable,
and replace it with a relatively simple test in resume.
(resume): Replace thread_step_needed logic with a test for
stepping, breakpoint_here_p and breakpoints_inserted.
Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
(proceed): Discard thread_step_needed logic.
(wait_for_inferior, fetch_inferior_event, handle_inferior_event):
Discard thread_step_needed logic.
gdbadmin [Tue, 26 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Mon, 25 Jun 2001 21:05:11 +0000 (21:05 +0000)]
Update data-read-memory so that it outputs lists.
cagney [Mon, 25 Jun 2001 20:08:52 +0000 (20:08 +0000)]
For data-list-register-values output a list of register values.
cagney [Mon, 25 Jun 2001 19:02:17 +0000 (19:02 +0000)]
Output register-names as a list.
cagney [Mon, 25 Jun 2001 18:34:24 +0000 (18:34 +0000)]
data-list-changed-registers outputs a list of registers.
fche [Mon, 25 Jun 2001 18:21:24 +0000 (18:21 +0000)]
* api update leftovers
2001-06-25 Frank Ch. Eigler <fche@redhat.com>
* armeit.tcl (write_h4_l1): Adapt to new bus::status encoding.
fche [Mon, 25 Jun 2001 17:49:33 +0000 (17:49 +0000)]
* added RCS date tag
amodra [Mon, 25 Jun 2001 08:16:44 +0000 (08:16 +0000)]
* elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
Ensure syms are dynamic if we might be emitting a reloc.
(allocate_plt_and_got_and_discard_relocs): Don't discard relocs
for undefweak or undefined syms..
(elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit.
bje [Mon, 25 Jun 2001 07:57:09 +0000 (07:57 +0000)]
2001-06-24 Ben Elliston <bje@redhat.com>
* stabs.c (generate_asm_file): Make local variable `len' a size_t.
amodra [Mon, 25 Jun 2001 03:30:26 +0000 (03:30 +0000)]
* readelf.c (dump_relocations): Print "bad symbol index" if
symtab == NULL with non-zero symtab_index.
(process_relocs): Don't bomb if reloc section has no symsec.
amodra [Mon, 25 Jun 2001 02:40:47 +0000 (02:40 +0000)]
* elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard
relocs without ELF_LINK_HASH_DEF_DYNAMIC set.
(elf_i386_relocate_section <R_386_32, R_386_PC32>): Remove
redundant bfd_link_hash_defined, bfd_link_hash_defweak test.
bje [Mon, 25 Jun 2001 01:45:51 +0000 (01:45 +0000)]
* Typo fix.
bje [Mon, 25 Jun 2001 01:45:28 +0000 (01:45 +0000)]
2001-06-25 Ben Elliston <bje@redhat.com>
* sidcomp.h (bus::status code): Change type to host_int_1.
(bus::status constructors): Cast status_t to host_int_1.
(API_MINOR_VERSION): Bump it.
bje [Mon, 25 Jun 2001 00:26:28 +0000 (00:26 +0000)]
2001-06-24 Ben Elliston <bje@redhat.com>
* sidcpuutil.h (basic_cpu::total_latency): New member.
(basic_cpu constructor): Initialise it.
(basic_cpu::step_pin_handler): Include latency in cycle counts.
(basic_cpu::latency_to_cycles): New virtual method.
(basic_cpu::read_insn_memory): Add bus latency to total_latency.
(basic_cpu::write_insn_memory): Ditto.
(basic_cpu::read_data_memory): Ditto.
(basic_cpu::write_data_memory): Ditto.
(basic_cpu::stream_state): Add total_latency to state snapshot.
(basic_cpu::destream_state): Likewise.
gdbadmin [Mon, 25 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
bje [Sun, 24 Jun 2001 23:24:11 +0000 (23:24 +0000)]
2001-06-24 Ben Elliston <bje@redhat.com>
* cache.cxx (set_hash_mask): Validate parse_attribute result.
(set_hash_shift): Ditto.
cgf [Sun, 24 Jun 2001 22:26:48 +0000 (22:26 +0000)]
forced commit
cgf [Sun, 24 Jun 2001 22:00:04 +0000 (22:00 +0000)]
Fix typo
cgf [Sun, 24 Jun 2001 21:57:49 +0000 (21:57 +0000)]
* exceptions.cc (interrupt_setup): Move actions from setup_handler to here.
(setup_handler): Move actions after a successful interrupt to interrupt_setup.
* fork.cc (vfork): Augment debugging output.
* sigproc.cc (proc_subproc): Ditto.
* spawn.cc (spawn_guts): Ditto. Correctly fill out progname when spawn
NO_WAIT. Call signal handler when a signal arrives.
* sigproc.h: Declare a function.
jakub [Sun, 24 Jun 2001 16:43:30 +0000 (16:43 +0000)]
* config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
section symbols the same way as externs.
hjl [Sun, 24 Jun 2001 16:27:00 +0000 (16:27 +0000)]
2001-06-24 H.J. Lu <hjl@gnu.org>
* objcopy.c (strip_main): Revert the change made on 2001-05-30
by accident.
(copy_main): Apply the the change made to strip_main on
2001-05-30 by accident.
hjl [Sun, 24 Jun 2001 16:06:38 +0000 (16:06 +0000)]
2001-06-24 H.J. Lu <hjl@gnu.org>
* cpu-i960.c (scan_960_mach): Don't modify const char *. Use
strncasecmp/strcasecmp instead of strncmp/strcmp.
fnasser [Sun, 24 Jun 2001 13:46:09 +0000 (13:46 +0000)]
2001-06-24 Fernando Nasser <fnasser@redhat.com>
* remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
* rdi-share/host.h: Add missing parenthesis in conditional.
2001-06-22 J.T. Conklin <jtc@redback.com>
* configure.in: include nlist.h when checking for member som_addr
in struct so_map.
* configure: regenerate.
bje [Sun, 24 Jun 2001 06:01:48 +0000 (06:01 +0000)]
2001-06-24 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
(emit_relocations): Ditto.
(s_bss): Ditto.
(md_begin): Reformat comments to conform to the GNU standards.
(md_assemble): Ditto.
bje [Sun, 24 Jun 2001 01:56:47 +0000 (01:56 +0000)]
* fixes to silence all compiler warnings.
2001-06-24 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
(md_parse_option): Mark parameters as unused.
(md_show_usage): Ditto.
(calcop): Adjust type of `reg_prefix' to char.
(get_reg): Ditto.
(getval): Adjust type of local `c' to char.
(md_create_short_jump): Mark from_addr, to_addr params as unused.
(md_create_long_jump): Ditto.
(md_estimate_size_before_relax): Mark parameters as unused.
bje [Sun, 24 Jun 2001 01:04:16 +0000 (01:04 +0000)]
2001-06-24 Ben Elliston <bje@redhat.com>
* m88k-dis.c: Format to conform to GNU coding standards.
hjl [Sun, 24 Jun 2001 00:36:47 +0000 (00:36 +0000)]
2001-06-23 H.J. Lu <hjl@gnu.org>
* elf32-i386.c (elf_i386_relocate_section): Check the
ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined
in the regular object file and treat the weak definition as
the normal one.
gdbadmin [Sun, 24 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
bje [Sat, 23 Jun 2001 23:02:57 +0000 (23:02 +0000)]
2001-06-24 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_pseudo_table): Properly terminate the table
to allay a possible compiler warning.
cagney [Sat, 23 Jun 2001 21:47:09 +0000 (21:47 +0000)]
Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything.
cagney [Sat, 23 Jun 2001 20:43:56 +0000 (20:43 +0000)]
Change mi/data-disassemble command output to a list ([]) instead of
({}).
aj [Sat, 23 Jun 2001 16:07:05 +0000 (16:07 +0000)]
* disassemble.c (disassembler_usage): Add unused attribute.
aj [Sat, 23 Jun 2001 16:06:50 +0000 (16:06 +0000)]
* unwind-ia64.c (unw_decode_x1): Add unused attribute for
parameter 'code'.
(unw_decode_x2): Likewise.
(unw_decode_x3): Likewise.
(unw_decode_x4): Likewise.
amodra [Sat, 23 Jun 2001 15:02:43 +0000 (15:02 +0000)]
* elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): Tighten
unresolved_reloc test to exclude cases where we use "relocation"
before setting it to point into the .got. Reinstate fudge for
unresolved relocs in debugging sections.
bje [Sat, 23 Jun 2001 13:17:34 +0000 (13:17 +0000)]
2001-06-23 Ben Elliston <bje@redhat.com>
* config.guess: Import latest version from FSF sources.
fche [Sat, 23 Jun 2001 13:06:43 +0000 (13:06 +0000)]
* test fix: don't fail in presence of --target_board=SOMETHING
[config/ChangeLog]
2001-06-23 Frank Ch. Eigler <fche@redhat.com>
* unix.exp: File removed; moved to testsuite/config/default.exp.
[component/testsuite/ChangeLog]
2001-06-23 Frank Ch. Eigler <fche@redhat.com>
* config/default.exp: New file, moved from ../../config/unix.exp.
fche [Sat, 23 Jun 2001 11:18:01 +0000 (11:18 +0000)]
* tweak
2001-06-23 Frank Ch. Eigler <fche@redhat.com>
* configrun-sid.in: Add support for --memory-region latency settings.
fche [Sat, 23 Jun 2001 11:12:32 +0000 (11:12 +0000)]
* improvement
2001-06-23 Frank Ch. Eigler <fche@redhat.com>
* glue.cxx (probing_bus::traceAccess): Print non-zero latency.
* hw-glue-probe-bus.txt: Document this.
amodra [Sat, 23 Jun 2001 11:01:43 +0000 (11:01 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Replace ugly
complicated tests for unresolvable relocs with a simple direct
scheme using "unresolved_reloc" var.
bje [Sat, 23 Jun 2001 10:26:08 +0000 (10:26 +0000)]
2001-06-23 Ben Elliston <bje@redhat.com>
* MAINTAINERS: Add myself as M88k maintainer.
amodra [Sat, 23 Jun 2001 10:03:53 +0000 (10:03 +0000)]
* elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to
elf_i386_dyn_relocs. Update comment.
(struct elf_i386_link_hash_entry): Rename pcrel_relocs_copied to
dyn_relocs.
(elf_i386_adjust_dynamic_symbol): Remove a BFD_ASSERT, change
others to aborts.
(allocate_plt_and_got_and_discard_relocs): Replace BFD_ASSERT with
abort.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_finish_dynamic_symbol): Likewise.
(elf_i386_finish_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise. Tidy R_386_GOT32 and error
handling code.
amodra [Sat, 23 Jun 2001 05:54:14 +0000 (05:54 +0000)]
Avoid creating COPY relocs if possible.
* elf32-i386.c (elf_i386_check_relocs): Tweak condition under
which .got created. Mark symbols used by R_386_32 and R_386_PC32
relocs as ELF_LINK_NON_GOT_REF to create COPY relocs only when the
reloc is in a read-only section. Instead, allocate space for a
dynamic reloc to reference the library symbol directly. Keep
track of space we allocate using pcrel_relocs_copied.
(discard_copies): Delete, and move code to ..
(allocate_plt_and_got): ..here. Rename to
allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic
relocs for non-shared link.
(elf_i386_size_dynamic_sections): Update calls to above functions.
(elf_i386_relocate_section): Write out the dynamic relocs. Add
more ugly logic to avoid "unresolvable relocation" error. Use
htab shortcut in place of elf_hash_table macro.
(elf_i386_finish_dynamic_sections): Allow that dynamic .got may
not always be created now.
chastain [Sat, 23 Jun 2001 05:22:46 +0000 (05:22 +0000)]
2001-06-22 Michael Chastain <chastain@redhat.com>
* gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
This is operationally compatible with the previous version.