OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago*** empty log message ***
gdbadmin [Sun, 15 Jul 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
ciceron [Sat, 14 Jul 2001 19:31:09 +0000 (19:31 +0000)]
* tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
tuiIO.c, tuiData.c: Likewise.
tuiDataWin.c, tuiDisassem.c: Likewise.
tuiGeneralWin.c, tuiLayout.c: Likewise.
tuiRegs.c, tuiSource.c: Likewise.
tuiSouceWin.c, tuiStack.c: Likewise.

23 years ago * NEWS: New target 68HC11/68HC12.
ciceron [Sat, 14 Jul 2001 19:10:30 +0000 (19:10 +0000)]
* NEWS: New target 68HC11/68HC12.

23 years ago * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
ciceron [Sat, 14 Jul 2001 19:01:25 +0000 (19:01 +0000)]
* tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise.
tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise.
tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise.
tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise.
tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise.

23 years ago * utils.c (query): Remove tui hacks; tui must use the query_hook.
ciceron [Sat, 14 Jul 2001 18:59:06 +0000 (18:59 +0000)]
* utils.c (query): Remove tui hacks; tui must use the query_hook.
* top.c (command_loop): Remove tui insert_mode hacks; don't call
tuiCleanUp because this must be made with atexit by tui.
* symfile.c (symbol_file_command): Remove call to TUIDO
* stack.c (show_and_print_stack_frame_stub): Remove tui check;
not necessary when using the selected frame hooks.
(print_stack_frame_stub): Likewise.
(print_frame_info_base): Likewise.
(print_frame_info): Likewise.
(up_silently_command): Likewise.
(down_silently_command): Likewise.
(show_stack_frame): Likewise for TUIDO.
(select_frame): Likewise.
(select_and_print_frame): Likewise.
(stack_publish_stopped_with_no_frame): Remove.
(select_and_maybe_print_frame): Remove.
* main.c (captured_main): Remove tui_fileopen and tuiInit; tui
must use the initialize ui hook.
* infrun.c (normal_stop): Remove call to TUIDO; tui must use the
selected frame hooks.
* event-top.c (command_handler): Remove tui insert_mode hack.
* defs.h: Remove TUIDO; Only include tui.h.
* breakpoint.c (mention): Remove calls to TUIDO.
(delete_breakpoint): Remove tui hacks; tui must install
the breakpoint hooks.

23 years ago2001-07-14 H.J. Lu <hjl@gnu.org>
hjl [Sat, 14 Jul 2001 16:36:25 +0000 (16:36 +0000)]
2001-07-14  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (output_prev_sec_find): Never return
bfd_abs_section_ptr, bfd_com_section_ptr nor
bfd_und_section_ptr.

23 years ago* Makefile.in (refcard.dvi): Rewrite to avoid problems with empty
cagney [Sat, 14 Jul 2001 16:14:10 +0000 (16:14 +0000)]
* Makefile.in (refcard.dvi): Rewrite to avoid problems with empty
`test` expressions on bash.  Problem reported by Colin Walters.

23 years agoFix failures in MIPS testsuite
nickc [Sat, 14 Jul 2001 15:50:41 +0000 (15:50 +0000)]
Fix failures in MIPS testsuite

23 years agoFix dependency for em32relf.c
nickc [Sat, 14 Jul 2001 15:47:17 +0000 (15:47 +0000)]
Fix dependency for em32relf.c

23 years agofix formatting goof in previous.
mrg [Sat, 14 Jul 2001 15:36:22 +0000 (15:36 +0000)]
fix formatting goof in previous.

23 years ago * configure.tgt (i386-*-netbsdelf*): New target.
mrg [Sat, 14 Jul 2001 14:45:42 +0000 (14:45 +0000)]
* configure.tgt (i386-*-netbsdelf*): New target.
(i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'

23 years ago * configure.in (i386-*-netbsdelf*): New target.
mrg [Sat, 14 Jul 2001 14:44:39 +0000 (14:44 +0000)]
* configure.in (i386-*-netbsdelf*): New target.
configure: Regenerate.

23 years ago* config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
kettenis [Sat, 14 Jul 2001 11:55:29 +0000 (11:55 +0000)]
* config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
* config/i386/nm-linux.h: ...to here.  Change comments about user
area/struct a bit.

23 years ago* config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
kettenis [Sat, 14 Jul 2001 11:12:52 +0000 (11:12 +0000)]
* config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.

23 years ago* Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
kettenis [Sat, 14 Jul 2001 09:50:24 +0000 (09:50 +0000)]
* Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
(i386bsd-tdep.o, i386bsd-nat.o): New targets.

23 years ago* syscalls.cc (stat_worker): Simplify previous change.
cgf [Sat, 14 Jul 2001 00:09:32 +0000 (00:09 +0000)]
* syscalls.cc (stat_worker): Simplify previous change.

23 years ago*** empty log message ***
gdbadmin [Sat, 14 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * library/download.itb (constructor): Use the iwidgets
kseitz [Fri, 13 Jul 2001 23:59:04 +0000 (23:59 +0000)]
* library/download.itb (constructor): Use the iwidgets
feedback widget instead of tixMeter.
Pack all the topmost widgets together -- don't use grid.
(update_download): Support the feedback widget.
(done): Ditto.

* library/download.ith (steps): New private variable.
(num_steps): New common.

23 years ago2001-07-13 Dave Brolley <brolley@redhat.com>
brolley [Fri, 13 Jul 2001 21:07:21 +0000 (21:07 +0000)]
2001-07-13  Dave Brolley  <brolley@redhat.com>

* cgen-ops.h (ADDCFDI): New function.

23 years ago2001-07-13 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Fri, 13 Jul 2001 20:03:52 +0000 (20:03 +0000)]
2001-07-13  Elena Zannoni  <ezannoni@redhat.com>

* remote-e7000.c (fetch_regs_from_dump): If register set is null,
generate an internal error.
(e7000_fetch_registers): Initialize variable 'wanted'.
(e7000_wait): Initialize variable 'wanted_nopc'.
(e7000_store_register): Fix sprintf compiler warnings.
(sub2_from_pc): Ditto.
(e7000_open): Close the descriptor, not the name.
(e7000_load): Fix compiler warnings.
(sub2_from_pc): Ditto.
* Makefile.in (remote-e7000.o): Can now compile with -Werror.

23 years ago* i386bsd-nat.c: Include <signal.h>, <stddef.h> and
kettenis [Fri, 13 Jul 2001 18:27:20 +0000 (18:27 +0000)]
* i386bsd-nat.c: Include <signal.h>, <stddef.h> and
<sys/sysctl.h>.
(store_inferior_registers): Wrap long line.
(i386bsd_dr_get_status): Fix typo in comment.
(_initialize_i386bsd_nat): New function.  * i386bsd-tdep.c: New
file.  * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
(i386bsd_in_sigtramp): New prototype.
(SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
(i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
(external) variables.
(SIGCONTEXT_PC_OFFSET): Removed.
(FRAME_SAVED_PC): New define.
(i386bsd_frame_saved_pc): New function.  * config/i386/fbsd.mt
(TDEPFILES): Add i386bsd-tdep.o.

23 years ago * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
drow [Fri, 13 Jul 2001 17:34:47 +0000 (17:34 +0000)]
    * mips-linux-tdep.c (_initialize_mips_linux_tdep):  Use ISO C
        definition.

23 years ago* syscalls.cc (_unlink): Correct (?) logic which determines when to report an
cgf [Fri, 13 Jul 2001 17:22:14 +0000 (17:22 +0000)]
* syscalls.cc (_unlink): Correct (?) logic which determines when to report an
access violation and when to queue file for eventual deletion.
(stat_worker): Check for invalid buf argument.

23 years ago2001-07-12 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 13 Jul 2001 15:41:39 +0000 (15:41 +0000)]
2001-07-12  Aldy Hernandez  <aldyh@redhat.com>

        * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.

23 years ago* GCC 2.95.3 fixes.
mrg [Fri, 13 Jul 2001 15:39:45 +0000 (15:39 +0000)]
* GCC 2.95.3 fixes.

[cache/ChangeLog]
* cache.h (cache:bus::DEFN_METHOD): Generate function prototypes only.
(::DEFN_METHOD): Generate actual inline function bodies after
cache_component is defined.

[mapper/ChangeLog]
* compMapper.cxx (generic_mapper_bus::write_any,
generic_mapper_bus::read_any): Move function definition after
generic_mapper is defined.

23 years ago* test suite cleanup
fche [Fri, 13 Jul 2001 15:19:08 +0000 (15:19 +0000)]
* test suite cleanup

2001-07-13  Frank Ch. Eigler  <fche@redhat.com>

* config/default.exp: Stop using [sid_find_file] for component libs.
Forget about mksid.
* sidcomp.*/*.exp: Stop using [sid_find_file] to find component
shared libraries for "load" cmds in sid configuration files.

23 years ago* probable test bug fix
fche [Fri, 13 Jul 2001 14:32:56 +0000 (14:32 +0000)]
* probable test bug fix

2001-07-13  Frank Ch. Eigler  <fche@redhat.com>

        * sidcomp.audio/linuxraw.exp: Add polling loop test after tx-sample
        drive sequence.
        (deassert tx): Unxfail.

23 years ago* lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
kettenis [Fri, 13 Jul 2001 12:49:31 +0000 (12:49 +0000)]
* lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
are no registered LWPs yet.

23 years ago * emultempl/elf32.em (output_prev_sec_find): New.
jakub [Fri, 13 Jul 2001 07:25:18 +0000 (07:25 +0000)]
* emultempl/elf32.em (output_prev_sec_find): New.
(place_orphan): Use it.

23 years ago2001-07-13 Ben Elliston <bje@redhat.com>
bje [Fri, 13 Jul 2001 06:07:14 +0000 (06:07 +0000)]
2001-07-13  Ben Elliston  <bje@redhat.com>

* sidcomp.audio/linusraw.exp (deassert tx): Mark test as XFAIL.

23 years agofix i386-linux cannot_fetch/store_register
drow [Fri, 13 Jul 2001 05:19:28 +0000 (05:19 +0000)]
fix i386-linux cannot_fetch/store_register

23 years ago * remote-rdp.c: Include "serial.h"
kseitz [Fri, 13 Jul 2001 02:55:57 +0000 (02:55 +0000)]
* remote-rdp.c: Include "serial.h"

23 years ago*** empty log message ***
gdbadmin [Fri, 13 Jul 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoFoo. Forgot to update the copyright.
kseitz [Thu, 12 Jul 2001 23:15:56 +0000 (23:15 +0000)]
Foo. Forgot to update the copyright.

23 years ago * library/srcbar.itcl (create_trace_buttons): Fix
kseitz [Thu, 12 Jul 2001 23:10:54 +0000 (23:10 +0000)]
* library/srcbar.itcl (create_trace_buttons): Fix
syntax errors.

* library/tracedlg.tcl: Update to work with Itcl3.0
and ManagedWin.

* library/actiondlg.tcl: Update to work with Itcl3.0
and ManagedWin.
(build_win): Use iwidgets scrolled listbox instead
of the tix one.

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 12 Jul 2001 21:30:04 +0000 (21:30 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * opc-itab.scm (@arch@_cgen_init_opcode_table): Unconditionally
        call @arch@_cgen_build_insn_regex now that regex support is in
        libiberty.

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 12 Jul 2001 21:26:42 +0000 (21:26 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen-asm.in: Include "xregex.h" always to enable the libiberty
        regex support.
        (@arch@_cgen_build_insn_regex): New routine from Graydon.
        (@arch@_cgen_assemble_insn): Add Graydon's code to use regex
        to verify if it is worth parsing the insn as insn "x".  Also update
        error message when insn is not a recognized format of the insn vs
        when the insn is completely unrecognized.

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 12 Jul 2001 21:20:59 +0000 (21:20 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * opcode/cgen.h (CGEN_INSN): Add regex support.
        (build_insn_regex): Declare.

23 years ago * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
drow [Thu, 12 Jul 2001 21:04:35 +0000 (21:04 +0000)]
    * gdbserver/remote-utils.c (remote_open):  Set VMIN to 1
        in HAVE_TERMIO/HAVE_TERMIOS cases.

23 years ago* lin-lwp.c (stop_wait_callback): Add support for flushing
kettenis [Thu, 12 Jul 2001 19:37:35 +0000 (19:37 +0000)]
* lin-lwp.c (stop_wait_callback): Add support for flushing
signals.  Use that in favour of the old code to get rid of
superfluous SIGINTs.
(lin_lwp_wait): Use the new support in stop_wait_callback to
flush all but one SIGINT.

23 years ago* i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
kettenis [Thu, 12 Jul 2001 18:50:00 +0000 (18:50 +0000)]
* i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
to comment.
(i386_store_return_value): Improve comments about storing
floating-point return values.

23 years ago* config/arm/xm-linux.h, config/i386/xm-linux.h,
kettenis [Thu, 12 Jul 2001 18:22:35 +0000 (18:22 +0000)]
* config/arm/xm-linux.h, config/i386/xm-linux.h,
config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
Removed.  Taken care of by autoconf and terminal.h.

23 years ago * mips-tdep.c (mips_type_needs_double_align): New function.
drow [Thu, 12 Jul 2001 17:34:33 +0000 (17:34 +0000)]
    * mips-tdep.c (mips_type_needs_double_align): New function.
        (mips_push_arguments): Align o32 structs to even argument
        registers if necessary.

23 years agofix mips/linux 8.3 errors
drow [Thu, 12 Jul 2001 17:23:31 +0000 (17:23 +0000)]
fix mips/linux 8.3 errors

23 years ago2001-07-12 H.J. Lu <hjl@gnu.org>
hjl [Thu, 12 Jul 2001 15:03:26 +0000 (15:03 +0000)]
2001-07-12  H.J. Lu  <hjl@gnu.org>

* ld-selective/selective.exp: Mark selective1, selective2,
selective4 and selective5 xfail on alpha*-*.

23 years ago* config/powerpc/xm-linux.h: Fix corrupted file.
kettenis [Thu, 12 Jul 2001 14:02:22 +0000 (14:02 +0000)]
* config/powerpc/xm-linux.h: Fix corrupted file.

23 years ago* configure.in: Add check for sigsetjmp.
kettenis [Thu, 12 Jul 2001 13:48:44 +0000 (13:48 +0000)]
* configure.in: Add check for sigsetjmp.
* config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
* config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
* configure, config.in: Regenerated.

23 years ago* gdb.base/so-impl-ld.exp: Remove stray space that prevented
kettenis [Thu, 12 Jul 2001 13:07:32 +0000 (13:07 +0000)]
* gdb.base/so-impl-ld.exp: Remove stray space that prevented
running this test on Linux.

23 years ago* ambiguous insn sim decode fix
fche [Thu, 12 Jul 2001 11:42:46 +0000 (11:42 +0000)]
* ambiguous insn sim decode fix

2001-07-12  Frank Ch. Eigler  <fche@redhat.com>

        * insn.scm (filter-harmlessly-ambiguous-insns): Fix msg typo.
        (mask-superset?): Look for strict supersets to allow rejection of
        duplicate insns.

23 years ago* GCC 3.0 & 2.95.3 fixes.
mrg [Thu, 12 Jul 2001 11:37:32 +0000 (11:37 +0000)]
* GCC 3.0 & 2.95.3 fixes.

[component/audio/ChangeLog]
* compAudio.cxx (fd_audio): Add missing throw() specifiers to this dtor.
* components.h (basic_codec, generic_audio, nop_audio, fd_audio,
linux_audio, solaris_audio): Add missing throw() specifiers to these
dtors.

[component/cfgroot/ChangeLog]
* compConfig.cxx (cfgroot_component): Add missing throw() specifiers
to this dtor.

[component/tcl/ChangeLog]
* compTcl.cxx (tcl_component): Add missing throw() specifiers to this
dtor.

[include/ChangeLog]
* sidattrutil.h (attribute_coder_base, attribute_coder_virtual,
attribute_coder_alias, attribute_coder_virtual_parameterized,
attribute_coder, attribute_coder_ro, attribute_coder_ro_value,
attribute_coder_bus_rw, attribute_coder_bus_wo,
fixed_attribute_map_component): Add missing throw() specifiers
to these dtors.
* sidbusutil.h (word_bus, passthrough_bus, mux_passthrough_bus,
passthrough_word_bus, harvard_bus, byte_bus, callback_byte_bus,

23 years ago* mi-main.c (mi_execute_command): Flush output after ``(gdb)''
cagney [Thu, 12 Jul 2001 05:54:48 +0000 (05:54 +0000)]
* mi-main.c (mi_execute_command): Flush output after ``(gdb)''
prompt.  Bug reported by David Whedon.
(mi_execute_async_cli_command): Ditto.
(mi_exec_async_cli_cmd_continuation): Ditto.
(mi_command_loop): Ditto.

23 years ago2001-07-11 H.J. Lu <hjl@gnu.org>
hjl [Thu, 12 Jul 2001 04:24:44 +0000 (04:24 +0000)]
2001-07-11  H.J. Lu  <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD
flags when creating the reloc section if the ALLOC flag in the
source section is set.

23 years ago* more 16/32-bit insn set support; simulator (sid)
fche [Thu, 12 Jul 2001 02:54:39 +0000 (02:54 +0000)]
* more 16/32-bit insn set support; simulator (sid)

2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

* sid-cpu.scm (-gen-mach-params): New proc to emit ...CHUNK_BITSIZE...
(cgen-desc.h): Call it.
* sid-decode.scm (-gen-decode-fn): Use base-insn-bitsize as
decode-size.
* utils-sim.scm (-gen-decode-insn-entry): For SID only, prepare
entire_insn for extraction, if it's shorter than base-insn-bitsize.

23 years ago* some support for funny-endian 16/32-bit insn sets
fche [Thu, 12 Jul 2001 02:32:24 +0000 (02:32 +0000)]
* some support for funny-endian 16/32-bit insn sets

[cgen/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * desc-cpu.scm (-gen-mach-table-defns): Emit fourth field: the
        mach->cpu insn-chunk-bitsize.
        (-gen-cpu-open): In @arch@_cgen_rebuild_tables, process above new
        field toward CGEN_CPU_TABLE->insn_chunk_bitsize.
        * mach.scm (<cpu>): New field insn-chunk-bitsize.
        (-cpu-parse, -cpu-read): Parse/initialize it.
        * doc/rtl.texi (define-cpu): Document it.

[opcodes/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
        bfd_get_bits.
        * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
        non-zero CGEN_CPU_DESC->insn_chunk_bitsize.

[include/opcode/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field.
        (cgen_cpu_desc): Ditto.

23 years ago2001-07-11 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 12 Jul 2001 02:29:32 +0000 (02:29 +0000)]
2001-07-11  Elena Zannoni  <ezannoni@redhat.com>

* config/sh/tm-sh.h (struct gdbarch_tdep): Add
FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
PR_REGNUM fields.

* sh-tdep.c (sh_skip_prologue_hard_way): Rename from
skip_prologue_hard_way().
(skip_prologue_hard_way): Make it a function pointer.
        (sh_print_register): Use function pointer do_pseudo_register,
instead of sh_do_pseudo_register.
        (sh_do_registers_info): Ditto.
        (sh_gdbarch_init): Initialize do_pseudo_register.
(IS_MOV_TO_R14): Rename from IS_MOV_R14.
(skip_prologue_hard_way): Update.
(sh_gdbarch_init): Move setting of frame_chain,
get_saved_register, init_extra_frame_info, push_arguments,
extract_return_value, pop_frame, store_struct_return,
extract_struct_value_address, use_struct_convention,
init_extra_frame_info to before target specific settings.
(sh_gdbarch_init): Initialize new tdep fields
FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
PR_REGNUM.
(sh_push_arguments): Use new gdbarch_tdep fields
{ARG0,ARGLAST}_REGNUM.
(sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
sh_init_extra_frame_info, sh_push_return_address,
sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
gdbarch_tdep->PR_REGNUM.
(dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.

23 years agosje patch for 32-bit IA-64 ELF relocs for HPUX
wilson [Thu, 12 Jul 2001 01:24:13 +0000 (01:24 +0000)]
sje patch for 32-bit IA-64 ELF relocs for HPUX
* reloc.c (bfd_reloc_code_type): Add IA64 relocs
BFD_RELOC_IA64_LTOFF_FPTR32MSB and BFD_RELOC_IA64_LTOFF_FPTR32LSB
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elfxx-ia64.c (ia64_howto_table): Define how to handle
new relocations.
(elfNN_ia64_reloc_type_lookup): Handle new relocations.
(elfNN_ia64_check_relocs): Likewise.
(elfNN_ia64_install_value): Likewise.
(elfNN_ia64_relocate_section): Likewise.

23 years ago*** empty log message ***
gdbadmin [Thu, 12 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoDon't duplicate tm-linux.h
drow [Wed, 11 Jul 2001 21:49:40 +0000 (21:49 +0000)]
Don't duplicate tm-linux.h

23 years agoAdd myself to MAINTAINERS for mips/linux
drow [Wed, 11 Jul 2001 20:44:51 +0000 (20:44 +0000)]
Add myself to MAINTAINERS for mips/linux

23 years ago2001-07-11 H.J. Lu <hjl@gnu.org>
hjl [Wed, 11 Jul 2001 19:50:56 +0000 (19:50 +0000)]
2001-07-11  H.J. Lu  <hjl@gnu.org>

* ldmain.c (main): Fix typos in the last change.

23 years ago * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
jakub [Wed, 11 Jul 2001 19:40:31 +0000 (19:40 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
R_SPARC_UA64.
(elf32_sparc_check_relocs): Likewise.
Only create .rela section for alloced sections in shared libraries.
(elf32_sparc_relocate_section): Likewise.
Remove redundant check.
Optimize unaligned reloc usage.
* elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant
check.

* testsuite/gas/sparc/unalign.s: Remove .uaxword test.
* testsuite/gas/sparc/unalign.d: Adjust accordingly.

23 years ago*** empty log message ***
jhealy [Wed, 11 Jul 2001 19:35:17 +0000 (19:35 +0000)]
*** empty log message ***

23 years agominor F_SETOWN nit
drow [Wed, 11 Jul 2001 19:11:07 +0000 (19:11 +0000)]
minor F_SETOWN nit

23 years ago2001-07-11 H.J. Lu <hjl@gnu.org>
hjl [Wed, 11 Jul 2001 19:03:10 +0000 (19:03 +0000)]
2001-07-11  H.J. Lu  <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_check_relocs): Only use the same
ALLOC|LOAD flags as the source section for debugging sections
when creating the reloc section.

23 years agofix m68k-linux build
drow [Wed, 11 Jul 2001 18:39:11 +0000 (18:39 +0000)]
fix m68k-linux build

23 years ago* configure.tgt: Mark d10v as pure multi-arch.
cagney [Wed, 11 Jul 2001 17:58:14 +0000 (17:58 +0000)]
* configure.tgt: Mark d10v as pure multi-arch.
* config/d10v/tm-d10v.h: Delete file.
* config/d10v/d10v.mt (TM_FILE): Delete.

23 years agos/typedef serial_t/struct serial */
cagney [Wed, 11 Jul 2001 17:52:32 +0000 (17:52 +0000)]
s/typedef serial_t/struct serial */

23 years agoFix Credit.
cagney [Wed, 11 Jul 2001 17:43:01 +0000 (17:43 +0000)]
Fix Credit.

23 years ago* gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
jtc [Wed, 11 Jul 2001 17:33:23 +0000 (17:33 +0000)]
* gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
of SIGIO.
(input_interrupt): Don't block on read, in case we got redundant
SIGIO.  Don't gripe about redundant SIGIO.
* gdbserver/low-hppabsd.c (mywait): Use waitpid().  Enable SIGIO
handler while waiting.
* gdbserver/low-linux.c (mywait): Likewise.
* gdbserver/low-nbsd.c (mywait): Likewise.
* gdbserver/low-sparc.c (mywait): Likewise.

23 years ago * infrun.c (print_stop_reason): Add missing uiout field
kseitz [Wed, 11 Jul 2001 16:46:57 +0000 (16:46 +0000)]
* infrun.c (print_stop_reason): Add missing uiout field
"reason" for SIGNAL_RECEIVED case.

23 years ago* dusting off
fche [Wed, 11 Jul 2001 15:23:05 +0000 (15:23 +0000)]
* dusting off

23 years ago2001-07-11 Jakub Jelinek <jakub@redhat.com>
jakub [Wed, 11 Jul 2001 14:19:05 +0000 (14:19 +0000)]
2001-07-11  Jakub Jelinek  <jakub@redhat.com>

* ldmain.c (main): Disallow -F and -f without -shared.

23 years ago* config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
kettenis [Wed, 11 Jul 2001 10:33:28 +0000 (10:33 +0000)]
* config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
Remove unused macro's.

23 years ago* config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
kettenis [Wed, 11 Jul 2001 10:24:33 +0000 (10:24 +0000)]
* config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
used.

23 years ago * go32-nat.c (info_dos_cmdlist): New variable.
eliz [Wed, 11 Jul 2001 10:11:31 +0000 (10:11 +0000)]
* go32-nat.c (info_dos_cmdlist): New variable.
(go32_info_dos_command): New function.
(_initialize_go32_nat): Convert all DOS-specific commands into
subcommands of "info dos".  Suggested by Andrew Cagney
<ac131313@redhat.com>.

23 years ago* config/nm-linux.h: Fix comments.
kettenis [Wed, 11 Jul 2001 10:03:31 +0000 (10:03 +0000)]
* config/nm-linux.h: Fix comments.

23 years agoDon't merge if the storage class of the non-debug symbol is C_NULL.
nickc [Wed, 11 Jul 2001 09:26:26 +0000 (09:26 +0000)]
Don't merge if the storage class of the non-debug symbol is C_NULL.

23 years ago* thread-db.c (enable_thread_event_reporting): Correct warning
kettenis [Wed, 11 Jul 2001 09:14:51 +0000 (09:14 +0000)]
* thread-db.c (enable_thread_event_reporting): Correct warning
message about getting thread death breakpoint.
Reported by John S Kallal <jskallal@home.com>.

23 years agoAdd notes about branch checkins
nickc [Wed, 11 Jul 2001 09:06:49 +0000 (09:06 +0000)]
Add notes about branch checkins

23 years ago* i386-tdep.c (i386_extract_return_value): "Fix" comment.
kettenis [Wed, 11 Jul 2001 08:43:41 +0000 (08:43 +0000)]
* i386-tdep.c (i386_extract_return_value): "Fix" comment.
(i386_store_return_value): Frob FPU status and tag word to make
sure the return value is the only value on the FPU stack.

23 years ago* config/tm-linux.h: Do not include <signal.h>. Instead provide
kettenis [Wed, 11 Jul 2001 08:15:34 +0000 (08:15 +0000)]
* config/tm-linux.h: Do not include <signal.h>.  Instead provide
reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
already defined.
* config/nm-linux.h: Include <signal.h>.
[__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
(__SIGRTMAX + 1) respectively.

23 years agoCheck for the output_bfd not having any coff_data structure allocated to it.
nickc [Wed, 11 Jul 2001 08:11:16 +0000 (08:11 +0000)]
Check for the output_bfd not having any coff_data structure allocated to it.

23 years ago * components.cxx (operator<<): Move this function template ..
bje [Wed, 11 Jul 2001 01:10:37 +0000 (01:10 +0000)]
* components.cxx (operator<<): Move this function template ..
(operator>>): .. and this one from here ..
* components.h (operator<<): .. to here.
(operator>>): .. and here.

23 years agomerge from gcc
dj [Wed, 11 Jul 2001 00:15:54 +0000 (00:15 +0000)]
merge from gcc

23 years agomerge from gcc
dj [Wed, 11 Jul 2001 00:15:17 +0000 (00:15 +0000)]
merge from gcc

23 years ago*** empty log message ***
gdbadmin [Wed, 11 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* mcore-rom.c: Include "serial.h".
cagney [Tue, 10 Jul 2001 23:08:12 +0000 (23:08 +0000)]
* mcore-rom.c: Include "serial.h".
* Makefile.in (mcore-rom.o): Depends on "serial.h".

23 years agoZap botched merge.
cagney [Tue, 10 Jul 2001 23:02:29 +0000 (23:02 +0000)]
Zap botched merge.

23 years ago* Makefile.in (gencode): Provide explicit path to gencode.c.
cagney [Tue, 10 Jul 2001 22:46:59 +0000 (22:46 +0000)]
* Makefile.in (gencode): Provide explicit path to gencode.c.

23 years agom88k builds. Tweek remote-bug.c to include "serial.h".
cagney [Tue, 10 Jul 2001 22:38:38 +0000 (22:38 +0000)]
m88k builds.  Tweek remote-bug.c to include "serial.h".

23 years ago2001-07-10 John Healy <jhealy@redhat.com>
jhealy [Tue, 10 Jul 2001 21:49:10 +0000 (21:49 +0000)]
2001-07-10  John Healy  <jhealy@redhat.com>

* config/obj-elf.c (obj_elf_section): md_elf_section_change_data_hook
added to grab section information after it's been extracted from the
.section directive.

23 years agoClean up the D10V port so that GDB and the target program no
jimb [Tue, 10 Jul 2001 21:24:48 +0000 (21:24 +0000)]
Clean up the D10V port so that GDB and the target program no
longer disagree on how big pointers are.
* findvar.c (value_from_register): Remove special case code for D10V.
* printcmd.c (print_frame_args): Same.
* valops.c (value_at, value_fetch_lazy): Same.
* values.c (unpack_long): Same.
* gdbarch.sh: Changes to effect the following:
* gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
gdbarch_d10v_convert_daddr_to_raw_ftype,
gdbarch_d10v_convert_daddr_to_raw,
set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
gdbarch_d10v_convert_iaddr_to_raw_ftype,
gdbarch_d10v_convert_iaddr_to_raw,
set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
* gdbarch.c: Delete the corresponding definitions.
(struct gdbarch): Delete members d10v_make_daddr,
d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
(startup_gdbarch): Remove initializers for the above.
(verify_gdbarch, gdbarch_dump): Don't verify or dump them any
more.
* d10v-tdep.c (d10v_register_virtual_type): Rather that
claiming the stack pointer and PC are 32 bits long (which they
aren't), say that the stack pointer is an int16_t, and the
program counter is a function pointer.  This allows the rest
of GDB to make the appropriate conversions between the code
pointer format and real addresses.
(d10v_register_convertible, d10v_register_convert_to_virtual,
d10v_register_convert_to_raw): Delete function; no registers
are convertible now, so we use
generic_register_convertible_not instead.
(d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
methods.
(d10v_push_arguments, d10v_extract_return_value): Remove special
cases for code and data pointers.
(d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
the target agree on how large pointers are.  Say that addresses
are 32 bits long.  Register the address_to_pointer and
pointer_to_address conversion functions.  Since no registers are
convertible now, register generic_register_convertible_not as the
gdbarch_register_convertible method instead of
d10v_register_convertible.  Remove registrations for
d10v_register_convert_to_virtual,
d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
gdbarch_d10v_convert_iaddr_to_raw.

23 years ago* printcmd.c (print_scalar_formatted): If we are printing an
jimb [Tue, 10 Jul 2001 21:17:49 +0000 (21:17 +0000)]
* printcmd.c (print_scalar_formatted): If we are printing an
address, remember that TARGET_ADDR_BIT is not always equal to
TARGET_PTR_BIT.

23 years ago* valops.c (value_cast): When casting a pointer to an integer,
jimb [Tue, 10 Jul 2001 21:15:27 +0000 (21:15 +0000)]
* valops.c (value_cast): When casting a pointer to an integer,
don't convert it to an address.

23 years ago* remote-utils.h (struct serial): Declare as opaque. Remove
cagney [Tue, 10 Jul 2001 21:06:33 +0000 (21:06 +0000)]
* remote-utils.h (struct serial): Declare as opaque.  Remove
include of "serial.h".
* Makefile.in (remote_utils_h): Update.
* monitor.h (struct serial): Declare as opaque.  Remove include of
"serial.h".
(struct monitor_ops): Replace serial_t with `struct serial *'.
* monitor.c (monitor_desc): Ditto.

23 years ago * mmap.cc (fhandler_disk_file::mmap): Try to open file mappings
corinna [Tue, 10 Jul 2001 21:04:13 +0000 (21:04 +0000)]
    * mmap.cc (fhandler_disk_file::mmap): Try to open file mappings
        by a unified name when running under 9x/ME. If that failes, create
        the file mapping using the unified name.

23 years agoMIPS/Linux support
drow [Tue, 10 Jul 2001 20:41:54 +0000 (20:41 +0000)]
MIPS/Linux support

23 years agoFix grammatical errors
nickc [Tue, 10 Jul 2001 10:11:35 +0000 (10:11 +0000)]
Fix grammatical errors

23 years agoUse FOPEN_.. macros in calls to fopen().
nickc [Tue, 10 Jul 2001 09:45:49 +0000 (09:45 +0000)]
Use FOPEN_.. macros in calls to fopen().

23 years ago2001-07-10 Ben Elliston <bje@redhat.com>
bje [Tue, 10 Jul 2001 03:17:17 +0000 (03:17 +0000)]
2001-07-10  Ben Elliston  <bje@redhat.com>

* cacheutil.h (class cache_line): Use std::vector, not vector.
(class cache_set): Likewise.
(class cache): Likewise.