OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
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.

21 years ago*** empty log message ***
gdbadmin [Tue, 19 Nov 2002 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Mon, 18 Nov 2002 23:00:06 +0000 (23:00 +0000)]
daily update

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

* frame.h (enum frame_type): Define.
(get_frame_type): Declare.
(struct frame_info): Add field `type'.  Delete field
signal_handler_caller.
(deprecated_set_frame_signal_handler_caller): Declare.
* frame.c (get_frame_type): New function.
(deprecated_set_frame_type): New function.
(create_new_frame): Set the frame's type.
(get_prev_frame): Similar.
* sparc-tdep.c: Use get_frame_type instead of signal_handler_caller.
* s390-tdep.c: Ditto.
* m68klinux-nat.c: Ditto.
* ns32k-tdep.c: Ditto.
* x86-64-linux-tdep.c: Ditto.
* vax-tdep.c: Ditto.
* rs6000-tdep.c: Ditto.
* ppc-linux-tdep.c: Ditto.
* i386-interix-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* m68k-tdep.c: Ditto.
* hppa-tdep.c: Ditto.
* ia64-tdep.c: Ditto.
* cris-tdep.c: Ditto.
* arm-tdep.c: Ditto.
* alpha-tdep.c: Ditto.
* i386-tdep.c: Ditto.
* stack.c: Ditto.
* ada-lang.c: Ditto.
* blockframe.c: Update.
* i386-interix-tdep.c (i386_interix_back_one_frame): Use
deprecated_set_frame_type instead of signal_handler_caller.
* ppc-linux-tdep.c (ppc_linux_init_extra_frame_info): Ditto.
* rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
* breakpoint.h: Delete FIXME suggesting get_frame_type.

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

* tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
signal_handler_caller.

21 years ago2002-11-18 Klee Dienes <kdienes@apple.com>
kdienes [Mon, 18 Nov 2002 21:53:31 +0000 (21:53 +0000)]
2002-11-18   Klee Dienes  <kdienes@apple.com>

        * Makefile.in (buildsym.o): Add dependency for gdb_assert.h.

21 years agoAdd support for 64-bit DWARF 2 formats to gas.
kevinb [Mon, 18 Nov 2002 21:08:50 +0000 (21:08 +0000)]
Add support for 64-bit DWARF 2 formats to gas.

21 years ago2002-11-18 Klee Dienes <kdienes@apple.com>
kdienes [Mon, 18 Nov 2002 20:57:55 +0000 (20:57 +0000)]
2002-11-18  Klee Dienes  <kdienes@apple.com>

        * buildsym.c (pop_context): Add comment.

21 years ago* config/tc-mips.c (s_change_section): Make sure input buffer
aoliva [Mon, 18 Nov 2002 20:45:45 +0000 (20:45 +0000)]
* config/tc-mips.c (s_change_section): Make sure input buffer
is not accessed past the end.  Don't hand
obj_elf_change_section a pointer into the input buffer.

21 years ago* config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
aoliva [Mon, 18 Nov 2002 20:41:02 +0000 (20:41 +0000)]
* config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
GOT_LO16 on NEWABI.

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

        * buildsym.h (pop_context): Convert to function, defined in
        buildsym.c.
        * buildsym.c: Include gdb_assert.h.
        (pop_context): Implement as C function.  Add check for stack
        underflow.
        * dbxread.c (process_one_symbol): Complain and stop processing
        that symbol if we are already at the top of the context stack for
        a function-end N_FUN (this would imply an umatched RBRAC).  Ditto
        when processing N_RBRAC.

21 years ago2002-11-12 Klee Dienes <kdienes@apple.com>
kdienes [Mon, 18 Nov 2002 16:54:07 +0000 (16:54 +0000)]
2002-11-12  Klee Dienes  <kdienes@apple.com>

* avr-dis.c: Include libiberty.h (for xmalloc).
(struct avr_opcodes_s): Remove 'bin_mask' field (it's
automatically computed in the init routine).
(AVR_INSN): No longer provide bin_mask field in initializer.
(avr_opcodes_s): Declare as const.
(print_insn_avr): Store the bin_mask field in a separate table
(allocated with xmalloc); iterate through it at the same time as
we iterate through the opcodes.

21 years ago2002-11-11 Klee Dienes <kdienes@apple.com>
kdienes [Mon, 18 Nov 2002 16:52:44 +0000 (16:52 +0000)]
2002-11-11  Klee Dienes  <kdienes@apple.com>

* h8300.h (h8_opcode): Remove 'length' field.
(h8_opcodes): Mark as 'const' (both the declaration and
definition).  Modify initializer and initializer macros to no
longer initialize the length field.

2002-11-11  Klee Dienes  <kdienes@apple.com>

* h8300-dis.c: Include libiberty.h (for xmalloc).
(struct h8_instruction): New type, used to wrap h8_opcodes with a
length field (computed at run-time).
(h8_instructions): New variable.
(bfd_h8_disassemble_init): Allocate the storage for
h8_instructions.  Fill h8_instructions with pointers to the
appropriate opcode and the correct value for the length field.
(bfd_h8_disassemble): Iterate through h8_instructions instead of
h8_opcodes.

21 years ago2002-11-18 Klee Dienes <kdienes@apple.com>
kdienes [Mon, 18 Nov 2002 16:49:54 +0000 (16:49 +0000)]
2002-11-18  Klee Dienes  <kdienes@apple.com>

* arc.h (arc_ext_opcodes): Declare as extern.
(arc_ext_operands): Declare as extern.
* i860.h (i860_opcodes): Declare as const.

2002-11-18  Klee Dienes  <kdienes@apple.com>

* arc-opc.c (arc_ext_opcodes): Define.
(arc_ext_operands): Define.
* i386-dis.c (Suffix3DNow): Declare as const.
* arm-opc.h (arm_opcodes): Declare as const.
(thumb_opcodes): Declare as const.
* h8500-opc.h (h8500_table): Declare as const.
(h8500_table): Use a NULL for the opcode in the terminator, so
that code testing (opcode->name) behaves correctly.
* mcore-opc.h (mcore_table): Declare as const.
* sh-opc.h (sh_table): Declare as const.
* w65-opc.h (optable): Declare as const.
* z8k-opc.h (z8k_table): Declare as const.

21 years ago2002-11-16 Klee Dienes <kdienes@apple.com>
kdienes [Mon, 18 Nov 2002 16:37:51 +0000 (16:37 +0000)]
2002-11-16  Klee Dienes  <kdienes@apple.com>

* Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo.
(BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c.
(BFD_H_FILES): Add bfdwin.c, bfdio.c.
(LIBBFD_H_FILES): Add bfdwin.c, bfdio.c.
Add dependencies for bfdwin.c, bfdio.c.
* bfd.c: Remove bfd_get_mtime, bfd_get_size.
* libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal,
bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite,
bfd_tell, bfd_flush, bfd_stat, bfd_seek.
* bfdio.c: New file.  Contains real_read, bfd_bread, bfd_write,
bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime,
bfd_get_size (moved from libbfd.c and bfd.c).
* bfdwin.c New file.  Contains _bfd_window_internal,
bfd_init_window, bfd_free_window, bfd_get_file_window (moved from
libbfd.c and bfd.c).
* po/SRC-POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.

2002-11-16  Klee Dienes  <kdienes@apple.com>

* Makefile.am (DOCFILES): Add bfdwin.texi, bfdio.texi.
(PROTOS): Add bfdio.p, bfdwin.p.
(SRCDOC): Add bfdio.c, bfdwin.c.
(SRCPROT): Add bfdio.c, bfdwin.c.
(SRCIPROT): Add bfdio.c, bfdwin.c.
(LIBBFD_H_DEP): Add bfdio.c, bfdwin.c.
(BFD_H_DEP): Add bfdio.c, bfdwin.c.
Add rules for bfdio.texi, bfdwin.text.
* bfd.texinfo: Include bfdio.texi.

21 years agoFix bugs in previous delta
nickc [Mon, 18 Nov 2002 16:30:55 +0000 (16:30 +0000)]
Fix bugs in previous delta

21 years ago Add NULL to end of argv array.
nickc [Mon, 18 Nov 2002 15:21:22 +0000 (15:21 +0000)]
 Add NULL to end of argv array.

21 years agoFixups in ChangeLog entries which has been filed in the wrong place.
sveinse [Mon, 18 Nov 2002 14:00:39 +0000 (14:00 +0000)]
Fixups in ChangeLog entries which has been filed in the wrong place.

21 years ago * gas/config/tc-tic4x.c: Fixed proper commandline
sveinse [Mon, 18 Nov 2002 09:09:28 +0000 (09:09 +0000)]
* gas/config/tc-tic4x.c: Fixed proper commandline
parameters. Added support for new opcode-list format. General
error message fixups.
(c4x_inst_add): Reject insn not for our CPU
(md_begin): Added matrix for setting the proper opcode-level &
device-flags according to cpu type and revision. Rewrite the
opcode hasher.
(c4x_operand_parse): Fix opcode bug
(c4x_operands_match): New function argument. Added dry-run
mechanism, that is optional error generation. Added constraint 'i'
and 'j'.
(c4x_insn_check): Added new function for post-verification of the
generated insn.
(md_assemble): Check all opcodes before croaking because of an
argument mismatch. Need this to be able to fully support
ortogonally arguments.
(md_parse_options): Revised commandprompt swicthes and added new
ones.
(md_show_usage): Complete rewrite of printout.
* gas/testsuite/gas/tic4x/addressing.s: Fix bug in one insn
* gas/testsuite/gas/tic4x/addressing_c3x.d: Update thereafter
* gas/testsuite/gas/tic4x/addressing_c4x.d: Update thereafter
* gas/testsuite/gas/tic4x/allopcodes.S: Add support for new
opclass.h changes
* gas/testsuite/gas/tic4x/opclasses.h: Added testsuites for
the new enhanced opcodes.
* gas/testsuite/gas/tic4x/opcodes.s: Regenerate
* gas/testsuite/gas/tic4x/opcodes_c3x.d: Update from above
* gas/testsuite/gas/tic4x/opcodes_c4x.d: Update from above
* gas/testsuite/gas/tic4x/opcodes_new.d: Added new testsuite for
the enhanced and special insns.
* gas/testsuite/gas/tic4x/tic4x.exp: Added the opcodes_new testsuite
* include/opcode/tic4x.h: File reordering. Added enhanced opcodes.
* opcodes/tic4x-dis.c: Added support for enhanced and special
insn.
(c4x_print_op): Added insn class 'i' and 'j'
(c4x_hash_opcode_special): Add to support special insn
(c4x_hash_opcode): Update to support the new opcode-list
format. Add support for the new special insns.
(c4x_disassemble): New opcode-list support.

21 years agoTIC4X testcase commit
sveinse [Mon, 18 Nov 2002 08:28:37 +0000 (08:28 +0000)]
TIC4X testcase commit

* binutils/testsuite/binutils-all/objcopy.exp: Disable tic4x
from test
* binutils/testsuite/binutils-all/objdump.exp: Setup proper
values for tic4x testcase
* gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase
* gas/testsuite/gas/macros/macros.exp: Ditto
* gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase
* gas/testsuite/gas/macros/macros.exp: Ditto
* gas/testsuite/gas/tic4x: New tic4x gas testsuite directory
* ld/testsuite/ld-scripts/script.exp: Setup for tic4x testcase

21 years ago * linux-arm-low.c (arm_num_regs): Increase.
drow [Mon, 18 Nov 2002 00:37:50 +0000 (00:37 +0000)]
* linux-arm-low.c (arm_num_regs): Increase.
(arm_regmap): Include status register.

* linux-low.c (register_addr): Remove incorrect -1 check.

21 years ago * bfd.c (bfd_preserve_save): Don't zero BFD_IN_MEMORY.
amodra [Mon, 18 Nov 2002 00:33:00 +0000 (00:33 +0000)]
* bfd.c (bfd_preserve_save): Don't zero BFD_IN_MEMORY.

21 years agonew entry: "Is there a better alternative to the standard console window?" (yes,...
davidsb [Mon, 18 Nov 2002 00:25:14 +0000 (00:25 +0000)]
new entry: "Is there a better alternative to the standard console window?" (yes, rxvt)

21 years ago*** empty log message ***
gdbadmin [Mon, 18 Nov 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

21 years agore. copy/paste in console window: use rxvt instead
davidsb [Sun, 17 Nov 2002 23:54:11 +0000 (23:54 +0000)]
re. copy/paste in console window:  use rxvt instead

21 years agoindicate ntsec now on by default
davidsb [Sun, 17 Nov 2002 23:49:14 +0000 (23:49 +0000)]
indicate ntsec now on by default

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

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

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

21 years agomerge whitespace tweaks from gcc
dj [Sat, 16 Nov 2002 22:12:28 +0000 (22:12 +0000)]
merge whitespace tweaks from gcc

21 years agoRemove spurious ChangeLog addition.
kdienes [Sat, 16 Nov 2002 21:09:08 +0000 (21:09 +0000)]
Remove spurious ChangeLog addition.

21 years ago * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_INFERIOR_BY_CLONE): Don't
drow [Sat, 16 Nov 2002 19:23:51 +0000 (19:23 +0000)]
* config/pa/nm-hppah.h (CHILD_POST_FOLLOW_INFERIOR_BY_CLONE): Don't
define.
(struct target_waitstatus): Add opaque definition.
* corelow.c (init_core_ops): Don't set to_clone_and_follow_inferior.
* exec.c (init_exec_ops): Likewise.
* fork-child.c (clone_and_follow_inferior): Remove.
* hppah-nat.c (child_post_follow_inferior_by_clone): Remove.
* inferior.h (clone_and_follow_inferior): Remove prototype.
* infrun.c (follow_fork_mode_both): Remove.
(follow_fork_mode_kind_names): Remove commented out "both".
(follow_inferior_fork): Remove follow_fork_mode_both support.
* inftarg.c (child_clone_and_follow_inferior): Remove.
(child_post_follow_inferior_by_clone): Remove.
(init_child_ops): Don't set to_clone_and_follow_inferior
or to_post_follow_inferior_by_clone.
* target.c (default_clone_and_follow_inferior): Remove.
(cleanup_target): Don't set to_clone_and_follow_inferior
or to_post_follow_inferior_by_clone.
(find_default_clone_and_follow_inferior): Remove.
(init_dummy_target): Don't set to_clone_and_follow_inferior.
(debug_to_clone_and_follow_inferior): Remove.
(debug_to_post_follow_inferior_by_clone): Remove.
(setup_target_debug): Don't set to_clone_and_follow_inferior
or to_post_follow_inferior_by_clone.
* target.h (struct target_ops): Remove to_clone_and_follow_inferior
and to_post_follow_inferior_by_clone.
(child_clone_and_follow_inferior): Remove prototype.
(child_post_follow_inferior_by_clone): Remove prototype.
(target_clone_and_follow_inferior): Remove macro.
(target_post_follow_inferior_by_clone): Remove macro.
(find_default_clone_and_follow_inferior): Remove prototype.

21 years ago * breakpoint.c (bpstat_stop_status): Call inferior_has_forked,
drow [Sat, 16 Nov 2002 19:22:57 +0000 (19:22 +0000)]
* breakpoint.c (bpstat_stop_status): Call inferior_has_forked,
inferior_has_vforked, and inferior_has_execd instead of
target_has_forked, target_has_vforked, and target_has_execd.
* config/pa/nm-hppah.h (CHILD_HAS_FORKED, CHILD_HAS_VFORKED)
(CHILD_HAS_EXECD, CHILD_HAS_SYSCALL_EVENT): Don't define.
(CHILD_WAIT): Define.
(child_wait): Add prototype.
* hppah-nat.c (hpux_has_forked): Rename from child_has_forked.
Add prototype.
(hpux_has_vforked): Likewise, from child_has_vforked.
(hpux_has_execd): Likewise, from child_has_execd.
(hpux_has_syscall_event): Likewise, from child_has_syscall_event.
(not_same_real_pid, child_wait): New, copied from inftarg.c.
Call hpux_has_forked, hpux_has_vforked, hpux_has_execd,
and hpux_has_syscall_event instead of the target hooks.
* infrun.c (inferior_has_forked, inferior_has_vforked)
(inferior_has_execd): New functions.
* inftarg.c (not_same_real_pid): Remove.
(child_wait): Remove references to not_same_real_pid,
target_has_forked, target_has_vforked, target_has_execd,
and target_has_syscall_event.
(child_has_forked, child_has_vforked, child_has_execd)
(child_has_syscall_event): Remove.
(init_child_ops): Remove references to child_has_forked,
child_has_vforked, child_has_execd, and child_has_syscall_event.
* infttrace.c (hpux_has_forked): Rename from child_has_forked.
(hpux_has_vforked): Likewise, from child_has_vforked.
(hpux_has_execd): Likewise, from child_has_execd.
(hpux_has_syscall_event): Likewise, from child_has_syscall_event.
* target.c (cleanup_target): Remove references to
to_has_forked, to_has_vforked, to_has_execd, and
to_has_syscall_event.
(update_current_target): Likewise.
(setup_target_debug): Likewise.
(debug_to_has_forked): Remove.
(debug_to_has_vforked): Remove.
(debug_to_has_execd): Remove.
(debug_to_has_syscall_event): Remove.
* target.h (struct target_ops): Remove to_has_forked.
to_has_vforked, to_has_execd, and to_has_syscall_event.
(child_has_forked, child_has_vforked, child_has_execd)
(child_has_syscall_event): Remove prototypes.
(inferior_has_forked, inferior_has_vforked, inferior_has_execd): Add
prototypes.
(target_has_forked, target_has_vforked, target_has_execd)
(target_has_syscall_event): Remove macros.

21 years ago * hppah-nat.c (child_can_follow_vfork_prior_to_exec): Remove.
drow [Sat, 16 Nov 2002 19:21:43 +0000 (19:21 +0000)]
* hppah-nat.c (child_can_follow_vfork_prior_to_exec): Remove.
* inftarg.c (child_can_follow_vfork_prior_to_exec): Remove.
(init_child_ops): Don't initialize to_can_follow_vfork_prior_to_exec.
* infttrace.c (child_can_follow_vfork_prior_to_exec): Remove.
* target.c (cleanup_target): Remove reference to
to_can_follow_vfork_prior_to_exec.
(update_current_target): Likewise.
(debug_to_can_follow_vfork_prior_to_exec): Remove.
(setup_target_debug): Remove reference to
to_can_follow_vfork_prior_to_exec.
* target.h (struct target_ops): Remove
to_can_follow_vfork_prior_to_exec.
(child_can_follow_vfork_prior_to_exec): Remove prototype.
(target_can_follow_vfork_prior_to_exec): Remove definition.
* config/pa/nm-hppah.h (CHILD_CAN_FOLLOW_VFORK_PRIOR_TO_EXEC): Don't
define.
* infrun.c (follow_vfork_when_exec): Remove.
(follow_inferior_fork): Remove references to follow_vfork_when_exec.
(follow_exec): Likewise.
(handle_inferior_event): Likewise.
(keep_going): Likewise.

21 years ago2002-11-16 Klee Dienes <kdienes@apple.com>
kdienes [Sat, 16 Nov 2002 18:43:02 +0000 (18:43 +0000)]
2002-11-16  Klee Dienes  <kdienes@apple.com>

        * opcode/m88k.h (INSTAB): Remove 'next' field.
        (instruction): Remove definition; replace with extern declaration
        and mark as const.
W

21 years ago2002-11-16 Klee Dienes <kdienes@apple.com>
kdienes [Sat, 16 Nov 2002 18:42:12 +0000 (18:42 +0000)]
2002-11-16  Klee Dienes  <kdienes@apple.com>

        * m88k-dis.c: Include libiberty.h (for xmalloc).
        (HASHTAB): New type, used to build instruction hash tables.
        Contains a pointer to an INSTAB and a pointer to the next hash
        chain entry.
        (instructions): Move definition from m88k.h; remove initialization
        of 'next' field.
        (hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB.
        (printop): Mark pointer to OPSPEC as const.
        (install): Remove; fold into init_disasm.
        (m88kdis): Update to ihashtab_initialized to 1 after calling
        init_disasm.  entry_ptr now iterates through HASHTABs, not
        INSTABs.
        (init_disasm): Iterate through the instructions and add to
        hashtable[].