OSDN Git Service
msnyder [Wed, 15 Mar 2000 19:43:57 +0000 (19:43 +0000)]
2000-03-15 Michael Snyder <msnyder@cleaver.cygnus.com>
From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
* symfile.c (reread_symbols): Clear msymbol hash table.
cgf [Wed, 15 Mar 2000 19:29:15 +0000 (19:29 +0000)]
* spawn.cc (spawn_guts): Restore dependency on signal_arrived. It's needed to
wake up the WaitForSingleObject.
jimb [Wed, 15 Mar 2000 16:55:07 +0000 (16:55 +0000)]
Deal with the inferior unloading shared objects.
* solib.c (current_sos): New function, replacing find_solib.
(find_solib): Deleted.
(free_so): New function.
(clear_solib): Call free_so, instead of writing it out.
(solib_add): Rewritten: compare the inferior's current list of
shared objects with GDB's list, and do the required loads and
unloads.
(info_sharedlibrary_command, solib_address): Don't use find_solib
to walk the list of shared libraries: call solib_add, and then
walk the list at so_list_head normally.
* objfiles.c (free_objfile): Don't call CLEAR_SOLIB, and don't
detach the core target. These tasks are taken care of elsewhere.
* target.c (remove_target_sections): New function.
* target.h (remove_target_sections): New declaration.
* solib.c (symbol_add_stub): Check whether we've already created
an objfile for this shared object first, before doing all that
work to compute section addresses, etc.
* objfiles.c (unlink_objfile): Report an internal error if objfile
doesn't occur in the object_files list.
* solib.c (special_symbol_handling): Delete argument; it's not
used.
* solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses
from solib structures. Use it throughout solib.c, get rid of all
CORE_ADDR casts.
(struct so_list): Change type of lmaddr to CORE_ADDR.
(first_link_map_member): Change return value type to CORE_ADDR,
update callers.
(solib_add_common_symbols): Change parameter type to CORE_ADDR,
update callers.
(open_symbol_file_object, find_solib): Change type of lm variable
to CORE_ADDR.
cgf [Wed, 15 Mar 2000 14:38:09 +0000 (14:38 +0000)]
* Makefile.in: Use MINGW_CXXFLAGS when compiling strace.
eliz [Wed, 15 Mar 2000 12:05:59 +0000 (12:05 +0000)]
[__GO32__]: Include <pc.h>.
Declare _rl_redisplay_after_sigwinch.
[__DJGPP__]: Don't declare term_buffer and term_string_buffer (they are
unused.)
(_rl_get_screen_size) [__DJGPP__]: Call ScreenRows and ScreenCols.
(_rl_init_terminal_io) [__GO32__]: Don't call them here. Instead, call
_rl_get_screen_size. Set terminal_name. Return 0, to be consistent with
the function's declaration.
(ding) [__GO32__]: Support visual bell by calling ScreenVisualBell.
eliz [Wed, 15 Mar 2000 11:59:45 +0000 (11:59 +0000)]
[__GO32__]: Don't undef HANDLE_SIGNALS for DJGPP v2.x.
Don't declare sigwinch_set_flag if SIGWINCH is undefined.
eliz [Wed, 15 Mar 2000 11:57:42 +0000 (11:57 +0000)]
[__GO32__]: Don't undef HANDLE_SIGNALS if __DJGPP__ is defined.
(prepare_terminal_settings, rl_prep_terminal, rl_deprep_terminal)
[__GO32__]: Don't bypass termios code if HAVE_TERMIOS_H is defined.
eliz [Wed, 15 Mar 2000 11:53:33 +0000 (11:53 +0000)]
[__GO32__]: If HAVE_TEMIOS_H is defined, declare readline_default_bindings.
Don't undef HANDLE_SIGNALS if __DJGPP__ is defined.
(readline_initialize_everything): [__GO32__]: Call readline_default_bindings
if HAVE_TERMIOS_H is defined.
(rl_refresh_line) [__GO32__]: Don't use this code if __DJGPP__ is defined.
eliz [Wed, 15 Mar 2000 11:47:46 +0000 (11:47 +0000)]
[__GO32__]: Include <pc.h> only if HAVE_SELECT is undefined.
(rl_unget_char, rl_getc) [__GO32__]: Use the go32-specific code only if
HAVE_SELECT is undefined.
eliz [Wed, 15 Mar 2000 11:44:17 +0000 (11:44 +0000)]
(read_history_range, history_truncate_file, history_do_write) [__MSDOS__]:
Allow for a `_' to replace the leading dot in hard-wrired file names.
eliz [Wed, 15 Mar 2000 11:41:26 +0000 (11:41 +0000)]
(_rl_move_vert) [__GO32__]: fflush the stream, to make sure cursor position
is up-to-date.
(space_to_eol) [__GO32__]: Clear the screen and home the cursor.
(insert_some_chars) [__GO32__]: Don't write directly to the screen in DJGPP
versions 2.x (it doesn't work).
(delete_chars) [__GO32__]: Ditto.
eliz [Wed, 15 Mar 2000 11:36:20 +0000 (11:36 +0000)]
(username_completion_function) [__GO32__]: Don't bypass getpw* calls.
(filename_completion_function): Handle drive-relative file names d:foo.
eliz [Wed, 15 Mar 2000 11:32:18 +0000 (11:32 +0000)]
(_rl_read_file): Use O_BINARY in open. Enable the test for incomplete
read. Strip the CR characters by hand after readin the file.
(rl_read_init_file): Allow for ~/_intputrc on 8+3 filesystems.
eliz [Wed, 15 Mar 2000 11:25:30 +0000 (11:25 +0000)]
Shared libraries are not supported on MS-DOS.
eliz [Wed, 15 Mar 2000 11:13:49 +0000 (11:13 +0000)]
*** empty log message ***
eliz [Wed, 15 Mar 2000 11:11:41 +0000 (11:11 +0000)]
* ser-go32.c (dos_noop, dos_raw, dos_noflush_set_tty_state)
(dos_print_tty_state, dos_info, _initialize_ser_dos): Convert
to ISO C. Use ATTRIBUTE_UNUSED to avoid compiler warnings.
(dos_info): Avoid compiler warning when printing a ptrdiff_t.
eliz [Wed, 15 Mar 2000 11:10:52 +0000 (11:10 +0000)]
* ser-go32.c (dos_get_tty_state): Fail if the (fake) handle was
not opened by dos_open, but let the 3 standard handles go through
unharmed.
cgf [Wed, 15 Mar 2000 04:49:36 +0000 (04:49 +0000)]
Pipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com>
* debug.cc (threadname_init): Pass name of lock as arg 2 of new_muto.
* malloc.cc (malloc_init): Ditto.
* sigproc.cc (sigproc_init): Ditto.
* exceptions.cc (events_init): Ditto.
(call_handler): Eliminate special case for hExeced. Report locked thread in
debugging output.
* fhandler.cc (fhandker_pipe::fhandler_pipe): Propagate device type to base
class.
* fhandler.h (fhandler_pipe): Ditto.
* hinfo.cc (hinfo::build_fhandler): Pass specific type of pipe to constructor.
* spawn.cc (spawn_guts): Eliminate dependency on signal when waiting for
subprocess.
* strace.cc: Remove obsolete #ifdef.
* sync.cc (muto::muto): Save the name of the muto.
(muto:~muto): Also release the muto.
* sync.h: Add a muto name field.
* select.cc (peek_pipe): Avoid doing a PeekNamedPipe on the write end of a
pipe.
jimb [Tue, 14 Mar 2000 19:58:02 +0000 (19:58 +0000)]
Formatting fix.
clm [Tue, 14 Mar 2000 18:16:05 +0000 (18:16 +0000)]
* elf32-m32r.c (m32r_elf_lo16_reloc): Rewrite.
law [Tue, 14 Mar 2000 17:50:00 +0000 (17:50 +0000)]
* reloc16.c (bfd_coff_reloc16_relax_section): Count the total number
of shrinks properly, including the last reloc.
ezannoni [Tue, 14 Mar 2000 17:01:04 +0000 (17:01 +0000)]
2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* eval.c (evaluate_subexp_with_coercion): Add call to
check_typedef, to handle typedeffed vars correctly.
* gdb.base/printcmds.c: Add typedeffed arrays.
* gdb.base/printcmds.exp (test_print_typedef_arrays): New
procedure to test arrays that are typedef'd.
cagney [Tue, 14 Mar 2000 06:14:07 +0000 (06:14 +0000)]
Add missing ChangeLog entry for:
gdb.base/long_long.exp revision 1.2
date: 2000/03/09 21:55:40; author: scottb; state: Exp; lines: +187 -99
cagney [Tue, 14 Mar 2000 05:02:03 +0000 (05:02 +0000)]
Point MI testsuite files at MI testsuite ChangeLog.
cagney [Tue, 14 Mar 2000 04:49:02 +0000 (04:49 +0000)]
remove typo
cagney [Tue, 14 Mar 2000 02:37:24 +0000 (02:37 +0000)]
Almost, but not quite, deprecate STREQ, STREQN, STRCMP and QUIT.
nickc [Tue, 14 Mar 2000 01:40:30 +0000 (01:40 +0000)]
discard all unexpected sections.
nickc [Tue, 14 Mar 2000 01:27:02 +0000 (01:27 +0000)]
fix to match latest readelf output
law [Mon, 13 Mar 2000 23:57:25 +0000 (23:57 +0000)]
* coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity
check for R_MOVL2.
jjohnstn [Mon, 13 Mar 2000 23:51:48 +0000 (23:51 +0000)]
2000-03-13 Jeff Johnston <jjohnstn@cygnus.com>
* cgen-ops.h: Added TRUNCSISI.
dj [Mon, 13 Mar 2000 22:57:59 +0000 (22:57 +0000)]
settimeofday was listed twice
jingham [Mon, 13 Mar 2000 21:51:45 +0000 (21:51 +0000)]
2000-03-13 James Ingham <jingham@leda.cygnus.com>
Add support for a variable object that tries to evaluate itself in
the currently selected frame, rather than in a fixed frame.
* wrapper.c,h (gdb_parse_exp_1): Added a wrapper for
gdb_parse_exp_1.
* varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n
of varobj_create.
* varobj.c (varobj_list): Return type indicates whether the
variable's type has changed (for current frame variables).
(varobj_update): Handle the case where the variable's type has
changed.
(delete_variable_1): Allow for deletion of variables that have not
been installed yet.
(new_root_variable): Initialize use_selected_frame variable.
(value_of_root): This is where most of the work to handle "current
frame" variables was added. Most of the complexity involves
handling the case where the type of the variable has changed.
(varobj_create): Add a "type" argument, to tell if the
variable is one of these "current frame" variables. Also protect
call to parse_exp_1 from long jumping.
* mi-var-block.exp: The error report from varobj_create changed
since I am now trapping parse_exp_1 errors. Change the tests to
match the new error message.
* mi-var-child.exp: Ditto.
* mi-var-cmd.exp: Ditto.
* lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
the library directories.
* gdbtk-varobj.c (variable_create): Pass the correct
"how_specified" flag to the varobj_create routine.
hp [Mon, 13 Mar 2000 21:20:15 +0000 (21:20 +0000)]
* expr.c (operand) [case 'f']: When testing if '0f' can start a
floating-point-number, make sure 'f' is in FLT_CHARS.
hp [Mon, 13 Mar 2000 20:46:06 +0000 (20:46 +0000)]
* read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
(s_lcomm_internal): Use it.
* doc/internals.texi (CPU backend): Document it.
* config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
bytes.
ranjith [Mon, 13 Mar 2000 20:41:18 +0000 (20:41 +0000)]
Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
* libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
eliz [Mon, 13 Mar 2000 15:59:02 +0000 (15:59 +0000)]
* go32-nat.c (struct env387): Remove declaration.
(print_387_status, i386_go32_float_info): Remove redundant
functions.
(regno_mapping, sig_map, excepn_map): Add braces around inner
initializers.
(many functions): Use ATTRIBUTE_UNUSED to shut up the compiler;
fix code which mixed signed with unsigned.
(go32_resume): Use TARGET_SIGNAL_LAST instead of -1.
(go32_wait): Initialize INT3_addr.
(go32_fetch_registers): Extend all FP registers that are shorter
than 4 bytes to 32 bits. Support 32 standard FP registers defined
on config/i386/tm-i386.h.
(store_register): Support 32 FP registers.
(go32_create_inferior): Don't crash if handed a NULL pointer
instead of exec file name.
(ignore): Remove unused function.
(go32_insert_hw_breakpoint): Remove unused variables.
(init_go32_ops): Set value of processing_gcc_compilation to 2.
cagney [Mon, 13 Mar 2000 10:01:22 +0000 (10:01 +0000)]
From Daniel Berlin:
Fix C++ overloading, add support for seeing through references.
cagney [Mon, 13 Mar 2000 07:29:59 +0000 (07:29 +0000)]
Revert: ``Fix C++ overload support, see through references''.
Change also contained numerous white-space changes.
cgf [Mon, 13 Mar 2000 02:23:47 +0000 (02:23 +0000)]
* strace.cc: Throughout, track information like start_time, etc. on a
per-process basis.
kettenis [Sun, 12 Mar 2000 21:16:09 +0000 (21:16 +0000)]
2000-03-11 Mark Kettenis <kettenis@gnu.org>
* gnu-nat.c: Fix the formatting where indent misinterpreted `&' as
a binary operator.
(gnu_attach): Change error message for missing
argument to be identical to the corresponding message in
`inftarg.c'. This makes the testsuite happy.
cgf [Sun, 12 Mar 2000 06:29:54 +0000 (06:29 +0000)]
* fhandler.cc (fhandler_base::get_readahead_into_buffer): New function.
* fhandler.h: Declare new function. Add extra argument to
process_slave_output.
* fhandler_console.cc (fhandler_console::read): Move read ahead code to new
function.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Move common code
here.
(fhandler_tty_slave::read): Understand readahead.
(fhandler_pty_master::read): Move code to process_slave_output.
* select.cc (peek_pipe): Avoid performing certain checks when non-read and on
inappropriate fh types.
cgf [Sun, 12 Mar 2000 04:44:37 +0000 (04:44 +0000)]
* fhandler_console.cc (fhandler_console::read): Don't even think about breaking
on interrupt if executing in a "cygwin" thread.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Streamline,
simplify code.
* sigproc.cc (sig_send): Remove debugging statement.
amodra [Sat, 11 Mar 2000 23:09:42 +0000 (23:09 +0000)]
Return bfd_error_wrong_format on a format mismatch.
cgf [Sat, 11 Mar 2000 15:51:46 +0000 (15:51 +0000)]
* sigproc.cc: Set wait_sig priority to normal.
geoffk [Sat, 11 Mar 2000 02:23:10 +0000 (02:23 +0000)]
* elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper
sign-extension and big-endian compensation for
R_MIPS_64 even in ld -r.
geoffk [Sat, 11 Mar 2000 02:16:24 +0000 (02:16 +0000)]
In bfd/:
* elf32-mips.c (mips_elf_next_relocation): Rename from
mips_elf_next_lo16_relocation, and generalize to look
for any relocation type.
(elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.
(elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.
(elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.
(elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.
(elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.
(elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.
(bfd_elf32_bfd_reloc_type_lookup): Add new relocs.
(mips_rtype_to_howto): Likewise.
(mips_elf_calculate_relocation): Handle new relocs.
(_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs
are paired. The addend for R_MIPS_GNU_REL16_S2
is shifted right two bits.
In gas/:
* config/tc-mips.c (mips_ip): Don't put stuff in .rodata
when embedded-pic.
* config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
implementation doesn't have special handling for switch
statements.
(macro_build): Allow for code in sections other than .text.
(macro): Likewise.
(mips_ip): Likewise.
(md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
Don't perform relocs if we will be outputting them.
(tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
embedded-pic.
In gas/testsuite/:
* gas/mips/empic.d: New file.
* gas/mips/empic.s: New file.
* gas/mips/mips16-e.d: New file.
* gas/mips/mips16-e.s: New file.
* gas/mips/mips16-f.d: New file.
* gas/mips/mips16-f.s: New file.
* gas/mips/mips.exp: Add empic, mips16-e. Add mips16-f as an
expected failure.
In include/elf:
* mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16,
R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation
numbers.
amodra [Sat, 11 Mar 2000 01:16:52 +0000 (01:16 +0000)]
Fix typos in comments, and restore comment formatting destroyed by emacs at
some stage.
kettenis [Sat, 11 Mar 2000 00:34:49 +0000 (00:34 +0000)]
2000-03-11 Mark Kettenis <kettenis@gnu.org>
* i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the
%eflags isn't modified. This fixes a bug where every call to a
function in the program beyond the first call would fail.
jingham [Fri, 10 Mar 2000 23:41:46 +0000 (23:41 +0000)]
2000-03-10 James Ingham <jingham@leda.cygnus.com>
* targetselection.ith (get_target_list): Should be a proc, since
it does nothing instance-specific.
jingham [Fri, 10 Mar 2000 23:39:10 +0000 (23:39 +0000)]
2000-03-10 James Ingham <jingham@leda.cygnus.com>
* util.tcl (keep_raised): For some reason raising a window, then
deiconifying it is MUCH faster on "e" & WindowMaker under XFree.
Go figure. Other WM's don't seem to care, so do it this way...
* managedwin.itb (ManagedWin::reveal): Ditto...
hjl [Fri, 10 Mar 2000 21:21:16 +0000 (21:21 +0000)]
2000-03-10 H.J. Lu <hjl@gnu.org>
* Makefile.in (all-gcc): Backed out the last change.
jjohnstn [Fri, 10 Mar 2000 21:13:28 +0000 (21:13 +0000)]
Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/include/string.h: Include <sys/types.h>.
hjl [Fri, 10 Mar 2000 20:50:45 +0000 (20:50 +0000)]
2000-03-10 H.J. Lu <hjl@gnu.org>
* Makefile.in (all-gcc): Run ld/ld-new if necessary.
ezannoni [Fri, 10 Mar 2000 18:53:05 +0000 (18:53 +0000)]
2000-03-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* srcbar.tcl (do_attach): Just call gdbtk_attach_native.
(do_connect): Replace gdbtk_attach_target call with
gdbtk_attach_remote call.
* interface.tcl (gdbtk_attach_native): Renamed from do_attach method
and moved from srcbar.tcl.
(gdbtk_attach_remote): New proc. Renamed from gdb_attach_target,
to better distinguish from the native version.
(run_executable): Change gdbtk_attach_target call into
gdbtk_attach_remote.
* srctextwin.itb: Add keyboard accelerator for Attach command.
* tclIndex: Rebuild.
cgf [Fri, 10 Mar 2000 18:04:20 +0000 (18:04 +0000)]
* sigproc.cc (wait_sig): Add addtional debugging output.
aoliva [Fri, 10 Mar 2000 17:57:31 +0000 (17:57 +0000)]
* libc/stdio/putw.c (putw): Return 0 on success, to be compliant
with XSH5, not SVID.
dberlin [Fri, 10 Mar 2000 08:02:58 +0000 (08:02 +0000)]
Fix C++ overload support, see through references
cagney [Fri, 10 Mar 2000 00:52:40 +0000 (00:52 +0000)]
Devolve area maintaineship responsibilities.
ezannoni [Thu, 9 Mar 2000 22:58:49 +0000 (22:58 +0000)]
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
jjohnstn [Thu, 9 Mar 2000 22:25:01 +0000 (22:25 +0000)]
Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/include/string.h: Changed last argument back to ssize_t
to make it compatible with XPG4 definition which is
defined in <unistd.h>. There is a conflict in the SVID 3
and XPG4 definitions and newlib will settle with XPG4.
* libc/string/swab.c: Ditto.
clm [Thu, 9 Mar 2000 22:07:28 +0000 (22:07 +0000)]
* config/tc-m32r.c (m32r_fix_adjustable): Look up the
relocation type based on the entry in the fixup structure.
scottb [Thu, 9 Mar 2000 21:55:39 +0000 (21:55 +0000)]
2000-02-25 Scott Bambrough <scottb@netwinder.org>
* gdb.base/long_long.exp: Correct test suite failure when printing
a long long value as a double on ARM platforms.
ARM doubles use a hybrid endian format. It is not strictly little or big
endian. It is little endian with the words swapped.
cgf [Thu, 9 Mar 2000 21:04:05 +0000 (21:04 +0000)]
* environ.cc: Eliminate oldstack CYGWIN option.
* exceptions.cc (sfta): Eliminate obsolete function.
(sgmb): Eliminate obsolete function.
(class stack_info): Remove MS method for walking the stack.
(stack_info::init): Just initialize required fields.
(stack_info::brute_force): Rename to stack_info::walk.
(handle_exceptions): Pass derived frame pointer to sig_send.
(interrupt_setup): Clear saved frame pointer here.
(interrupt_on_return): thestack is no longer a pointer.
(call_handler): Accept a flag to indicate when a signal was sent from other
than the main thread. Use saved frame pointer for determining where to place
signal handler call.
(sig_handle): Accept "nonmain" argument. Pass it to call_handler.
* fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Change
debugging output slightly.
* (fhandler_tty_common::__release_output_mutex): Ditto.
(fhandler_tty_slave::read): Fix a comment, remove a goto.
* sigproc.cc (sig_send): Accept an optional frame pointer argument for use when
suspending the main process. sigcomplete_main is an autoreset event now. Save
frame pointer for non-main operation.
(wait_sig): Make sigcomplete_main an autoreset event. Eliminate NOSIGQUEUE.
Pass rc to sig_handle to signify if this was a nonmain process.
* sigproc.h: Reflect change to sig_send argument.
* syscalls.cc (swab): Eliminate swab function since it is now available in
newlib.
* winsup.h (signal_dispatch): Change CONTEXT cx to DWORD ebp.
hjl [Thu, 9 Mar 2000 16:41:21 +0000 (16:41 +0000)]
2000-03-09 Andreas Jaeger <aj@suse.de>
* Makefile.am (check-DEJAGNU): Also unset LANG.
* Makefile.in: Rebuild.
ezannoni [Thu, 9 Mar 2000 16:02:27 +0000 (16:02 +0000)]
2000-03-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From: James Ingham <jingham@leda.cygnus.com>:
* attachdlg.itb (build_win): Pack the dialog better, so that when
window is resized components are not hidden.
cagney [Thu, 9 Mar 2000 03:32:09 +0000 (03:32 +0000)]
Anthony Green is Java maintainer.
hjl [Thu, 9 Mar 2000 03:14:43 +0000 (03:14 +0000)]
2000-03-08 H.J. Lu (hjl@gnu.org)
* Makefile.am (install-exec-tooldir): Depend on
install-exec-bindir for parallel make.
* Makefile.in: Regenerated.
hjl [Thu, 9 Mar 2000 03:13:21 +0000 (03:13 +0000)]
2000-03-08 H.J. Lu <hjl@gnu.org>
* Makefile.am (install-exec-local): Depend on
install-binPROGRAMS for parallel make.
* Makefile.in: Regenerated.
kettenis [Wed, 8 Mar 2000 22:34:18 +0000 (22:34 +0000)]
2000-03-08 Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c (i386_linux_saved_pc_after_call): New function.
* config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call
i386_linux_saved_pc_after_call.
jjohnstn [Wed, 8 Mar 2000 22:16:06 +0000 (22:16 +0000)]
Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/include/string.h: Changed last argument to size_t.
* libc/string/swab.c: Changed last argument to size_t.
fche [Wed, 8 Mar 2000 21:09:41 +0000 (21:09 +0000)]
* extension
2000-03-08 Dave Brolley <brolley@redhat.com>
* cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_SF_WRITE.
(CGEN_WRITE_QUEUE_ELEMENT): Add fn_sf_write.
(sim_queue_fn_si_write): Last argument is has type USI.
(sim_queue_fn_sf_write): New function.
* cgen-par.c (sim_queue_fn_si_write): Declare 'value' as USI.
(sim_queue_fn_sf_write): New function.
(cgen_write_queue_element_execute): Handle CGEN_FN_SF_WRITE.
aoliva [Wed, 8 Mar 2000 04:01:49 +0000 (04:01 +0000)]
* libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
(CHEWOUT_FILES): Added unlinkr.def.
* libc/reent/Makefile.in: Rebuilt.
* libc/sys.tex: Include unlinkr.def.
* libc/reent/linkr.c (_unlink_r): Moved to...
* libc/reent/unlinkr.c: ... new file.
aoliva [Wed, 8 Mar 2000 03:46:00 +0000 (03:46 +0000)]
* libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
(CHEWOUT_FILES): Added swab.def.
* libc/string/Makefile.in: Rebuilt.
* libc/string/string.tex: Include swab.def.
* libc/include/string.h (swab): Declare.
* libc/string/swab.c: New file.
aoliva [Wed, 8 Mar 2000 03:42:25 +0000 (03:42 +0000)]
* libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
(CHEWOUT_FILES): Added getw.def and putw.def.
* libc/stdio/Makefile.in: Rebuilt.
* libc/stdio/stdio.tex: Include getw.def and putw.def.
* libc/stdio/getw.c: New file.
* libc/stdio/putw.c: New file.
devans [Tue, 7 Mar 2000 21:04:30 +0000 (21:04 +0000)]
* reloc.c (reloc_howto_struct): Fix partial_inplace comment.
* bfd-in2.h: Rebuild.
cgf [Tue, 7 Mar 2000 18:32:40 +0000 (18:32 +0000)]
* sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since it
didn't seem to affect the "bash hangs" problem.
fche [Tue, 7 Mar 2000 15:32:49 +0000 (15:32 +0000)]
* build fix
2000-03-07 Frank Ch. Eigler <fche@redhat.com>
From John Dallaway <jld@redhat.co.uk>:
* Makefile.in (install-sis): Add $(EXEEXT) for Windows host.
cgf [Tue, 7 Mar 2000 05:33:09 +0000 (05:33 +0000)]
Throughout use strace class in place of individual functions and variables.
* cygwin.din: Eliminate _strace_wm.
* sigproc.cc (wait_sig): Temporarily add more debugging output.
* include/cygwin/version.h: Bump minor api to reflect export change.
jimb [Tue, 7 Mar 2000 04:33:52 +0000 (04:33 +0000)]
From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
* minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
(compact_minimal_symbols): Added `objfile' argument.
Put symbols in the objfile's hash table.
(install_minimal_symbols): Put symbols in the objfile's demangled
hash table.
(lookup_minimal_symbol): Use hash table to find symbol in
objfile.
(msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
functions.
(prim_record_minimal_symbol_and_info): Initialize the
hash link fields of the new minimal symbol.
* symtab.h (struct minimal_symbol): New fields `hash_next',
`demangled_hash_next'.
(msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
* objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
(struct objfile): New fields `msymbol_hash',
`msymbol_demangled_hash'.
nickc [Tue, 7 Mar 2000 00:06:51 +0000 (00:06 +0000)]
Document new -m32r command line switch
nickc [Mon, 6 Mar 2000 23:37:57 +0000 (23:37 +0000)]
treat -m32r as a seperate, specific command line switch.
ezannoni [Mon, 6 Mar 2000 22:57:52 +0000 (22:57 +0000)]
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* mi-cmds.h: Export mi_cmd_data_write_register_values.
* mi-cmds.c (mi_cmds): Implement data-write-register-values with
mi_cmd_data_write_register_values.
* mi-main.c (mi_cmd_data_write_register_values): New
function. Write a value into a register.
nickc [Mon, 6 Mar 2000 22:38:43 +0000 (22:38 +0000)]
Further LINK6 bug fix.
ezannoni [Mon, 6 Mar 2000 22:14:44 +0000 (22:14 +0000)]
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbmi.texinfo: Update data-disassemble documentation.
ezannoni [Mon, 6 Mar 2000 21:33:38 +0000 (21:33 +0000)]
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* mi-disassemble.exp: Don't assume numbers for the offset
values. They can be different depending on the architecture.
* mi-watch.exp (test_watchpoint_triggering): In same cases the
type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that.
* basics.c (callee4): Make the function return something,
otherwise the return value is undefined.
amylaar [Mon, 6 Mar 2000 21:13:15 +0000 (21:13 +0000)]
* sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
ezannoni [Mon, 6 Mar 2000 20:00:53 +0000 (20:00 +0000)]
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* mi-basics.exp: Comment out test for a still unimplemented operation.
nickc [Mon, 6 Mar 2000 19:49:58 +0000 (19:49 +0000)]
fix LINK6 code.
ezannoni [Mon, 6 Mar 2000 19:46:40 +0000 (19:46 +0000)]
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* mi-disassemble.exp: Rewrite most of the tests to conform to new
disassemble interface.
nickc [Mon, 6 Mar 2000 18:09:38 +0000 (18:09 +0000)]
Remove extraneous CYGNUYS LOCAL markers.
ian [Mon, 6 Mar 2000 18:08:38 +0000 (18:08 +0000)]
* ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
archive.
jimb [Mon, 6 Mar 2000 18:06:04 +0000 (18:06 +0000)]
*** empty log message ***
jimb [Mon, 6 Mar 2000 18:04:56 +0000 (18:04 +0000)]
Doc fix.
ezannoni [Mon, 6 Mar 2000 17:07:02 +0000 (17:07 +0000)]
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Eli Zaretskii <eliz@is.elta.co.il>:
* event-loop.c (poll_timers): Don't compare delta.tv_sec with
zero, since time_t might be unsigned.
kettenis [Mon, 6 Mar 2000 16:08:12 +0000 (16:08 +0000)]
2000-03-06 Mark Kettenis <kettenis@gnu.org>
* i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
in *FPREGSETP.
(convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
clm [Mon, 6 Mar 2000 15:44:25 +0000 (15:44 +0000)]
* elf.c (swap_out_syms): Check for null type_ptr.
kettenis [Sun, 5 Mar 2000 23:00:32 +0000 (23:00 +0000)]
Double Oops! I forgot the regenerated configure too.
kettenis [Sun, 5 Mar 2000 22:57:57 +0000 (22:57 +0000)]
Oops, forgot to save ChangeLog before commit.
kettenis [Sun, 5 Mar 2000 22:57:05 +0000 (22:57 +0000)]
2000-03-05 Mark Kettenis <kettenis@gnu.org>
Allow GDB to run on Linux 2.0 again.
* config.in: Add HAVE_PTRACE_GETREGS.
* configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
* configure: Regenerated.
* config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
CANNOT_STORE_REGISTER): New defines.
* i386-linux-nat.c (have_ptrace_getregs): New variable.
(PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
store_register, old_store_inferior_registers): Copied over from
`inptrace.c' as a temporary measure.
(fetch_regs, store_regs, fetch_fpregs, store_fpregs):
Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if
HAVE_PTRACE_GETREGS isn't defined.
(fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
with EIO.
(fetch_inferior_registers, store_inferior_registers): Fall back on
the method use in `infptrace.c' (by calling
old_fetch_inferior_registers and old_store_inferior_registers) if
`have_ptrace_getregs' isn't set.
kettenis [Sun, 5 Mar 2000 16:39:11 +0000 (16:39 +0000)]
2000-01-29 Mark Kettenis <kettenis@gnu.org>
* i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
of gregset_t and fpregset_t. Those are the only names that are
guaranteed to specify the right types for all supported Linux
systems out there.
Various doc fixes and gratitious local variable renames, all in an
attempt to stress similarities between the code and unify the
terminology used. Use ISO-C all over.
(regmap): Remove trailing comma.
(FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
(convert_to_gregset): Make static. Remove GDB_REGS argument. It
is unnecessary and wasn't used anyway. All callers changed.
(convert_to_fpregset, convert_to_xfpregset): Likewise.
(fetch_regs, store_regs): Remove unused variable `regno'.
(fill_fpregs): If REGNO is not -1, only update the specified
register.
(fetch_core_registers): Renamed from
i386_linux_fetch_core_registers. There is no need for a unique
name since the function is static anyway.
(linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
since it is more descriptive.