OSDN Git Service
fnasser [Fri, 9 Jun 2000 16:28:40 +0000 (16:28 +0000)]
2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* gdbtk-cmds.c (get_register): Allow editing of typed registers if
the type is a union with the first tag equal to the register name.
clm [Fri, 9 Jun 2000 13:14:35 +0000 (13:14 +0000)]
* lib/libgloss.exp (proc_get_multilibs): Handle multilib
pathnames for ports that have defined MULTILIB_EXTRA_OPTS.
fnasser [Fri, 9 Jun 2000 03:35:09 +0000 (03:35 +0000)]
2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* configure.in: Replace misplaced CONFIG_ADD by the correct
CONFIG_CLEAN.
* configure, config.in: Regenerate.
ranjith [Fri, 9 Jun 2000 01:13:35 +0000 (01:13 +0000)]
Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
* libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
* libc/include/sys/config.h: Define __RAND_MAX.
fnasser [Fri, 9 Jun 2000 00:51:54 +0000 (00:51 +0000)]
2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* values.c (value_primitive_field): Copy VALUE_REGNO as well.
With typed registers we may have the location information in this field,
in addition to VALUE_ADDRESS (which was already being copied).
amodra [Fri, 9 Jun 2000 00:00:02 +0000 (00:00 +0000)]
Don't treat `;' as a line separator by default.
Explicitly mention `;' in line_separator_chars in each backend.
jjohnstn [Thu, 8 Jun 2000 21:56:18 +0000 (21:56 +0000)]
Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/stdlib/rand_r.c: New algorithm that meets minimal
standard.
corinna [Thu, 8 Jun 2000 20:51:10 +0000 (20:51 +0000)]
* path.cc (path_conv::check): Erase two lines checked in
by mistake.
fnasser [Thu, 8 Jun 2000 20:30:07 +0000 (20:30 +0000)]
2000-06-06 Fernando Nasser <fnasser@cygnus.com>
* util.tcl (find_iwidgets_library): Add missing global declaration
which caused a stack trace instead of the proper error message.
fnasser [Thu, 8 Jun 2000 19:53:43 +0000 (19:53 +0000)]
Add this missing entry:
2000-05-01 Fernando Nasser <fnasser@cygnus.com>
* variables.tcl (edit): Make changes to a variable which is a register
to be reflected on the register window by running the update hook.
nickc [Thu, 8 Jun 2000 19:19:22 +0000 (19:19 +0000)]
Assign correct reloc value to size 1 constant valued fixes.
obrien [Thu, 8 Jun 2000 19:00:01 +0000 (19:00 +0000)]
* configure.in (VERSION): Update to show this is the CVS mainline.
Approved by: Nick Clifton <nickc@cygnus.com>
Message-Id: <
200005222205.PAA14565@elmo.cygnus.com>
obrien [Thu, 8 Jun 2000 18:39:43 +0000 (18:39 +0000)]
* emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
input objects to be ECOFF.
(check_sections): einfo takes %B, not %P, to print a BFD name.
Approved by: Nick Clifton <nickc@cygnus.com>
Message-Id: <
200006081748.KAA12555@elmo.cygnus.com>
obrien [Thu, 8 Jun 2000 18:34:05 +0000 (18:34 +0000)]
* config/tc-alpha.c (md_undefined_symbol): Properly understand that $at
is the integer register $r28, vs. both $r28 and the floating point
register $f28.
This quiets a bogus warning about needing ".set noat".
Approved by: Nick Clifton <nickc@cygnus.com>
Message-Id: <
200006081749.KAA12558@elmo.cygnus.com>
wilson [Thu, 8 Jun 2000 17:07:48 +0000 (17:07 +0000)]
unwind bug fixes needed for today's gcc patch.
* config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
(dot_endp): Don't call ia64_flush_insns.
(emit_one_bundle): Don't delete prologue/body records from
unwind_record list in first loop. Rewrite second loop to account for
this.
corinna [Thu, 8 Jun 2000 13:56:28 +0000 (13:56 +0000)]
* fhandler.cc (fhandler_disk_file::open): Check for directory
to set O_DIROPEN on directories anyway.
corinna [Thu, 8 Jun 2000 13:24:52 +0000 (13:24 +0000)]
path.cc (mount_info::init): Eliminate the mount_slash feature.
(mount_slash): Eliminated.
(mount_info::read_mounts): Eliminate looking up existing entries. The
loop for deleting cygpath entries is done only when such entries exist.
(mount_info::from_registry): Eliminate sorting.
(mount_info::add_item): Call add_reg_mount if necessary. Check nmounts
more precisely. Use strcasematch in looking up existing entries.
(mount_info::del_item): Call del_reg_mount if necessary. Use
strcasematch. Use memmove instead of memcpy.
(mount_info::import_v1_registry): Everything is done in this method.
(mount_info::to_registry): Eliminated.
(mount_info::from_v1_registry): Eliminated.
(cygwin_umount): Simply call del_item.
shared.h: Modify the declaration of add_item and del_item. Remove the
declaration of from_v1_registry.
corinna [Thu, 8 Jun 2000 12:54:11 +0000 (12:54 +0000)]
mount.cc (error): New function to report an error and exit.
umount.cc (error): Ditto.
(remove_all_automounts): Check return status of cygwin_umount.
(remove_all_user_mounts): Ditto.
(remove_all_system_mounts): Ditto.
cagney [Thu, 8 Jun 2000 08:13:20 +0000 (08:13 +0000)]
Purge all uses of make_cleanup_func in GDBtk.
cagney [Thu, 8 Jun 2000 06:35:39 +0000 (06:35 +0000)]
MIPS is always multi-arch enabled.
cagney [Thu, 8 Jun 2000 04:51:10 +0000 (04:51 +0000)]
Delete MIPS_DEFAULT_FPU from config/mips/*.h
cagney [Thu, 8 Jun 2000 04:00:55 +0000 (04:00 +0000)]
Use config.bfd to determine the default architecture and byte order.
Flush all BYTE_ORDER_DEFAULT macros from mips. Can rely on BFD's value.
cgf [Thu, 8 Jun 2000 03:58:51 +0000 (03:58 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 3.
cgf [Thu, 8 Jun 2000 03:26:01 +0000 (03:26 +0000)]
Change various Makefile.in to use standard autoconf variables.
cagney [Thu, 8 Jun 2000 01:52:43 +0000 (01:52 +0000)]
Botch in previous change. Was comparing against "ask" instead of
follow_fork_mode_ask.
dj [Thu, 8 Jun 2000 00:55:27 +0000 (00:55 +0000)]
* cygwin.din: add cygwin_dll_init
* dcrt0.cc (cygwin_dll_init): new
(dll_crt0_1): short circuit if manually loaded
* path.cc (mount_info::init): don't init if manually loaded
cagney [Thu, 8 Jun 2000 00:52:56 +0000 (00:52 +0000)]
Change signature of function add_set_enum_cmd() so that it uses
constant character pointers. Update everything.
As a consequence fix infrun's follow-fork plugging a small memory leak.
wilson [Wed, 7 Jun 2000 23:14:21 +0000 (23:14 +0000)]
Patch from David Mosberger, cleanups to improve 32b-x-64b cross support.
* config/tc-ia64.c: Add missing prototypes.
(generate_unwind_image): Cast argument to output_unw_records call.
nickc [Wed, 7 Jun 2000 21:31:48 +0000 (21:31 +0000)]
new file - notes about using --enable-maintainer-mode
pb [Wed, 7 Jun 2000 19:28:53 +0000 (19:28 +0000)]
2000-06-07 Philippe De Muyter <phdm@macqel.be>
* source.c: Remove direct inclusion of sys/stat.h.
denisc [Wed, 7 Jun 2000 18:56:14 +0000 (18:56 +0000)]
* config/tc-avr.c (avr_operand): fix the fomratting of the comment.
denisc [Wed, 7 Jun 2000 17:48:35 +0000 (17:48 +0000)]
* avr.h: New file with AVR opcodes.
denisc [Wed, 7 Jun 2000 17:45:44 +0000 (17:45 +0000)]
* avr-dis.c: completely rewritten.
denisc [Wed, 7 Jun 2000 17:42:44 +0000 (17:42 +0000)]
* config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
(REGISTER_P): likewise.
(avr_opcodes): uses include/opcode/avr.h
(avr_operand): enable ld r,Z or st r,Z for at90s1200.
amylaar [Wed, 7 Jun 2000 14:59:16 +0000 (14:59 +0000)]
sh-dsp support, simulator speedup by using host byte order:
* Makefile.in (interp.o): Depends on ppi.c .
(ppi.c): New rule.
* gencode.c (printonmatch, think, genopc): Deleted.
(MAX_NR_STUFF): Now 42.
(tab): Add SH-DSP CPU instructions.
Amalgamate ldc / stc / lds / sts instructions with similar
bit patterns. Fix opcodes of stc Rm_BANK,@-<REG_N>.
Fix semantics of lds.l @<REG_N>+,MACH (no sign extend).
(movsxy_tab): New array.
For movs, change MMMM field to GGGG, and mmmm field to MMMM.
Added entries for movx, movy and parallel processing insns.
(ppi_tab): New array.
(qfunc): Stabilize sort.
(expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy.
Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'.
(dumptable): Now takes three arguments. Changed all callers.
Emit just one contigous jump table.
(filltable): Now takes an argument. Changed all callers.
Make index static.
(ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions.
(gensim_caselist): New function, broken out of gensim.
Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'.
Handle ref '9'.
(gensim): Handle 'N' in code field and '8' in refs field.
Call gensim_caselist - twice.
(ppi_index): New static variable.
(main): Unsupport default action.
Add dsp support for -x / -s option. Add -p option.
* interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare.
(saved_state_type): Rearrange to allow amalgamated ldc / stc /
lds / sts to work efficiently.
(target_dsp): New static variable.
(GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change.
(FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise.
(SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise.
(RS, RE, MOD, MOD_ME, DSP_R): Likewise.
(set_fpscr1): Likewise. Use target_dsp to check for dsp.
(MOD_MSi, SIG_BUS_FETCH): Deleted.
(CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros.
(SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise.
(SET_MOD): Reflect saved_state_type change. Set MOD_DELTA instead
of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME.
(set_sr): Reflect saved_state_type change. Fix SR_RB handling.
Use SET_MOD.
(MA, L, TL, TB): Now controlled by ACE_FAST.
(SEXT32): Just cast to int.
(SIGN32): Fixed to only shift by 31.
(CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0.
(ppi_insn): Declare.
(ppi.c): Include.
(init_dsp): Set target_dsp. When it changes, switch end of
sh_jump_table with sh_dsp_table.
(sim_resume) Don't declare sh_jump_table0. Use sh_jump_table instead.
Don't Declare PR if it's #defined.
Fix single-stepping (Was broken in Mar 6 16:59:10 patch).
(sim_store_register, sim_read_register): Translate accesses to
reflect saved_state_type change.
* interp.c (set_sr): Set sr.
(SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros.
(set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp.
(DSP_R): Fix definition.
(sim_resume): Remove outdated SET_SR use.
* interp.c (saved_state): New members for struct member asregs:
rs, re, insn_end, xram_start, yram_start.
(struct loop_bounds): New struct.
(SKIP_INSN): New macro.
(get_loop_bounds): New function.
(endianw): Renamed to global_endianw.
(maskw): negated bits.
(PC): Now insn_ptr.
(SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros.
(RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise.
(M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise.
(SIG_BUS_FETCH): Likewise
(raise_exception, riat_fast): New functions.
(raise_buserror, sim_stop): Use raise_exception.
(PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start.
(BUSERROR, WRITE_BUSERROR, READ_BUSERROR):
Reverse sense of mask argument.
(FP_OP, set_dr): Use RAISE_EXCEPTION.
(wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
Declare. Remove redundant masking.
(wwat_fast, rwat_fast): Add argument endianw. Changed callers.
(MA): Updated for change pc -> PC.
(Delay_Slot): Use RIAT.
(empty): Deleted.
(trap): Remove argument little_endian. Add argument endianw.
Changed all callers. Use raise_exception.
(macw): Add argument endainw. Changed all callers.
(init_dsp): New function, extended after broken out of init_pointers.
(sim_resume): Replace pc with insn_ptr. Replace little_endian with
endianw. Replace nia with nip. Reverse sense of maskb / maskw /
maskl. Implement logic for zero-overhead loops. Don't try to
interpret garbage when getting a SIGBUS at insn fetch.
(sim_open): Call init_dsp.
* gencode.c (tab): Use SET_NIP instead of nia = . Use PH2T / PT2H /
RAISE_EXCEPTION where appropriate.
Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr.
* interp.c (sim_store_register, sim_fetch_register):
Do proper endianness switch.
* interp.c (saved_state_type): New members for struct member asregs:
xymem_select, xmem, ymem, xmem_offset, ymem_offset.
(special_address): Delete.
(BUSERROR): Now a two-argument predicate.
(PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros.
(wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete.
(process_wlat_addr, process_wwat_addr): New functions.
(process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise.
(process_rbat_addr): Likewise.
(wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR.
(rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete.
(rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR.
(RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions.
(do_rdat, trap): Delete SLOW code.
(SEXT32, SIGN32): New macros.
(swap, swap16): Now integer in - integer out. Changed all callers.
(strswaplen, strnswap): Delete SLOW versions.
(init_pointers): Initialize dsp memory selection (preliminary).
(sim_store_register, sim_fetch_register): Use swap instead of
big / little endian read / write functions.
* interp.c (maskl): Deleted.
(endianw, endianb): New variables.
(special_address): Now inline.
(bp_holder): Put raising of buserror there, rename to:
(raise_buserror).
(BUSERROR): Now yields a value. Changed all users.
(wbat_big): Delete.
(wlat_fast, wwat_fast, wbat_fast): New functions.
(rlat_fast, rwat_fast, rbat_fast): Likewise.
(RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions.
(do_rdat, do_wdat): Likewise. Take maskl argument instead of
little_endian one. Changed caller macros.
(swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly.
(strswaplen, strnswap): New functions.
(trap): Use them to fix up endian mismatches;
disable SYS_execve and SYS_execv; fix double address translation for
SYS_pipe and SYS_stat.
(sym_write, sym_read): Add endianness translation.
(sym_store_register, sym_fetch_register): Add maskl local variable.
(sim_open): Set endianw and endianb.
amodra [Wed, 7 Jun 2000 14:23:50 +0000 (14:23 +0000)]
(elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and
move HOWTOs into elf_howto_table.
corinna [Wed, 7 Jun 2000 11:48:02 +0000 (11:48 +0000)]
* include/netinet/in_systm.h: New file.
* include/cygwin/in_systm.h: Ditto.
davidsb [Wed, 7 Jun 2000 10:38:47 +0000 (10:38 +0000)]
Major update to "Where can I get more information?" section. Now includes:
- Posting guidelines
- Pointers to User's Guide, API Reference, USENIX paper
- Pointer to alternate searchable mail archive (www.delorie.com)
- Addresses for commercial & CD-ROM inquiries
davidsb [Wed, 7 Jun 2000 10:28:36 +0000 (10:28 +0000)]
minor typo correction: GNU not Gnu
cagney [Wed, 7 Jun 2000 04:43:29 +0000 (04:43 +0000)]
Purge last remaining make_cleanup_func.
cagney [Wed, 7 Jun 2000 04:38:01 +0000 (04:38 +0000)]
The attatched moves the remaining guff from gdbarch.{h,c,sh} to
arch-utils.{h,c}. The ``set architecutre'' and ``set endian''
commands (part of the move) were implemented to use add_set_enum_cmd()
so that ``set architecture <tab>'' works.
cagney [Wed, 7 Jun 2000 04:14:01 +0000 (04:14 +0000)]
Use ``set remote memory-read-packet-size'' instead of ``set endian
big'' in deprecate test.
amodra [Wed, 7 Jun 2000 04:08:12 +0000 (04:08 +0000)]
Update copyright dates for last patch.
Scanning ChangeLog showed others were lazy/forgetful too :-)
amodra [Wed, 7 Jun 2000 03:43:32 +0000 (03:43 +0000)]
Get rid of the -1 dummy valued enum in START_RELOC_NUMBERS.
Remove duplicate reloc enums in elf32-d[13]0v.c
Remove EMPTY_HOWTOs in elf32-i386.c
msnyder [Wed, 7 Jun 2000 01:14:07 +0000 (01:14 +0000)]
2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
* configure.in: Enable autoconf to find curses.h on Solaris 2.8.
* configure: Regenerate.
msnyder [Tue, 6 Jun 2000 20:17:12 +0000 (20:17 +0000)]
2000-06-02 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.c++/local.exp: This test has never been known to work with g++.
ezannoni [Tue, 6 Jun 2000 20:15:52 +0000 (20:15 +0000)]
* gdbtk.c: Remove CYGWIN32 conditional around timer machinery.
Cygwin can handle timers fine now.
msnyder [Tue, 6 Jun 2000 20:00:33 +0000 (20:00 +0000)]
2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
* elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t.
dj [Tue, 6 Jun 2000 17:52:19 +0000 (17:52 +0000)]
* Makefile.in: add EXTRA_INCS
* configure.in: if with-newlib, point to it for includes
rather than using the installed includes, for target builds.
If cygwin, override function list only for target builds.
* configure: regenerate
Note from DJ: I waited a week for gcc approval and got none, but
we need this patch for cygwin builds *now*. I'll fix it later if
need be.
cgf [Tue, 6 Jun 2000 16:18:48 +0000 (16:18 +0000)]
* generic/tclFilename.c (Tcl_TranslateFileName): Reinstate Mon Jun 5 18:18:32
2000 Christopher Faylor <cgf@cygnus.com> minus a typo.
dberlin [Tue, 6 Jun 2000 15:09:41 +0000 (15:09 +0000)]
Properly fill changelog entry
cagney [Tue, 6 Jun 2000 12:13:53 +0000 (12:13 +0000)]
Accept an enum immediately when it is an exact match - wouldn't accept
``d10v'' when the choice was d10v{,:ts2,:ts3}.
cagney [Tue, 6 Jun 2000 07:07:37 +0000 (07:07 +0000)]
Revert part of Mon Jun 5 18:48:32 2000 Christopher Faylor
<cgf@cygnus.com>, didn't compile.
cagney [Tue, 6 Jun 2000 07:00:45 +0000 (07:00 +0000)]
Mips is always TARGET_BYTE_ORDER_SELECTABLE_P 1.
cagney [Tue, 6 Jun 2000 06:45:19 +0000 (06:45 +0000)]
Move generic_register_convertible_not and frame_num_args_unknown from
gdbarch.* to arch-utils.*.
cagney [Tue, 6 Jun 2000 06:19:57 +0000 (06:19 +0000)]
Delete TARGET_MONITOR_PROMPT.
dberlin [Tue, 6 Jun 2000 00:38:10 +0000 (00:38 +0000)]
Revert an accidental commit
msnyder [Tue, 6 Jun 2000 00:08:00 +0000 (00:08 +0000)]
2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
* elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus,
elfcore_grok_psinfo): Add code to allow debugging a 32-bit
corefile on a 64-bit (Sparc Solaris) host. Also clean up
a few old comments.
cgf [Mon, 5 Jun 2000 23:07:29 +0000 (23:07 +0000)]
* generic/tclFileName.c (Tcl_TranslateFileName): Cygwin paths (and Windows in
general, actually) do not need to have '/'s translated into '\'s.
(TclDoGlob): Ditto.
* win/tclWinFile.c (TclMatchFiles): Ditto.
* generic/tclInitScript.h: Look in "../bin/usr/share" as well as
"../bin/share".
dberlin [Mon, 5 Jun 2000 20:49:52 +0000 (20:49 +0000)]
C++ improvements
dberlin [Mon, 5 Jun 2000 20:47:28 +0000 (20:47 +0000)]
New tests, fix old tests, make more tests work
hjl [Mon, 5 Jun 2000 20:46:21 +0000 (20:46 +0000)]
2000-06-05 H.J. Lu <hjl@gnu.org>
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag
an error when seeing an undefined symbol with hidden/internal
attribute. It is handled in *_relocate_section ().
hjl [Mon, 5 Jun 2000 20:43:18 +0000 (20:43 +0000)]
2000-06-05 H.J. Lu (hjl@gnu.org)
* lib/ld-lib.exp (default_ld_link): Redirect the linker output
to link_output and make it global.
* ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef",
"hidden_undef_def", "hidden_weak", "protected_undef",
"protected_undef_def" and "protected_weak".
(visibility_run): Likewise.
* ld-elfvsb/main.c: Likewise.
* ld-elfvsb/sh1.c: Likewise.
* ld-elfvsb/sh2.c: Likewise.
* ld-elfvsb/elfvsb.dat: Updated.
kettenis [Mon, 5 Jun 2000 18:59:39 +0000 (18:59 +0000)]
* acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):
Renamed from HAVE_R_FS.
(HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS.
* configure, config.in: Regenerated.
dj [Mon, 5 Jun 2000 18:43:54 +0000 (18:43 +0000)]
* mount.cc: add stdlib.h for exit
* umount.cc: ditto
* strace.cc: add #define for alloca
hjl [Mon, 5 Jun 2000 18:15:35 +0000 (18:15 +0000)]
Remove the `/* Fall through. */' comment in elf_link_output_extsym ()
for the indirect symbol.
hjl [Mon, 5 Jun 2000 17:21:32 +0000 (17:21 +0000)]
2000-06-05 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_fix_symbol_flags): Follow the link for the
indirect symbol for the ELF_LINK_NON_ELF bit.
(elf_link_output_extsym): Don't output the indirect symbol even
if the ELF_LINK_NON_ELF bit is set.
hjl [Mon, 5 Jun 2000 16:16:30 +0000 (16:16 +0000)]
2000-06-05 Michael Matz <matz@ifh.de>
* ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
version scripts.
* ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
cagney [Mon, 5 Jun 2000 05:20:58 +0000 (05:20 +0000)]
More updates.
amodra [Sun, 4 Jun 2000 23:14:30 +0000 (23:14 +0000)]
Modify test to check line separator works.
cagney [Sun, 4 Jun 2000 13:46:37 +0000 (13:46 +0000)]
Add host_pointer_to_address() and address_to_host_pointer(). Add
signed_pointer_to_address() etc. Rename generic_pointer_to_address()
to unsigned_pointer_to_address() etc.
amodra [Sun, 4 Jun 2000 05:03:31 +0000 (05:03 +0000)]
(is_end_of_line): Add three missing lines of 0 initializers.
cagney [Sun, 4 Jun 2000 03:34:35 +0000 (03:34 +0000)]
Only reset target once.
amodra [Sun, 4 Jun 2000 03:28:38 +0000 (03:28 +0000)]
(is_end_of_line): No ';' for TC_HPPA.
cagney [Sun, 4 Jun 2000 01:58:48 +0000 (01:58 +0000)]
Eliminate safe_strsignal().
kevinb [Sun, 4 Jun 2000 00:41:09 +0000 (00:41 +0000)]
Eliminate PARAMS from function pointer declarations.
cgf [Sun, 4 Jun 2000 00:28:17 +0000 (00:28 +0000)]
* win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is flushed
before deleting and restoring it.
(safe_symbol_file_add): Ensure that gdb_stderr is flushed before reassigning
it.
(handle_load_dll): Split into two functions so that WFI can handle shared
library events.
(child_solib_loaded_library_pathname): New function.
(child_clear_solibs): New function. Clears shared library list.
(child_solib_add): New function. Adds shared library symbols.
(dll_symbol_command): New function. Handles "dll-symbol" command.
(info_dll_command): New function. Handles info "sharedlibrary" command.
(handle_exceptions): Eliminate 'ignore_trap' argument.
(get_child_debug_event): Eliminate two arguments. Return "pid" when
appropriate. Break out on most events to allow WFI to handle stuff.
(child_wait): Accomodate get_child_debug_event changes.
(child_attach): Clear thread list and list of loaded dlls.
(child_create_inferior): Clear list of loaded dlls. Use wait_for_inferior in a
loop to look for first "trap".
(child_resume): Avoid accessing a possibly-freed thread pointer.
(_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info
dll", and "info sharedlibrary" commands.
* config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks.
hjl [Sat, 3 Jun 2000 22:33:09 +0000 (22:33 +0000)]
2000-06-03 H.J. Lu <hjl@gnu.org>
* read.c (is_end_of_line): Put back `;'.
amodra [Sat, 3 Jun 2000 13:06:32 +0000 (13:06 +0000)]
Update md_shortopts to what we actually handle.
cgf [Sat, 3 Jun 2000 05:04:14 +0000 (05:04 +0000)]
* win32-nat.c: Fix up gcc warnings throughout.
(handle_load_dll): Change DLL name to lower case.
(handle_exception): Add a second argument indicating whether a breakpoint
should be ignored. Return a 0 if the breakpoint was ignored.
(get_child_debug_event): Pass argument to handle_exception to control whether a
breakpoint should be ignored.
(child_create_inferior): Use modern cygwin API. Explicitly clear last_sig.
Pass FIRST_EXCEPTION to get_child_debug_event for detection of first
breakpoint.
* configure.in: Eliminate unneeded WINDRES/DLLTOOL tests left over after last change.
* configure: Regenerate.
cgf [Sat, 3 Jun 2000 03:27:29 +0000 (03:27 +0000)]
* configure.in: Detect correct versions of ranlib and windres when
cross-compiling.
* configure: Regenerate.
cgf [Sat, 3 Jun 2000 03:03:03 +0000 (03:03 +0000)]
* libc/include/string.h: Work around problem with strsignal and gdb.
amodra [Sat, 3 Jun 2000 01:57:29 +0000 (01:57 +0000)]
Fix name clash
jtc [Fri, 2 Jun 2000 23:15:28 +0000 (23:15 +0000)]
* configure.tgt: Add pattern for i[3456]86-*-netbsdelf*.
* config/i386/nbsdelf.mt: New file.
* config/i386/tm-nbsdelf.h: New file.
* config/i386/tm-nbsd.h: change include of tm-nbsd.h to
the more explicit config/tm-nbsd.h.
kettenis [Fri, 2 Jun 2000 19:04:51 +0000 (19:04 +0000)]
* alphabsd-nat.c (supply_fpregset): Substract FP0_REGNUM from
register number when used as index into fpr_regs array.
obrien [Fri, 2 Jun 2000 18:55:04 +0000 (18:55 +0000)]
* strings.c (isgraphic): Interpret <TAB> as a printable character,
analogous to <SPACE>.
Approved by: Nick Clifton <nickc@cygnus.com>
<
200005222243.PAA14590@elmo.cygnus.com>
nickc [Fri, 2 Jun 2000 18:09:28 +0000 (18:09 +0000)]
Fix formatting
davidsb [Fri, 2 Jun 2000 17:17:53 +0000 (17:17 +0000)]
"Installation Instructions" for FAQ, first update for current net release.
amodra [Fri, 2 Jun 2000 02:52:09 +0000 (02:52 +0000)]
is_end_of_line fixes.
cagney [Fri, 2 Jun 2000 01:59:13 +0000 (01:59 +0000)]
Multiarch TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
TARGET_LONG_DOUBLE_FORMAT. Update d10v.
kettenis [Thu, 1 Jun 2000 22:29:37 +0000 (22:29 +0000)]
* config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define.
msnyder [Thu, 1 Jun 2000 22:19:03 +0000 (22:19 +0000)]
2000-06-01 Michael Snyder <msnyder@seadog.cygnus.com>
* sol-thread.c (rw_common): Circumstances (eg. a bug in Sun's
thread_db library) may cause this function to be called with an
illegal address, in which case procfs_to_xfer_memory will
return zero. Return an error code instead of looping forever.
jtc [Thu, 1 Jun 2000 22:06:15 +0000 (22:06 +0000)]
* config.bfd (i[3456]86-*-netbsdelf*): New target.
(i[3456]86-*-netbsdaout*): New target.
(i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs.
(i[3456]86-*-openbsd*): Likewise.
scottb [Thu, 1 Jun 2000 19:07:54 +0000 (19:07 +0000)]
The ARM assembler is not assembling the following instruction
correctly.
mrs lr, spsr
The string pointer is advanced to far before the check to set
the SPSR bit.
Thu Jun 01 2000 Scott Bambrough <scottb@netwinder.org>
* config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
nickc [Thu, 1 Jun 2000 18:19:59 +0000 (18:19 +0000)]
Applied patch from Kazu Hirata <kazu@hxi.com> to fix disassembly of inc.l
and dec.l instructions
cagney [Thu, 1 Jun 2000 10:25:59 +0000 (10:25 +0000)]
More updates.
cagney [Thu, 1 Jun 2000 10:09:29 +0000 (10:09 +0000)]
* trad-core.c: From hpux-core.c, include <dirent.h> or
<sys/ndir.h> when possible.
cgf [Thu, 1 Jun 2000 05:57:53 +0000 (05:57 +0000)]
* exceptions.cc: Remove unneeded include.
* dcrt0.cc: Wrap LoadDLLfunc stuff in dummy function.
* init.cc: Ditto.
* uinfo.cc: Ditto.
cgf [Thu, 1 Jun 2000 05:41:21 +0000 (05:41 +0000)]
* autoload.h: Put each info block in its own dummy static function.
jtc [Thu, 1 Jun 2000 04:13:36 +0000 (04:13 +0000)]
* configure.host: Add patterns for i[3456]86-*-netbsdaout*
and i[3456]86-*-netbsdelf*.
* config/i386/nm-nbsdelf.h: New file.
* config/i386/nbsdelf.mh: New file.
* config/i386/nm-nbsd.h: change include of nm-nbsd.h to
the more explicit config/nm-nbsd.h.
* config/i386/tm-nbsd.h: change include of tm-i386bsd.h to
tm-i386.h.
(SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Define.
-------------------------------------------------------------------