OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years agomerge from gcc
dj [Sun, 24 Nov 2002 15:59:22 +0000 (15:59 +0000)]
merge from gcc

21 years ago2002-11-24 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 15:41:59 +0000 (15:41 +0000)]
2002-11-24  Andrew Cagney  <ac131313@redhat.com>

* frame.c (set_unwind_by_pc): Revert change below, use
PC_IN_CALL_DUMMY.
(get_prev_frame): Ditto.

21 years ago2002-11-24 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 15:06:07 +0000 (15:06 +0000)]
2002-11-24  Andrew Cagney  <ac131313@redhat.com>

* dummy-frame.c (pc_in_dummy_frame): New function.
(generic_pc_in_call_dummy): Call pc_in_dummy_frame.
(find_dummy_frame): Update comment.
(generic_pop_current_frame): Use get_frame_type.
* dummy-frame.h (pc_in_dummy_frame): Declare.
* frame.c (set_unwind_by_pc): Use pc_in_dummy_frame.
(create_new_frame): Use pc_in_dummy_frame.
(get_prev_frame): Use pc_in_dummy_frame.
(frame_saved_regs_register_unwind): Use get_prev_frame.
(deprecated_generic_get_saved_register): Use get_prev_frame.

21 years ago2002-11-23 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 14:16:37 +0000 (14:16 +0000)]
2002-11-23  Andrew Cagney  <ac131313@redhat.com>

* blockframe.c (find_frame_addr_in_frame_chain): Move function
from here ...
* varobj.c (find_frame_addr_in_frame_chain): ... to here.
(varobj_create): Note that frame ID should be used.
* frame.h (find_frame_addr_in_frame_chain): Delete declaration.

21 years ago2002-11-05 Thomas Pfaff <tpfaff@gmx.net>
rbcollins [Sun, 24 Nov 2002 13:54:14 +0000 (13:54 +0000)]
2002-11-05  Thomas Pfaff  <tpfaff@gmx.net>

        * dcrt0.cc (dll_crt0_1): Add call to pthread::initMainThread to
        initialize mainthread when it is safe to call new.
        * init.cc (dll_entry): Change call to store reents in tls key.
        * thread.cc (_reent_clib) : Change call to get reents from tls
        key.
        (_reent_winsup): Ditto.
        (MTinterface::Init): Key handling changed. Remove initialization
        of member variables.
        (MTinterface::fixup_after_fork): Reinitialize mainthread object
        after fork. Reset threadount to 1.
        (pthread::initMainThread): Create mainthread object dynamically.
        and initialize with valid handles.
        (pthread::self): Remove calls to create thread objects.
        (pthread::setTlsSelfPointer): Change call to store thread self
        handle in tls key.
        (pthread::getTlsSelfPointer): New static method.
        (pthread::exit): Remove setTlsSelfPointer call.
        (pthread::initCurrentThread): New method.
        (pthread::thread_init_wrapper): Change call to store thread self
        handle in tls key.
        (pthread::join): Check for a valid joiner.
        (pthreadNull::pthreadNull): Mark Null object as detached.
        (pthreadNull::exit): Terminate thread via ExitThread.
        * thread.h (pthread::initMainThread): Change parameter in function
        call.
        (pthread::getTlsSelfPointer): New static method.
        (pthread::initCurrentThread): New method.
        (MTinterface::reent_key): Remove.
        (MTinterface::thread_self_dwTlsIndex): Ditto..
        (MTinterface::indexallocated): Ditto.
        (MTinterface::mainthread): Ditto.
        (MTinterface::reent_key): New member.
        (MTinterface::thread_self_key): Ditto.
        (MTinterface::MTinterface): Initialize all members.

21 years ago2002-11-25 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 24 Nov 2002 13:41:35 +0000 (13:41 +0000)]
2002-11-25  Robert Collins  <rbtcollins@hotmail.com>

        * readme: Document running portions of the test suite (Thanks Egor!).
        * winsup.api/pthread/mainthreadexits.c: New file, derived from
        Thomas Pfaff's test cases.
        * winsup.api/pthread/threadidafterfork.c: Ditto.

21 years ago* libiberty.h (basename): Add NetBSD to the list.
thorpej [Sun, 24 Nov 2002 06:58:20 +0000 (06:58 +0000)]
* libiberty.h (basename): Add NetBSD to the list.

21 years ago2002-11-23 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 03:20:08 +0000 (03:20 +0000)]
2002-11-23  Andrew Cagney  <ac131313@redhat.com>

* breakpoint.c: Include "gdb_assert.h".
(deprecated_frame_in_dummy): Assert that generic dummy frames are
not being used.
* Makefile.in (breakpoint.o): Update dependencies.
* ada-lang.c (find_printable_frame): Use get_frame_type instead of
deprecated_frame_in_dummy.
* stack.c (print_frame_info_base): Ditto.
(frame_info): Ditto.
(print_frame_info_base): Ditto.  Delete dead code.

Index: tui/ChangeLog
2002-11-23  Andrew Cagney  <ac131313@redhat.com>

* tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
deprecated_frame_in_dummy.  Fix coding style.

21 years ago*** empty log message ***
gdbadmin [Sun, 24 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 23 Nov 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago* wait.cc (wait4): Force pending signal delivery before waiting for process
cgf [Sat, 23 Nov 2002 20:24:08 +0000 (20:24 +0000)]
* wait.cc (wait4): Force pending signal delivery before waiting for process
completion.

21 years ago * Makefile.in (m68k_tdep_h): Define.
schwab [Sat, 23 Nov 2002 19:45:10 +0000 (19:45 +0000)]
* Makefile.in (m68k_tdep_h): Define.
(abug-rom.o, cpu32bug-rom.o, dbug-rom.o, m68k-tdep.o, m68klinux-nat.o)
(remote-est.o, rom68k-rom.o): Add $(m68k_tdep_h).
* m68k-tdep.c: Move register number enum ...
* m68k-tdep.h: ... to this new file and rename the constants from
E_* to M68K_*.  All uses changed.
* config/m68k/tm-m68k.h (D0_REGNUM, A0_REGNUM): Remove definitions.
* abug-rom.c: Include "m68k-tdep.h".  Use
M68K_D0_REGNUM/M68K_A0_REGNUM instead of D0_REGNUM/A0_REGNUM.
* cpu32bug-rom.c: Likewise.
* dbug-rom.c: Likewise.
* m68k-tdep.c: Likewise.
* m68klinux-nat.c: Likewise.
* remote-est.c: Likewise.
* rom68k-rom.c: Likewise.
* config/m68k/tm-linux.h: Likewise.

21 years ago* include/cygwin/version.h: Bump DLL minor number.
cgf [Sat, 23 Nov 2002 17:43:45 +0000 (17:43 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

21 years ago2002-11-23 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 23 Nov 2002 17:17:29 +0000 (17:17 +0000)]
2002-11-23  Andrew Cagney  <ac131313@redhat.com>

* arm-tdep.c (arm_gdbarch_init): Remove old style non-generic
dummy frame initialization code.
* mips-tdep.c (mips_gdbarch_init): Ditto.

21 years agoFix typo describing switch for hex format.
nickc [Sat, 23 Nov 2002 08:01:51 +0000 (08:01 +0000)]
Fix typo describing switch for hex format.

21 years ago * Makefile.tpl: Pass 'srcdir' to subconfigures correctly.
neroden [Sat, 23 Nov 2002 04:09:59 +0000 (04:09 +0000)]
* Makefile.tpl: Pass 'srcdir' to subconfigures correctly.
* Makefile.in: Regenerate.

21 years ago2002-11-22 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Sat, 23 Nov 2002 04:01:30 +0000 (04:01 +0000)]
2002-11-22  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Pass 'srcdir' to subconfigures correctly.
* configure: Regenerate.

21 years ago* win32-nat.c (child_attach): Reset saw_create counter or subsequent attach
cgf [Sat, 23 Nov 2002 02:49:45 +0000 (02:49 +0000)]
* win32-nat.c (child_attach): Reset saw_create counter or subsequent attach
will hang.

21 years ago2002-11-22 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 23 Nov 2002 01:39:25 +0000 (01:39 +0000)]
2002-11-22  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default
to default_frame_address.
* gdbarch.h, gdbarch.c: Re-generate.

* d10v-tdep.c (d10v_gdbarch_init): Do not set frame_args_address
or frame_locals_address to default_frame_address.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.

* cris-tdep.c (cris_frame_args_address): Delete function.
(cris_frame_locals_address): Delete function.
(cris_gdbarch_init): Do not set frame_args_address or
frame_locals_address.

21 years ago2002-11-22 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 23 Nov 2002 01:34:42 +0000 (01:34 +0000)]
2002-11-22  Michael Snyder  <msnyder@redhat.com>

* thread-db.c (thread_db_load): Tell the user what's going on
if dlopen fails on libthread_db.

21 years agofix typo
cgf [Sat, 23 Nov 2002 01:27:42 +0000 (01:27 +0000)]
fix typo

21 years ago2002-11-22 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 23 Nov 2002 01:12:05 +0000 (01:12 +0000)]
2002-11-22  Andrew Cagney  <ac131313@redhat.com>

* dv-core.c: Update copyright.  sim/common contributed to the FSF.
* dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto.
* hw-device.h, hw-handles.c, hw-handles.h: Ditto.
* hw-instances.c, hw-instances.h, hw-properties.c: Ditto.
* hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto.
* sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto.
* sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto.
* sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto.
* sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto.
* sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.

21 years ago*** empty log message ***
gdbadmin [Sat, 23 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * m68k-tdep.c (m68k_register_virtual_type): Use architecture
schwab [Fri, 22 Nov 2002 23:59:19 +0000 (23:59 +0000)]
* m68k-tdep.c (m68k_register_virtual_type): Use architecture
invariant return values.

21 years ago2002-11-22 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 22 Nov 2002 23:20:46 +0000 (23:20 +0000)]
2002-11-22  Andrew Cagney  <cagney@redhat.com>

* gen.c (name_cmp): Rename format_name_cmp.
(insn_list_insert): When a merge, compare the format name and
instruction name.  Add trace messages.

21 years agodaily update
amodra [Fri, 22 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-22 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Fri, 22 Nov 2002 21:02:20 +0000 (21:02 +0000)]
2002-11-22  Elena Zannoni  <ezannoni@redhat.com>

  * Makefile.in (install): Make 'install' do some real work.

21 years agomerge from gcc
dj [Fri, 22 Nov 2002 21:02:07 +0000 (21:02 +0000)]
merge from gcc

21 years ago* exceptions.cc (handle_sigsuspend): Force pending signal delivery before
cgf [Fri, 22 Nov 2002 20:51:12 +0000 (20:51 +0000)]
* exceptions.cc (handle_sigsuspend): Force pending signal delivery before
waiting for signals to happen.
* signal.cc (sleep): Force pending signal delivery before sleeping.
(usleep): Ditto.
(signal): Force pending signal delivery before manipulating signal stuff.
(sigprocmask): Ditto.
(kill_worker): Ditto.
(abort): Ditto.
(sigaction): Ditto.
* syscalls.cc (readv): Force pending signal delivery before I/O.
(writev): Ditto.
(open): Ditto.
* net.cc: Ditto, throughout.
* sigproc.cc (sig_dispatch_pending): Deliver any pending signals prior to
returning.
* tty.cc (tty::make_pipes): Increase pipe buffer size.

21 years ago* gcc 3.2 compatibility fixes
fche [Fri, 22 Nov 2002 20:34:58 +0000 (20:34 +0000)]
* gcc 3.2 compatibility fixes

[e.g. include/ChangeLog]
2002-11-22  Frank Ch. Eigler  <fche@redhat.com>

* sidattrutil.h: Give up on hash tables - too many incompatible
libstdc++'s out there.
* configure.in: Don't bother looking for hash stuff.
* configure, sidconfutil.in: Regenerated.
* sidmiscutil.h: Add some "typename" qualifiers.
* sidcpuutil.h (cpu_trace_stream): Trade publicness for friendliness
regarding cout_p.

[e.g., component/parport/ChangeLog]
2002-11-22  Frank Ch. Eigler  <fche@redhat.com>

* ps2.cxx (parport_inputpin): Fix formal arg list.

[e.g., component/interrupt/ChangeLog]
2002-11-22  Frank Ch. Eigler  <fche@redhat.com>

* components.cxx (compInterruptDelete): Avoid dynamic_cast on
deleted pointer.

21 years ago2002-11-22 Joe Buehler <jbuehler@hekimian.com>
jjohnstn [Fri, 22 Nov 2002 19:54:22 +0000 (19:54 +0000)]
2002-11-22  Joe Buehler  <jbuehler@hekimian.com>

        * configure.in: Change check for libc/include in ${CC} to
        use an intermediate value so as to work with different shells.
        * configure: Regenerated.
        * Makefile.in: Ditto.

21 years agoRevert previous change --- the hour was late, and I was confused about
jimb [Fri, 22 Nov 2002 19:07:27 +0000 (19:07 +0000)]
Revert previous change --- the hour was late, and I was confused about
its status.

21 years ago2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
jjohnstn [Fri, 22 Nov 2002 18:06:09 +0000 (18:06 +0000)]
2002-11-22  Vijay L. Khuspe  <vijayk1@kpit.com>

        * libc/sys/h8300hms/read.c: Add support for normal mode
        architecture.

21 years ago* duplicate dtor - merge bug fix
fche [Fri, 22 Nov 2002 17:15:42 +0000 (17:15 +0000)]
* duplicate dtor - merge bug fix

21 years ago * valops.c (value_slice): Move declaration of `offset' to avoid
schwab [Fri, 22 Nov 2002 16:32:45 +0000 (16:32 +0000)]
* valops.c (value_slice): Move declaration of `offset' to avoid
warning.

21 years ago* include/cygwin/version.h: Fix comment.
cgf [Fri, 22 Nov 2002 16:27:31 +0000 (16:27 +0000)]
* include/cygwin/version.h: Fix comment.

21 years ago* win32-nat.c (psapi_get_dll_name): Fix a compiler warning.
cgf [Fri, 22 Nov 2002 07:34:54 +0000 (07:34 +0000)]
* win32-nat.c (psapi_get_dll_name): Fix a compiler warning.
(struct so_stuff): Add end_addr field.
(register_loaded_dll): Calculate and store end address of loaded dll.
(solib_address): New function.
(child_solib_loaded_library_pathname): Pass carefully constructed section info
to safe_symbol_file_add rather than ignoring it.
(get_child_debug_event): Call re_enable_breakpoints_in_shlibs when a DLL is
loaded.
(do_initial_child_stuff): Call disable_breakpoints_in_shlibs.
(child_create_inferior): Fix a compiler warning.
* config/i386/tm-cygwin.h (PC_SOLIB): Define new macro.
(solib_address): Declare new function.

21 years ago* gdb.base/step-line.exp: Check that GDB can handle filenames that
jimb [Fri, 22 Nov 2002 07:00:36 +0000 (07:00 +0000)]
* gdb.base/step-line.exp: Check that GDB can handle filenames that
appear in the line number info, but not in the preprocessor macro
info.

* lib/gdb.exp (gdb_internal_error_regexp): New variable.
(gdb_internal_error_resync): New procedure.
(gdb_test): If the command results in an internal error,
answer GDB's questions until we get back to a prompt.

21 years ago* external.cc (cygwin_internal): Fix va_arg references.
cgf [Fri, 22 Nov 2002 04:50:53 +0000 (04:50 +0000)]
* external.cc (cygwin_internal): Fix va_arg references.

21 years ago* exceptions.cc (sigthread::get_winapi_lock): Just do standard 'give up
cgf [Fri, 22 Nov 2002 04:43:46 +0000 (04:43 +0000)]
* exceptions.cc (sigthread::get_winapi_lock): Just do standard 'give up
timeslice' wait.
(setup_handler): Revamp YA to attempt to deliver signal multiple times on
failure rather than punting to wait_sig.
* miscfuncs.cc (low_priority_sleep): Accept INFINITE sleep to mean "don't reset
the priority after setting it to idle".  Return previous priority.
* winsup.h (SLEEP_0_STAY_LOW): Define.
(low_priority_sleep): Return an int.
* sigproc.h: Define WAIT_SIG_PRIORITY here.
* sigproc.cc: Remove WAIT_SIG_PRIORITY definition.

21 years ago * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
drow [Fri, 22 Nov 2002 04:31:21 +0000 (04:31 +0000)]
* gdb.base/maint.exp (help maint dump-me): Update with typo fix.

21 years ago2002-11-21 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 22 Nov 2002 04:20:49 +0000 (04:20 +0000)]
2002-11-21  Andrew Cagney  <ac131313@redhat.com>

* filter.c: Re-indent.
* filter.h, filter_host.h, gen-engine.c, gen-engine.h: Ditto.
* gen-icache.c, gen-icache.h, gen-idecode.c: Ditto.
* gen-idecode.h, gen-itable.c, gen-itable.h: Ditto.
* gen-model.c, gen-model.h, gen-semantics.c: Ditto.
* gen-semantics.h, gen-support.c, gen-support.h: Ditto.
* gen.c, gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto.
* ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto.
* lf.h, misc.c, misc.h, table.c, table.h: Ditto.

21 years ago2002-11-21 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 22 Nov 2002 04:09:40 +0000 (04:09 +0000)]
2002-11-21  Andrew Cagney  <ac131313@redhat.com>

        * Makefile.in: Update copyright.  IGEN contributed to the FSF.
        * filter.c, filter.h, filter_host.c, filter_host.h: Ditto.
        * gen-engine.c, gen-engine.h, gen-icache.c, gen-icache.h: Ditto.
        * gen-idecode.c, gen-idecode.h, gen-itable.c: Ditto.
        * gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c: Ditto.
        * gen-semantics.h, gen-support.c, gen-support.h, gen.c: Ditto.
        * gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto.
        * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto.
        * lf.h, misc.c, misc.h, table.c, table.h: Ditto.

21 years ago * m68k-tdep.c (m68k_register_virtual_type): Return int for SR, FPC
schwab [Fri, 22 Nov 2002 00:02:02 +0000 (00:02 +0000)]
* m68k-tdep.c (m68k_register_virtual_type): Return int for SR, FPC
and FPS registers.

21 years ago*** empty log message ***
gdbadmin [Fri, 22 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Thu, 21 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * cpu/iq10.cpu: New file.
scox [Thu, 21 Nov 2002 22:12:20 +0000 (22:12 +0000)]
* cpu/iq10.cpu: New file.
* cpu/iq2000.cpu: Likewise.
* cpu/iq2000.opc: Likewise.
* cpu/iq2000m.cpu: Likewise.

21 years ago * ld-elf/elf.exp: Remove sec64k test.
amodra [Thu, 21 Nov 2002 21:37:06 +0000 (21:37 +0000)]
* ld-elf/elf.exp: Remove sec64k test.
* ld-elf/sec64k.exp: Reinstate.

21 years ago * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific
ciceron [Thu, 21 Nov 2002 21:25:22 +0000 (21:25 +0000)]
* tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific
interpreter is installed.

21 years ago * maint.c (_initialize_maint_cmds): Fix typo. From
drow [Thu, 21 Nov 2002 19:38:01 +0000 (19:38 +0000)]
* maint.c (_initialize_maint_cmds): Fix typo.  From
Francesco Potorti` <pot@gnu.org>.

21 years ago * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
danglin [Thu, 21 Nov 2002 19:06:28 +0000 (19:06 +0000)]
* config/tc-hppa.h (tc_frob_symbol):  Frob undefined unused symbols
only if they have default visibility.

21 years ago * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
rth [Thu, 21 Nov 2002 18:56:05 +0000 (18:56 +0000)]
    * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
        S_IS_DEFINED test.

21 years ago2002-11-21 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 21 Nov 2002 18:54:43 +0000 (18:54 +0000)]
2002-11-21  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_dump_tdep): Delete references to
GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC.
* config/mips/tm-mips.h (GDB_TARGET_MASK_DISAS_PC): Delete macro.
(GDB_TARGET_UNMASK_DISAS_PC): Delete macro.
* printcmd.c (build_address_symbolic): Delete calls to
GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC.
(address_info): Ditto.
Fix PR gdb/773.

21 years ago * elflink.h (elf_link_add_object_symbols): Don't overwrite the
rth [Thu, 21 Nov 2002 18:52:35 +0000 (18:52 +0000)]
    * elflink.h (elf_link_add_object_symbols): Don't overwrite the
        arch's st_other bits when merging visibilities.
        (elf_link_output_extsym): Tidy clearing of visibility field.

21 years ago * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop.
amodra [Thu, 21 Nov 2002 13:30:29 +0000 (13:30 +0000)]
* ld-elf/elf.exp: Renamed from sec64k.exp.  Add test_list loop.
* ld-elf/merge.s: New file.
* ld-elf/merge.d: New file.
* ld-elf/merge.ld: New file.

21 years ago * coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define.
amodra [Thu, 21 Nov 2002 13:11:32 +0000 (13:11 +0000)]
* coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define.
(SWAP_OUT_RELOC_OFFSET): Define.

21 years ago * config/tc-mcore.c (mcore_pool_count): New function.
amodra [Thu, 21 Nov 2002 11:43:39 +0000 (11:43 +0000)]
* config/tc-mcore.c (mcore_pool_count): New function.
(mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.

21 years ago2002-11-20 Klee Dienes <kdienes@apple.com>
kdienes [Thu, 21 Nov 2002 09:54:11 +0000 (09:54 +0000)]
2002-11-20  Klee Dienes  <kdienes@apple.com>

        * config/tc-mcore.c (md_begin): Use a const iterator.  Don't
        coalesce the name fields to use the same pointer.

        * config/tc-sh.c (md_begin): Use a const iterator.  Don't coalesce
        the name fields to use the same pointer.
        (get_specific): Check for opcodes with the same name using strcmp
        as well as comparing the pointer.

21 years ago*** empty log message ***
gdbadmin [Thu, 21 Nov 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Wed, 20 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago* elf.c (_bfd_elf_link_hash_table_init): Make sure
aoliva [Wed, 20 Nov 2002 18:17:04 +0000 (18:17 +0000)]
* elf.c (_bfd_elf_link_hash_table_init): Make sure
can_refcount is properly extended to the type of
init_refcount.

21 years ago2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
jjohnstn [Wed, 20 Nov 2002 17:24:57 +0000 (17:24 +0000)]
2002-11-20  Ryo Tsuruta  <ryo@kitanet.ne.jp>

        * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
        code for __H8300H__ and __H8300S__.  Also return 32-bit return code
        when -mint32 is used.

21 years ago * security.h: Declare internal_getpwsid and internal_getgrsid.
corinna [Wed, 20 Nov 2002 17:10:04 +0000 (17:10 +0000)]
* security.h: Declare internal_getpwsid and internal_getgrsid.
Undeclare internal_getpwent.  Define DEFAULT_UID_NT.  Change
DEFAULT_GID.
* passwd.cc (internal_getpwsid): New function.
(internal_getpwent): Suppress.
(read_etc_passwd): Make static.  Rewrite the code for the completion
line.  Set curr_lines to 0.
(parse_pwd): Change type to static int.  Return 0 for short lines.
(add_pwd_line): Pay attention to the value of parse_pwd.
(search_for): Do not look for nor return the DEFAULT_UID.
* grp.cc (read_etc_group): Make static.  Free gr_mem and set
curr_lines to 0.  Always call add_pwd_line.  Rewrite the code for the
completion line.
(internal_getgrsid): New function.
(parse_grp): If grp.gr_mem is empty, set it to &null_ptr.
Never NULL gr_passwd.
(getgrgid32): Only return the default if ntsec is off and the gid is
ILLEGAL_GID.
* sec_helper.cc (cygsid::get_id): Use getpwsid and getgrsid.
(cygsid_getfrompw): Clean up last line.
(cygsid_getfromgr): Ditto.
(is_grp_member): Use getpwuid32 and getgrgid32.
* uinfo.cc (internal_getlogin): Set DEFAULT_GID at start.
Use getpwsid. Move the read of /etc/group after the second access
to /etc/passwd.  Change some debug_printf.

21 years ago * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of
drow [Wed, 20 Nov 2002 16:31:08 +0000 (16:31 +0000)]
* linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of
defined(PT_FPR0_HI).

21 years ago * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
amodra [Wed, 20 Nov 2002 12:56:01 +0000 (12:56 +0000)]
* write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
fx_subsy non-NULL.

21 years ago * poll.cc (poll): ...but set POLLIN instead.
corinna [Wed, 20 Nov 2002 11:00:14 +0000 (11:00 +0000)]
* poll.cc (poll): ...but set POLLIN instead.

21 years ago * security.cc (get_attribute_from_acl): Always test "anti",
corinna [Wed, 20 Nov 2002 09:23:20 +0000 (09:23 +0000)]
* security.cc (get_attribute_from_acl): Always test "anti",
just in case an access_denied ACE follows an access_allowed.
Handle the case owner_sid == group_sid, with a FIXME.
Remove unnecessary tests for non-NULL PSIDs.
(alloc_sd): Use existing owner and group sids if {ug}id == -1.
Handle case where owner_sid == group_sid.
Do not call is_grp_member. Try to preserve canonical ACE order.
Remove unnecessary tests for non-NULL PSIDs. Reorganize
debug_printf's.
(get_initgroups_sidlist): Put well_known_system_sid on left
side of ==.
(add_access_denied_ace): Only call GetAce if inherit != 0.
(add_access_allowed_ace): Ditto. Use appropriate sizeof.
* syscalls.cc (chown_worker): Pass {ug}id equal to -1 to
alloc_sd, which removes the need to obtain old_{ug}id.
(chmod): Remove call to get_file_attribute (), simply pass
{ug}id equal to -1 to alloc_sd.

21 years ago2002-11-19 Klee Dienes <kdienes@apple.com>
kdienes [Wed, 20 Nov 2002 08:57:59 +0000 (08:57 +0000)]
2002-11-19  Klee Dienes  <kdienes@apple.com>
            Adam Fedor  <fedor@gnu.org>

        * completer.c (skip_quoted_chars): Renamed from skip_chars.  Add
        the ability to explicitly specify the quote characters and word
        break characters; if NULL is specified for either, use the old
        behavior of using the characters used by the completer.
        (skip_chars): New function.  Convenience wrapper around
        skip_quoted_chars to provide the original skip_chars behavior.
        * completer.h (skip_quoted_chars): Add prototype.

21 years ago * poll.cc (poll): Don't set POLLERR if a listening socket has a
corinna [Wed, 20 Nov 2002 08:03:49 +0000 (08:03 +0000)]
* poll.cc (poll): Don't set POLLERR if a listening socket has a
pending connect.  Don't use errno value from call to
fhandler_socket::recvfrom().

21 years ago* xstormy16-cpu.h: Regenerate.
dj [Wed, 20 Nov 2002 03:15:43 +0000 (03:15 +0000)]
* xstormy16-cpu.h: Regenerate.
* xstormy16-decode.cxx: Regenerate.
* xstormy16-decode.h: Regenerate.
* xstormy16-defs.h: Regenerate.
* xstormy16-desc.h: Regenerate.
* xstormy16-sem.cxx: Regenerate.
* xstormy16-write.cxx: Regenerate.

21 years ago* xstormy16-desc.c: Regenerate.
dj [Wed, 20 Nov 2002 03:15:09 +0000 (03:15 +0000)]
* xstormy16-desc.c: Regenerate.
* xstormy16-opc.c: Regenerate.
* xstormy16-opc.h: Regenerate.

21 years ago* gas/xstormy16/allinsn.sh: Add sdiv, divlh, and sdivlh.
dj [Wed, 20 Nov 2002 03:14:46 +0000 (03:14 +0000)]
* gas/xstormy16/allinsn.sh: Add sdiv, divlh, and sdivlh.
* gas/xstormy16/allinsn.d: Regenerate.
* gas/xstormy16/allinsn.s: Regenerate.

21 years ago* cpu/xstormy16.cpu (sdiv, divlh, sdivlh): New.
dj [Wed, 20 Nov 2002 03:14:18 +0000 (03:14 +0000)]
* cpu/xstormy16.cpu (sdiv, divlh, sdivlh): New.

21 years agomove testsuite entries to the correct changelog
amodra [Wed, 20 Nov 2002 02:50:27 +0000 (02:50 +0000)]
move testsuite entries to the correct changelog

21 years ago * config/obj-elf.c (obj_elf_visibility): Overwrite only the
rth [Wed, 20 Nov 2002 02:39:21 +0000 (02:39 +0000)]
    * config/obj-elf.c (obj_elf_visibility): Overwrite only the
        visibility portion of st_other.

21 years ago * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
amodra [Wed, 20 Nov 2002 01:02:43 +0000 (01:02 +0000)]
* emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.

Also move some changelog entries to where they belong.

21 years ago2002-11-19 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 20 Nov 2002 00:47:59 +0000 (00:47 +0000)]
2002-11-19  Andrew Cagney  <ac131313@redhat.com>

Problems reported by Paul Eggert.
* gdbarch.sh: Use `sort -k 3`.  Fix PR gdb/527.

Index: doc/ChangeLog
2002-11-19  Andrew Cagney  <ac131313@redhat.com>

Fix POSIX problem reported by Paul Eggert.
* Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'.

21 years ago2002-11-19 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 20 Nov 2002 00:28:58 +0000 (00:28 +0000)]
2002-11-19  Andrew Cagney  <ac131313@redhat.com>

* exp_clib.c (ecases;): Cast value returned by TclRegComp to a
  void pointer.
* exp_command.c (Exp_SpawnCmd): Cast `wfd' to an int before
passing to `dup'.  Pass `rfd' and `wfd' to an int before assigning
to `master'.

21 years ago*** empty log message ***
gdbadmin [Wed, 20 Nov 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * m68klinux-nat.c (IS_SIGTRAMP, IS_RT_SIGTRAMP)
schwab [Tue, 19 Nov 2002 23:14:43 +0000 (23:14 +0000)]
* m68klinux-nat.c (IS_SIGTRAMP, IS_RT_SIGTRAMP)
(m68k_linux_in_sigtramp, SIGCONTEXT_PC_OFFSET)
(UCONTEXT_PC_OFFSET, m68k_linux_sigtramp_saved_pc)
(m68k_linux_frame_saved_pc): Move to ...
* m68klinux-tdep.c: ... here.  New file.
* Makefile.in (m68klinux-tdep.o): Add dependencies.
* config/m68k/linux.mt (TDEPFILES): Add m68klinux-tdep.o.

21 years agodaily update
amodra [Tue, 19 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-19 Klee Dienes <kdienes@apple.com>
kdienes [Tue, 19 Nov 2002 22:56:41 +0000 (22:56 +0000)]
2002-11-19  Klee Dienes  <kdienes@apple.com>

        * config/tc-h8300.c (struct h8_instruction): New type, used to
        wrap h8_opcodes with length, noperands, idx, and size fields
        (computed at run-time).
        (h8_instructions): New variable.
        (md_begin): Allocate the storage for h8_instructions.  Fill
        h8_instructions with pointers to the appropriate opcode and the
        correct value for the additional fields.
        (clever_message): Update to use h8_instructions instead of
        h8_opcodes.
        (build_bytes): Ditto.
        (get_specific): Ditto.
        (md_assemble): Ditto.

21 years ago2002-11-19 Klee Dienes <kdienes@apple.com>
kdienes [Tue, 19 Nov 2002 22:56:14 +0000 (22:56 +0000)]
2002-11-19  Klee Dienes  <kdienes@apple.com>

        * h8300.h (h8_opcode): Remove 'noperands', 'idx', and 'size'
        fields.
        (h8_opcodes). Modify initializer and initializer macros to no
        longer initialize the removed fields.

21 years ago2002-11-19 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 19 Nov 2002 22:24:31 +0000 (22:24 +0000)]
2002-11-19  Michael Snyder  <msnyder@redhat.com>

* ptrace-target.c: Fix typo in copyright.

21 years ago* elfxx-mips.c (MIPS_RELOC_RELA_P): New macro.
aoliva [Tue, 19 Nov 2002 20:52:31 +0000 (20:52 +0000)]
* elfxx-mips.c (MIPS_RELOC_RELA_P): New macro.
(_bfd_mips_elf_relocate_section): Use it.

21 years ago* elfxx-mips.c (MNAME): New macro.
aoliva [Tue, 19 Nov 2002 20:50:42 +0000 (20:50 +0000)]
* elfxx-mips.c (MNAME): New macro.
(_bfd_mips_elf_check_relocs): Use it.
(_bfd_mips_elf_discard_info): Likewise.
(_bfd_mips_elf_final_link): Likewise.

21 years ago2002-11-19 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 19 Nov 2002 19:33:45 +0000 (19:33 +0000)]
2002-11-19  Andrew Cagney  <ac131313@redhat.com>

* generic/gdbtk-cmds.c (gdb_loc): Use get_frame_type instead of
->signal_handler_caller.
* generic/gdbtk-stack.c (get_frame_name): Ditto.
(get_frame_name): Ditto.

21 years agoRevert to old skip_quoted usage.
fedor [Tue, 19 Nov 2002 15:23:57 +0000 (15:23 +0000)]
Revert to old skip_quoted usage.

21 years ago* Makefile.in (SFILES): Add objc-exp.y objc-lang.c.
fedor [Tue, 19 Nov 2002 15:17:50 +0000 (15:17 +0000)]
* Makefile.in (SFILES): Add objc-exp.y objc-lang.c.
(objc_lang_h): Define.
(YYFILES): Add objc-exp.tab.c.
(local-maintainer-clean): Remove objc-exp.tab.c.
(objc-exp.tab.c, objc-exp.tab.o, objc-lang.o): New target.

21 years ago* config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
sky [Tue, 19 Nov 2002 14:58:52 +0000 (14:58 +0000)]
* config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
adjustments to symbols in merge sections.

21 years ago2002-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Tue, 19 Nov 2002 12:44:43 +0000 (12:44 +0000)]
2002-11-19  Pierre Muller  <muller@ics.u-strasbg.fr>

* p-exp.y (typecast rule): Add automatic dereference of
pascal classes if needed.
(THIS): Set current_type.
Automatically dereference pascal classes.
(typebase rule): Add ^typebase recognition.

21 years agoFixed LDHI constraint
sveinse [Tue, 19 Nov 2002 11:59:12 +0000 (11:59 +0000)]
Fixed LDHI constraint

21 years ago* net.cc: Sprinkle sigframes throughout.
cgf [Tue, 19 Nov 2002 08:01:48 +0000 (08:01 +0000)]
* net.cc: Sprinkle sigframes throughout.

21 years ago * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
amodra [Tue, 19 Nov 2002 07:32:27 +0000 (07:32 +0000)]
* config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.

21 years ago * elf64-ppc.c (ppc64_elf_edit_opd): When deleting relocs, adjust
amodra [Tue, 19 Nov 2002 06:32:33 +0000 (06:32 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): When deleting relocs, adjust
rel_hdr.sh_size too.

21 years ago* expprint.c (print_subexp): Handle OP_OBJC_NSSTRING,
fedor [Tue, 19 Nov 2002 03:36:42 +0000 (03:36 +0000)]
* expprint.c (print_subexp): Handle OP_OBJC_NSSTRING,
OP_OBJC_MSGCALL, and OP_OBJC_SELF.
(op_name): Handle OP_OBJC_SELF.
* Makefile.in (expprint.o): Add additional depends.

21 years ago* expression.h: Rename ObjC ops to OP_OBJC_MSGCALL,
fedor [Tue, 19 Nov 2002 03:23:39 +0000 (03:23 +0000)]
* expression.h: Rename ObjC ops to OP_OBJC_MSGCALL,
OP_OBJC_SELECTOR, OP_OBJC_NSSTRING, and OP_OBJC_SELF.
* parse.c (length_of_subexp, prefixify_subexp): Likewise.
* objc-exp.y: Likewise.

21 years agogdb/parser-defs.h: (struct objc_class_str): New structure
fedor [Tue, 19 Nov 2002 03:15:00 +0000 (03:15 +0000)]
gdb/parser-defs.h: (struct objc_class_str): New structure
for parsing ObjC classes.

21 years agoremove unneeded comments
cgf [Tue, 19 Nov 2002 01:20:58 +0000 (01:20 +0000)]
remove unneeded comments

21 years ago2002-11-18 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 19 Nov 2002 00:45:58 +0000 (00:45 +0000)]
2002-11-18  Andrew Cagney  <ac131313@redhat.com>

* stack.c (frame_relative_level): Copy function from here ...
* frame.c (frame_relative_level): ...to here.