OSDN Git Service
hunt [Mon, 5 Nov 2001 19:42:48 +0000 (19:42 +0000)]
2001-11-05 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.h (gdbtk_set_result): Declare.
A printf-like function to return error messages.
* generic/gdbtk-cmds.c (gdbtk_set_result): New
function.
(gdb_cmd): Use gdbtk_set_result.
(gdb_immediate_command): Ditto.
(gdb_load_info): Ditto.
(gdb_find_file_command): Ditto.
(gdb_listfuncs): Ditto.
(gdb_load_disassembly): Ditto.
(gdb_loc): Ditto.
(gdb_set_mem): Ditto.
(gdb_get_mem): Ditto.
(gdb_loadfile): Ditto.
* generic/gdbtk-varobj.c (variable_format): Ditto.
(variable_value): Ditto.
* generic/gdbtk-stack.c (gdb_get_vars_command): Ditto.
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
(gdb_set_bp): Ditto.
(gdb_set_bp_addr): Ditto.
(gdb_get_tracepoint_info): Ditto.
hunt [Mon, 5 Nov 2001 19:15:17 +0000 (19:15 +0000)]
2001-11-05 Martin M. Hunt <hunt@redhat.com>
* library/stackwin.itb (StcakWin::reconfig): Destroy sbox
if it exists.
* library/process.itb (ProcessWin::reconfig): Destroy sbox
if it exists. This fixes reconfig failures on Windows. Also
destroy slbox.
* library/bpwin.itb (BpWin::reconfig): Destroy sbox if
it exists.This fixes reconfig failures on Windows. Also
destroy sf
* library/tdump.tcl (TdumpWin::reconfig): Delete sbox
and stext then rebuild window.
hunt [Mon, 5 Nov 2001 19:14:00 +0000 (19:14 +0000)]
2001-11-05 Martin M. Hunt <hunt@redhat.com>
* library/debugwin.itb (DebugWin::build_win):
Initialize gdbtk_de(ERRORS_ONLY) and gdbtk_de(filter_var)
(DebugWin::puts): Rewrite filter to handle new options.
(DebugWinDOpts::build_win): Update list of classes. Change
filter dialog so we can not display only errors and warnings
or choose between displaying ALL classes except those selected
or only selected classes. Fix "OK" button to apply
changes before closing dialog.
DebugWinOpts::_apply): Now takes an agrument that
indicates if dialog should exit after applying filter.
* library/debugwin.ith (_apply): Now takes an arg.
* library/main.tcl: If GDBTK_DEBUGFILE is not set,
use "insight.log" as the default. If GDBTK_DEBUG is set
and nonzero, start logging debug messages to
GDBTK_DEBUGFILE immediately. Never open the debug window
automatically.
* library/managedwin.itb (ManagedWin::shutdown): Don't
save debug window options dialog on active list
* library/srcwin.itb: Remove troublesome debug line.
hunt [Mon, 5 Nov 2001 19:00:30 +0000 (19:00 +0000)]
2001-10-18 Martin M. Hunt <hunt@redhat.com>
* library/globalpref.itb (GlobalPref::_init_var):
New method to initialize _saved and _new arrays.
(GlobalPref::constructor): Call _init_var.
(GlobalPref::_buildwin): Use _new array for prefs
variables. Font optimizations. Remove troublesome
fonts and sort the list.
(GlobalPref::toggle_tracing_mode): Removed. Some
functionality moved to _apply and _cancel.
(GlobalPref::_apply): Set prefs with values from the
_new array.
(SrcPref::_cancel): Reset prefs with values from _saved.
* library/globalpref.ith: Changed private variables
and methods to start with underscore.
(tracing_cb): Removed.
(_init): Changed from proc to method.
corinna [Mon, 5 Nov 2001 18:06:23 +0000 (18:06 +0000)]
* libc/include/sys/unistd.h: Add prototypes for endusershell(),
getusershell(), iruserok(), revoke(), ruserok() and setusershell()
when __CYGWIN__ is defined.
* libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
logwtmp().
jakub [Mon, 5 Nov 2001 16:20:37 +0000 (16:20 +0000)]
* arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
* arsup.c (ar_open): Prepend tmp- to basename, not whole path.
duda [Mon, 5 Nov 2001 13:16:41 +0000 (13:16 +0000)]
* Makefile.in: Delete unused executable after creating base-files.
sky [Mon, 5 Nov 2001 08:50:47 +0000 (08:50 +0000)]
Add self as s390/s390x maintainer.
sky [Mon, 5 Nov 2001 08:47:46 +0000 (08:47 +0000)]
Force got and plt relocations.
cgf [Mon, 5 Nov 2001 06:09:06 +0000 (06:09 +0000)]
Eliminate excess whitespace.
cgf [Mon, 5 Nov 2001 03:16:58 +0000 (03:16 +0000)]
Add strace debugging section.
cgd [Mon, 5 Nov 2001 03:07:51 +0000 (03:07 +0000)]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (print_insn_mips): Remove spaces at end of line.
cgd [Mon, 5 Nov 2001 03:07:26 +0000 (03:07 +0000)]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* mips.h (OPCODE_IS_MEMBER): Remove extra space.
cgf [Mon, 5 Nov 2001 02:45:41 +0000 (02:45 +0000)]
* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
incorrect parameter placement.
cgf [Mon, 5 Nov 2001 01:52:20 +0000 (01:52 +0000)]
* fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.
(fhandler_pipe::set_eof): Reflect above change.
* pipe.cc (fhandler_pipe::fhandler_pipe): Ditto.
(fhandler_pipe::read): Ditto.
(fhandler_pipe::hiteof): Ditto.
cgf [Mon, 5 Nov 2001 01:44:01 +0000 (01:44 +0000)]
* pipe.cc (fhandler_pipe::read): Narrow eof return to just the "broken pipe"
test.
dj [Mon, 5 Nov 2001 01:12:22 +0000 (01:12 +0000)]
merge from gcc
cgf [Mon, 5 Nov 2001 00:29:27 +0000 (00:29 +0000)]
* select.cc: Add more comments throughout. Use bool 'true' where appropriate
throughout.
(fhandler_socket::select_read): Remove duplicate setting for *_ready which
inadvertently overrode previous, correct setting.
(fhandler_socket::select_write): Ditto.
gdbadmin [Mon, 5 Nov 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 4 Nov 2001 23:08:47 +0000 (23:08 +0000)]
daily update
cgf [Sun, 4 Nov 2001 20:38:00 +0000 (20:38 +0000)]
* lib/Makefile.in: Add .NOTPARALLEL target since dlltool cannot run in parallel
invocations.
* lib/scrnsave.c (WinMain): Trivial change to avoid a compiler warning.
cgd [Sun, 4 Nov 2001 19:06:38 +0000 (19:06 +0000)]
[ gas/ChangeLog ]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* configure.in (mips-*-netbsd*): Add support for target.
* configure: Regenerate.
[ gas/testsuite/ChangeLog ]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*.
(aout): Don't set if *-*-netbsd*.
[ ld/ChangeLog ]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
Add support for targets.
corinna [Sun, 4 Nov 2001 17:24:24 +0000 (17:24 +0000)]
* getfacl.c (username): New function.
(groupname): Ditto.
(usage): Ditto. Add more user friendly help text.
(main): Add -n and --help option. Print names instead of IDs
unless -n option is given.
* setfacl.c (getperm): Tolerate whitespace and comment chars in input.
(getaclentry): Fix several input string misdetections.
(getaclentries): Allow - as input file name to read from stdin.
Tolerate whitespace and comment chars in input.
(usage): Add more user friendly help text.
(main): Add --help option.
kettenis [Sun, 4 Nov 2001 14:30:42 +0000 (14:30 +0000)]
* i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
fill_gregset): Add support for "orig_eax" register.
kettenis [Sun, 4 Nov 2001 14:06:16 +0000 (14:06 +0000)]
Add support for "orig_eax" pseudo register on Linux/x86.
* i386-linux-tdep.c: Include "inferior.h".
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New functions.
(i386_linux_write_pc): New function.
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
(NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
register.
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New prototypes.
(TARGET_WRITE_PC): New define.
(i386_linux_write_pc): New prototype.
kettenis [Sun, 4 Nov 2001 13:51:48 +0000 (13:51 +0000)]
* i386-tdep.c (i386_register_offset): Renamed from
i386_register_byte. Made static.
(i386_register_size): Renamed from i386_register_raw_size. Made
static.
(i386_register_virtual_size): Removed.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.
(_initialize_i386_tdep): Initialize i386_register_offset instead
of i386_register_byte. Remove code to initialize
i386_register_virtual_size.
* config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
i386_register_byte function.
(REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
function.
(REGISTER_VIRTUAL_SIZE): Redefine to use
i386_register_virtual_size function.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.
kettenis [Sun, 4 Nov 2001 13:14:42 +0000 (13:14 +0000)]
* Makefile.in (ALLDEPFILES): Add i387-nat.c.
(i387-nat.o): Add dependencies.
duda [Sun, 4 Nov 2001 12:57:55 +0000 (12:57 +0000)]
* strace.cc (main): New option '-w'. Start traced process in separate
window. New option '-S x'. Flush buffered output every x seconds.
(create_child): Start child process in new window, when requested.
When requested, periodically flush debugging output.
cgf [Sun, 4 Nov 2001 05:15:16 +0000 (05:15 +0000)]
* Makefile.in: Force configure in testsuite directory if config.status does not
exist.
cgf [Sun, 4 Nov 2001 05:14:16 +0000 (05:14 +0000)]
* Makefile.in: Oops. Revert previous change. Add Makefile/Makefile.in
dependency.
cgf [Sun, 4 Nov 2001 05:06:23 +0000 (05:06 +0000)]
* Makefile.in: Add check target.
cgf [Sun, 4 Nov 2001 03:48:36 +0000 (03:48 +0000)]
* configure.in: Disable subauth directory test.
* configure: Regenerate.
* Makefile.in: Use MAKE variable in directory builds.
cgf [Sun, 4 Nov 2001 03:42:19 +0000 (03:42 +0000)]
* Makefile.in: Add directory dependencies to ensure ordering when using 'make
-jN'.
cgf [Sun, 4 Nov 2001 03:29:15 +0000 (03:29 +0000)]
* select.cc (verify_console): New function.
(verify_windows): Ditto.
(fhandler_console::select_read): Really do need to verify that there is
something to read.
(fhandler_console::select_windows): Ditto.
cgf [Sun, 4 Nov 2001 02:31:58 +0000 (02:31 +0000)]
* fhandler.h (fhandler_base::ready_for_read): Remove unused argument.
(fhandler_tty_slave::ready_for_read): Ditto.
(select_record): Remove poll, initialize peek.
* select.cc: Remove all poll functions, throughout. Change second argument of
peek_* functions to 'bool' throughout. Specifically initialize *_ready
variables throughout.
(select_stuff::poll): Subsume previous poll functionality.
(peek_pipe): Don't grab guard mutex when in select loop. select()/read() is
racy by design so there is no need to worry about a race in select().
(fhandler_base::ready_for_read): Remove unused argument.
(fhandler_tty_slave::ready_for_read): Ditto.
* syscalls.cc (_read): Eliminate third argument in ready_for_read call.
gdbadmin [Sun, 4 Nov 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 3 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update
corinna [Sat, 3 Nov 2001 21:19:50 +0000 (21:19 +0000)]
* security.cc (get_supplementary_group_sidlist): New function.
(get_group_sidlist): Call get_supplementary_group_sidlist() to
retrieve list of supplementary groups SIDs from /etc/group and
add them to the user's group list.
cgf [Sat, 3 Nov 2001 19:56:52 +0000 (19:56 +0000)]
* Makefile.common: Remove preferred-stack-boundary setting since gcc 2.95.3
doesn't work well with it.
cgf [Sat, 3 Nov 2001 05:42:20 +0000 (05:42 +0000)]
* fhandler.cc (fhandler_base::read): Return just read ahead characters if slow
device.
* fhandler.h (fhandler_base::set_eof): New virtual method.
(fhandler_pipe::set_eof): New method.
* pipe.cc (fhandler_pipe::fhandler_pipe): Clear saweof flag.
(fhandler_pipe::read): Return immediately if hit eof.
(fhandler_pipe::hit_eof): Return true if saweof flag is set.
* select.cc (peek_pipe): Don't call PeekNamedPipe if we couldn't grab the guard
mutex.
cgf [Sat, 3 Nov 2001 03:32:26 +0000 (03:32 +0000)]
* dll_init.h (class dll_list): Reorder functions to avoid compiler "can't
inline" warnings.
* security.h (class cygsid): Ditto.
* sigproc.cc (get_proc_lock): Ditto.
* sigproc.h (class sigframe): Ditto.
* sync.h (class muto): Ditto.
* fhandler.h (fhandler_base::get_guard): Actually MAKE virtual as previously
indicated.
* pipe.cc (make_pipe): Remove extraneous set_errno.
* syscalls.cc (_open): Ditto.
* select.cc (peek_pipe): Need to check that there is still something to read
from the pipe after acquiring the mutex since another process/thread could have
eaten the input before we got to acquiring the lock. (Thanks to Nick Duffek
for this inspiration.)
amodra [Sat, 3 Nov 2001 03:18:34 +0000 (03:18 +0000)]
* elfxx-target.h (elfNN_bed): Correct want_got_sym, want_dynbss order.
gdbadmin [Sat, 3 Nov 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 2 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update
cagney [Fri, 2 Nov 2001 21:59:18 +0000 (21:59 +0000)]
Doco problem with alpha-dec-osf5.1.
trix [Fri, 2 Nov 2001 21:47:19 +0000 (21:47 +0000)]
Add myself as the ppc xcoff maintainer
cagney [Fri, 2 Nov 2001 21:46:52 +0000 (21:46 +0000)]
* utils.c (internal_verror): Restore calls to abort().
Fix PR gdb/219.
duda [Fri, 2 Nov 2001 20:45:00 +0000 (20:45 +0000)]
* libltp/lib/forker.c: Include proper header to avoid compiler
warning.
hjl [Fri, 2 Nov 2001 19:46:58 +0000 (19:46 +0000)]
2001-11-02 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (mips_elf_calculate_relocation): Don't create
dynamic relocation for symbols defined in regular objects when
creating executables.
nickc [Fri, 2 Nov 2001 19:09:06 +0000 (19:09 +0000)]
Add translations
nickc [Fri, 2 Nov 2001 19:07:55 +0000 (19:07 +0000)]
Add translations
nickc [Fri, 2 Nov 2001 18:06:20 +0000 (18:06 +0000)]
Add French translation
rearnsha [Fri, 2 Nov 2001 17:25:10 +0000 (17:25 +0000)]
* tc-arm.c: Re-arrange prototypes by architecture.
(insns): Re-arrange instructions by archtitecture. Pld instruction
is part of ARMv5E.
(tinsns): blx and bkpt are part of ARMv5T.
(do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename
to do_fpa_*. All callers changed.
* tc-arm.c (insns): Add two temporary instructions to handle
ldrd/strd.
hjl [Fri, 2 Nov 2001 17:24:53 +0000 (17:24 +0000)]
2001-11-02 H.J. Lu <hjl@gnu.org>
* ld-elfvsb/elfvsb.exp: Add the "ld -r" test.
* ld-elfvsb/hidden0.d: New.
* ld-elfvsb/hidden1.d: New.
* ld-elfvsb/internal0.d: New.
* ld-elfvsb/internal1.d: New.
* ld-elfvsb/protected0.d: New.
* ld-elfvsb/protected1.d: New.
* ld-elfvsb/undef.s: New.
* ld-elfvsb/undef.s: New.
nickc [Fri, 2 Nov 2001 17:07:48 +0000 (17:07 +0000)]
Fix testsuites for bigendian sh-linux
nickc [Fri, 2 Nov 2001 16:58:17 +0000 (16:58 +0000)]
Set targ_emul, targ_extra_emuls as little endian default and to support big endian.
nickc [Fri, 2 Nov 2001 16:29:15 +0000 (16:29 +0000)]
Add comment
nickc [Fri, 2 Nov 2001 16:19:53 +0000 (16:19 +0000)]
Initialize subspace_sections.
hjl [Fri, 2 Nov 2001 15:47:23 +0000 (15:47 +0000)]
2001-11-02 H.J. Lu (hjl@gnu.org)
* coffgen.c (coff_object_p): Return 0 if the header is too big.
chastain [Fri, 2 Nov 2001 15:41:14 +0000 (15:41 +0000)]
2001-11-02 Michael Chastain <mec@shout.net>
* MAINTAINERS: Update my entry.
hp [Fri, 2 Nov 2001 13:12:55 +0000 (13:12 +0000)]
* elfcore.h (elf_core_file_p): Preserve and clear abfd section
information. Save bfd arch and mach values. Restore on error.
amodra [Fri, 2 Nov 2001 10:37:04 +0000 (10:37 +0000)]
* elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.
(allocate_PIC_calls): New function.
(allocate_dynrelocs): Don't allocate pic_call plt entries here.
(elf32_hppa_size_dynamic_sections): Call allocate_PIC_calls.
(elf32_hppa_finish_dynamic_symbol): Remove dead code.
hp [Fri, 2 Nov 2001 07:22:37 +0000 (07:22 +0000)]
Fix cutnpasto in last entry
hp [Fri, 2 Nov 2001 07:20:23 +0000 (07:20 +0000)]
* elf32-cris.c (cris_elf_grok_prstatus): New function.
(cris_elf_grok_prstatus): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
cgf [Fri, 2 Nov 2001 04:44:42 +0000 (04:44 +0000)]
* Makefile.common: Add some stuff to common CFLAGS.
cgf [Fri, 2 Nov 2001 04:44:06 +0000 (04:44 +0000)]
* fhandler.h: Change Windows 'BOOL's to c++ 'bool's for all variables.
* select.cc (fhandler_base::ready_for_read): Set read_ready to zero prior to
testing it or it will be uninitialized.
* Makefile.in (CFLAGS): Move setting to Makefile.common.
cgd [Fri, 2 Nov 2001 01:13:09 +0000 (01:13 +0000)]
2001-11-01 Chris Demetriou <cgd@broadcom.com>
* ld.texinfo (Options): Document new option, -nostdlib.
* lexsup.c (OPTION_NOSTDLIB): New definition.
(ld_options): Add entry for "nostdlib".
(parse_args): Handle OPTIONS_NOSTDLIB.
* ldfile.c (ldfile_add_library_path): Don't add directories
to the search path if they weren't specified on the command line
and -nostdlib was specified.
* ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
gdbadmin [Fri, 2 Nov 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Thu, 1 Nov 2001 23:48:34 +0000 (23:48 +0000)]
* cygheap.h (cygheap_fdmanip::isopen): Set appropriate errno if fd not open.
* select.cc (fhandler_base::ready_for_read): Release an open guard mutex when
exiting with an error condition.
* syscalls.cc (_read): Check frequently for closed fd as a kludge until
something better is invented.
msnyder [Thu, 1 Nov 2001 23:41:09 +0000 (23:41 +0000)]
2001-10-31 Michael Snyder <msnyder@redhat.com>
* gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
depending on what the symbol table contains.
* gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command. Similarly, accept both "const &"
and "const&".
amodra [Thu, 1 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update
cgf [Thu, 1 Nov 2001 21:15:52 +0000 (21:15 +0000)]
* dtable.cc (dtable::build_fhandler): Issue internal error on unknown device.
* fhandler.cc (fhandler_base::close): Show both name and handle in debugging
output.
* fhandler.h (fhandler_base::get_guard): New virtual method.
(fhandler_pipe::get_guard): New method.
(fhandler_socket::ready_for_read): Delete declaration.
(fhandler_pipe::ready_for_read): Ditto.
(fhandler_serial::ready_for_read): Ditto.
(fhandler_console::ready_for_read): Ditto.
(fhandler_tty_common::ready_for_read): Ditto.
(fhandler_windows::ready_for_read): Ditto.
(struct select_record::peek): Declare new method.
* select.cc (MAKEready): Delete.
(peek_pipe): Use get_guard method to retrieve potential guard mutex handle.
(fhandler_base::ready_for_read): Rewrite as generic ready-for-read handler.
Should only be called for "slow" devices.
(fhandler_socket::ready_for_read): Delete definition.
(fhandler_pipe::ready_for_read): Ditto.
(fhandler_serial::ready_for_read): Ditto.
(fhandler_console::ready_for_read): Ditto.
(fhandler_tty_common::ready_for_read): Ditto.
(fhandler_windows::ready_for_read): Ditto.
(fhandler_pipe::select_read): Fill in new peek record in select_record
structure.
(fhandler_console::select_read): Ditto.
(fhandler_tty_common::select_read): Ditto.
(fhandler_serial::select_read): Ditto.
(fhandler_socket::select_read): Ditto.
(fhandler_socket::select_read): Ditto.
(fhandler_tty_slave::ready_for_read): Check for tty not open. Set errnos
appropriately.
* syscalls.cc (_read): Allow ready_for_read to set errno.
* pinfo.cc (pinfo::init): Return spawn/NO_WAIT process as valid if it is
initializing.
* sigproc.cc (getsem): Adjust wait for process to initialize downward to avoid
huge waits.
kseitz [Thu, 1 Nov 2001 20:49:21 +0000 (20:49 +0000)]
* library/memwin.itb (update_addr): Evaluate the address
to be sent to gdb_get_mem to prevent passing error strings
to string_to_coreaddr in gdb_get_mem.
earnie [Thu, 1 Nov 2001 19:51:47 +0000 (19:51 +0000)]
2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h (_commit): Add declaration.
Thanks to: "stefan" <stefan@lkcc.org>
2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/stat.h: Make S_IS* macros safer.
2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (EXIT_FAILURE): Change value to 1.
2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (__p__environ, __p__wenviron): Use
__STDC__ prototypes.
jjohnstn [Thu, 1 Nov 2001 19:47:28 +0000 (19:47 +0000)]
2001-11-01 Arati Dikey <aratidikey@hotmail.com>
* libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
[_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
* libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
[_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
earnie [Thu, 1 Nov 2001 19:42:54 +0000 (19:42 +0000)]
2001-11-01 Danny Smith <dannysmith@users.sourceforge.net>
* include/basetyps.h (DECLARE_INTERFACE): Don't add
__attribute__((com_interface)) for __GNUC__ >= 3.
2001-11-01 Danny Smith <dannysmith@users.sourceforge.net>
* include/commdlg.h (PRINTPAGERANGE): Add structure
definition.
(PRINTDLGEX[AW]): Likewise.
(PrintDlgEx[AW]): Add function declaration.
* lib/comdlg32.def (PrintDlgEx[AW]): Add function stubs.
* ChangeLog: Fix typo in last entry.
2001-11-01 TAMURA Kent <tkent@users.sourceforge.net>
* include/objbase.h (CoGetClassObject): Change third parameter
to COSERVERINFO*.
2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (MOUSEEVENTF_WHEEL): Define.
Thanks to: Kim Saunders.
* include/oleauto.h: Define VARIANT* flags for VariantChangeType.
Thanks to: Pat Thoyts.
* include/winnt.h: Change C++ style comment to C style.
* include/shlobj.h: Ditto.
* include/objbase.h (enum tagCOINIT): Remove comma at end of
list.
* include/oledlg.h (enum tagOLEUIPASTEFLAG): Ditto.
* include/oleidl.h (enum tagDROPEFFECT): Mark as __extension__
(enum not limited to range of int).
* include/oaidl.h (struct tagVARIANT): Mark as __extension__
(struct with no named members), ifndef NONAMELESSUNION.
2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (CREATESTRUCT): UNICODE it.
(CBT_CREATEWND): Likewise.
2001-10-20 Corinna Vinschen <corinna@vinschen.de>
* include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
(WNetGetResourceInformationW): Ditto.
(WNetGetResourceInformation): Add define.
2001-10-12 Pedro A Aranda <paaguti@hotmail.com>
* include/winuser.h (POINTSTOPOINT): Use explicit casts
before extracting words.
fnf [Thu, 1 Nov 2001 16:17:08 +0000 (16:17 +0000)]
Approved by kev@cygnus.com
ChangeLog entry:
2001-11-01 Fred Fish <fnf@redhat.com>
* coff-solib.c (coff_solib_add): Add new readsyms arg.
* irix5-nat.c (solib_add): Ditto.
* osfsolib.c (solib_add): Ditto.
* pa64solib.c (pa64_solib_add): Ditto.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* solib.c (solib_add): Ditto.
* somsolib.c (som_solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.
* coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* pa64solib.h (pa64_solib_add): Ditto.
* solib.h (solib_add): Ditto.
* somsolib.h (som_solib_add): Ditto.
* config/i386/tm-cygwin.h (child_solib_add): Ditto.
* coff-solib.c (coff_solib_add): If readsyms is zero don't read
symbols but do any other needed work for shared libs.
* irix5-nat.c: Ditto.
* osfsolib.c (solib_add): Ditto.
* solib.c (solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.
* irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
solib_add to force reading of shared library symbols.
* osfsolib.c (sharedlibrary_command;): Ditto.
* pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
* solib.c (sharedlibrary_command): Ditto.
* somsolib.c (som_solib_sharedlibrary_command): Ditto.
* xcoffsolib.c (sharedlibrary_command): Ditto.
* coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
unconditionally with auto_solib_add.
* irix5-nat.c (solib_create_inferior_hook): Ditto.
* osfsolib.c (solib_create_inferior_hook): Ditto.
* solib.c (solib_create_inferior_hook): Ditto.
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
* solib-svr4.c (enable_break): Ditto.
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
* corelow.c (solib_add_stub): Add auto_solib_add to args passed
via SOLIB_ADD.
* sol-thread.c (sol_thread_attach): Ditto.
* config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.
* infcmd.c (attach_command): Remove auto_solib_add decl.
Call SOLIB_ADD directly with auto_solib_add.
* infrun.c (handle_inferior_event): Ditto.
* coff-solib.h (SOLIB_ADD): Add readsyms arg.
* pa64solib.h (SOLIB_ADD): Ditto.
* solib.h (SOLIB_ADD): Ditto.
* somsolib.h (SOLIB_ADD): Ditto.
* config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.
* fork-child.c (clone_and_follow_inferior): Remove unused
auto_solib_add decl.
* pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
(read_dld_descriptor): Ditto.
(pa64_solib_add): Call read_dld_descriptor with readsyms.
(pa64_solib_in_dynamic_linker): Ditto.
* corelow.c (symfile.h): Need this for auto_solib_add declaration.
* sol-thread.c (symfile.h): Ditto.
Approved by eliz@is.elta.co.il
doc/ChangeLog entry:
2001-11-01 Fred Fish <fnf@redhat.com>
* gdbint.texinfo (SOLIB_ADD): Document additional new
"readsyms" arg.
ciceron [Thu, 1 Nov 2001 09:56:16 +0000 (09:56 +0000)]
* config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
for bra/bsr and use frag_variant(), this ensure that the possible
16-bit BFD_RELOC_16 will be in the same frag.
ciceron [Thu, 1 Nov 2001 09:52:02 +0000 (09:52 +0000)]
* gas/m68hc11/opers12.s: Add test for disassembler bug with movb
instruction.
* gas/m68hc11/opers12.d: Likewise.
* gas/m68hc11/opers12-dwarf2.d: Likewise.
ciceron [Thu, 1 Nov 2001 09:48:56 +0000 (09:48 +0000)]
* m68hc11-dis.c (print_insn): Fix disassembly of movb with a
constant as source.
amodra [Thu, 1 Nov 2001 05:35:09 +0000 (05:35 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
prediction bits.
dhoward [Thu, 1 Nov 2001 05:11:19 +0000 (05:11 +0000)]
Fixed formatting error.
cagney [Thu, 1 Nov 2001 02:53:05 +0000 (02:53 +0000)]
use xmalloc() and xfree().
cagney [Thu, 1 Nov 2001 02:37:56 +0000 (02:37 +0000)]
s/value_ptr/struct value */
cagney [Thu, 1 Nov 2001 02:22:21 +0000 (02:22 +0000)]
Re-indent.
cgd [Thu, 1 Nov 2001 01:33:44 +0000 (01:33 +0000)]
[ bfd/ChangeLog ]
2001-10-31 Chris Demetriou <cgd@demetriou.com>
* elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative
relocations properly.
[ gas/ChangeLog ]
2001-10-31 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
PIC code, assume pointers the same size as GPRs.
(macro): In M_LA_AB handling for embedded PIC code, support
"la $treg,foo-bar($breg)". In load/store handling
(label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
which is used by the compiler for switch statements.
In load/store double multi-instruction macro handling
(label ldd_std) add a comment that no special handling
is currently done for embedded PIC.
(mips_ip): In 'o' (16-bit offset) case, only accept 16
bit offsets.
[ gas/testsuite/ChangeLog ]
2001-10-31 Chris Demetriou <cgd@broadcom.com>
* gas/mips/empic.s: Undo damage inflicted on 2000-12-02.
* gas/mips/empic.d: Likewise.
* gas/mips/elempic.d: Likewise (it was copied into other files).
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/empic2.s: New test to check new 'la' and 'lw' (and
related ops) syntax, test loads with large offsets.
* gas/mips/emcic2.d: Likewise.
* gas/mips/mips.exp: Run the new test on ELF platforms.
cagney [Thu, 1 Nov 2001 01:21:34 +0000 (01:21 +0000)]
s/value_ptr/struct value */
cagney [Thu, 1 Nov 2001 01:07:34 +0000 (01:07 +0000)]
value_ptr tweeks.
gdbadmin [Thu, 1 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
vmakarov [Wed, 31 Oct 2001 23:27:52 +0000 (23:27 +0000)]
2001-10-26 Vladimir Makarov <vmakarov@redhat.com>
* gloss.h (gloss32::do_sys_unlink): New function.
* gloss.cxx (gloss32::syscall_trap): Add processing SYS_unlink.
(gloss32::do_sys_unlink): New function.
(gloss32::do_sys_exit): Add breaks after each case.
(gloss32::do_sys_lseek): Set up correct results.
corinna [Wed, 31 Oct 2001 23:21:32 +0000 (23:21 +0000)]
* arch-utils.c (generic_in_solib_call_trampoline): New function.
* arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
* gdbarch.c: Regenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
amodra [Wed, 31 Oct 2001 23:00:35 +0000 (23:00 +0000)]
daily update
cagney [Wed, 31 Oct 2001 22:57:46 +0000 (22:57 +0000)]
From DJ Barrow.
* s390-tdep.c: (s390_gdbarch_init): Don't initialize
find_solib_trampoline_target.
cagney [Wed, 31 Oct 2001 22:29:20 +0000 (22:29 +0000)]
* remote-vx.c (net_wait): Fix typo from PIDGET change.
kettenis [Wed, 31 Oct 2001 22:24:05 +0000 (22:24 +0000)]
* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): New define.
(i386_register_name): New prototype.
* i386-tdep.c (i386_register_names): New variable.
(i386_register_name): New function.
* config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
REGISTER_NAMES.
corinna [Wed, 31 Oct 2001 20:59:21 +0000 (20:59 +0000)]
* gdb.base/miscexprs.c (main): Add usage of preprocessor
symbol `STORAGE' to allow to choose the storage class of
the local datastructures.
* gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
compiler directive.
jjohnstn [Wed, 31 Oct 2001 19:26:12 +0000 (19:26 +0000)]
2001-10-31 Jeff Johnston <jjohnstn@redhat.com>
* m32r/Makefile.in: Use gdb stub set by configure.
* m32r/configure.in: Add a special macro for testing
c compiler without building executable. Add setting of
GDBSTUB.
* m32r/configure: Regenerated.
dhoward [Wed, 31 Oct 2001 19:20:43 +0000 (19:20 +0000)]
2001-10-30 Don Howard <dhoward@redhat.com>
* gdb.texinfo: (Command Files) Added documentation for the
behavior of gdb with input redirected from a file.
jjohnstn [Wed, 31 Oct 2001 19:19:07 +0000 (19:19 +0000)]
2001-10-31 David Howells <dhowells@redhat.com>
* syscall.h: Added SYS_times, SYS_gettimeofday, SYS_link values.
* mn10300/times.c: Renamed "times" to "_times" so that it can be
referenced by newlib.
* mn10300/cygmon.c: New file.
* mn10300/crt0_redboot.S: Ditto.
* mn10300/crt0_cygmon.S: Ditto.
* mn10300/Makefile.in: Added RedBoot and Cygmon support.
* mn10300/configure.in: Changed to allow for future
evaluation boards to be added.
* mn10300/configure: Regenerated.
cgf [Wed, 31 Oct 2001 19:05:33 +0000 (19:05 +0000)]
* win32-nat.c (register_loaded_dll): Attempt to ensure that the case of the
loaded DLL matches the on-disk case since the debugging API does not seem to
ensure this. Calculate max name length here.
(handle_load_dll): Move max name length calculation to register_loaded_dll.