OSDN Git Service
nickc [Mon, 24 Feb 2003 16:20:28 +0000 (16:20 +0000)]
(nm --size-sort): Update description.
amodra [Mon, 24 Feb 2003 04:50:04 +0000 (04:50 +0000)]
* elflink.c (_bfd_elf_create_got_section): Check existing .got
section flags before concluding that we've already been called.
Don't use register keyword.
(_bfd_elf_create_dynamic_sections): Don't use register keyword.
(_bfd_elf_create_linker_section): Formatting.
gdbadmin [Mon, 24 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 23 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Sun, 23 Feb 2003 22:19:48 +0000 (22:19 +0000)]
* gdb.texinfo (Cygwin Native): Links to Non-debug DLL symbols.
(Non-debug DLL symbols): New node, describing the minimal symbols loaded from
DLLs without real debugging symbols.
ciceron [Sun, 23 Feb 2003 22:11:07 +0000 (22:11 +0000)]
* lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
ciceron [Sun, 23 Feb 2003 20:24:16 +0000 (20:24 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
cgd [Sun, 23 Feb 2003 19:52:49 +0000 (19:52 +0000)]
2003-02-23 Elias Athanasopoulos <elathan@phys.uoa.gr>
* mips-dis.c (print_mips_disassembler_options): Make 'i' unsigned,
use ARRAY_SIZE in loops.
phumblet [Sun, 23 Feb 2003 19:12:55 +0000 (19:12 +0000)]
2003-02-23 Pierre Humblet <pierre.humblet@ieee.org>
* syslog.cc (syslog): Do not unlock the file before closing it
and remove debug_printf about stream errors.
dannysmith [Sun, 23 Feb 2003 08:31:37 +0000 (08:31 +0000)]
2003-02-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (EVENTLOG_SUCCESS): Add define.
Thanks to: Thomas Weber <thomasweber@sourceforge.net>
gdbadmin [Sun, 23 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sat, 22 Feb 2003 23:03:26 +0000 (23:03 +0000)]
whitespace
cgf [Sat, 22 Feb 2003 23:02:15 +0000 (23:02 +0000)]
* cygmalloc.h: Remove MORECORE_CANNOT_TRIM. It's not true. # cygwin.din:
Export mallinfo. # malloc_wrapper.cc (mallinfo): New function.
amodra [Sat, 22 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Sat, 22 Feb 2003 19:35:03 +0000 (19:35 +0000)]
* syslog.cc (syslog): Do not print the Windows pid. Print the Cygwin pid as an
unsigned decimal. On Win95 print a timestamp and attempt to lock the file up
to four times in 3 ms.
dj [Sat, 22 Feb 2003 17:08:33 +0000 (17:08 +0000)]
merge from gcc
ciceron [Sat, 22 Feb 2003 15:59:48 +0000 (15:59 +0000)]
* m68hc11-tdep.c (m68hc11_init_reggroups): New function.
(m68hc11_add_reggroups): New function.
(m68hc11_register_reggroup_p): New to register hard/soft reggroups.
(m68hc11_gdbarch_init): Install the reggroups.
(_initialize_m68hc11_tdep): Initialize them.
dannysmith [Sat, 22 Feb 2003 11:32:29 +0000 (11:32 +0000)]
2003-02-22 Roland Schwingel <roland.schwingel@onevision.de>
* include/wingdi.h (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto
* lib/gdi32.def (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto.
dannysmith [Sat, 22 Feb 2003 10:43:45 +0000 (10:43 +0000)]
2003-02-22 Bang Jun-Young <junyoung@netbsd.org>
* lib/ntdll.def (NT*, RTL*, ZW*): Add missing exports.
(NtCurrentTeb): Remove.
dannysmith [Sat, 22 Feb 2003 10:21:39 +0000 (10:21 +0000)]
* include/wsahelp.h: Remove ';' after closing
#ifdef __cplusplus brace.
* include/ws2spi.h: Likewise.
dannysmith [Sat, 22 Feb 2003 10:16:22 +0000 (10:16 +0000)]
* include/winbase.h (MEMORYSTATUSEX): Add structure.
(GlobalMemoryStatusEx): Add prototype.
* lib/kernel32.def (GlobalMemoryStatusEx): Add stub.
wilson [Sat, 22 Feb 2003 00:24:11 +0000 (00:24 +0000)]
Update my email address.
wilson [Sat, 22 Feb 2003 00:16:29 +0000 (00:16 +0000)]
Update my address.
gdbadmin [Sat, 22 Feb 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 21 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
dj [Fri, 21 Feb 2003 22:12:50 +0000 (22:12 +0000)]
merge from gcc
earnie [Fri, 21 Feb 2003 21:12:29 +0000 (21:12 +0000)]
Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
this patch.
* Makefile.in (libmsvcrtd.a): Add target library.
(libmoldnamed.a): Ditto.
(msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
template to create.
($(srcdir)): Remove explicit reference for depencies of object targets.
* moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
msvcrt20.def, msvcrt40.def: Remove.
* msvcrt.def.in: New file (Copy of previous msvcrt.def).
davidsb [Fri, 21 Feb 2003 20:37:47 +0000 (20:37 +0000)]
various updates to setup entries. Stronger emphasis to use setup, and only setup.
(no more "work in progres ... ")
davidsb [Fri, 21 Feb 2003 20:13:55 +0000 (20:13 +0000)]
new link to "How To Ask Questions The Smart Way" by Eric S. Raymond, added to Posting Guidelines entry
amylaar [Fri, 21 Feb 2003 20:05:41 +0000 (20:05 +0000)]
cgen:
* cpu/sh64-media.cpu (make-mextr): Fix setting of count.
sim/sh64:
* sem-media-switch.c, sem-media.c: Regenerate.
davidsb [Fri, 21 Feb 2003 20:00:54 +0000 (20:00 +0000)]
remove tired subtitle "(Not completely updated for the latest net release, but still useful!)"
nickc [Fri, 21 Feb 2003 19:05:01 +0000 (19:05 +0000)]
Update Maverick tests.
Contribute test generator.
dj [Fri, 21 Feb 2003 17:33:57 +0000 (17:33 +0000)]
merge from gcc
tromey [Fri, 21 Feb 2003 17:26:28 +0000 (17:26 +0000)]
* generic/gdbtk-interp.c (gdbtk_interpreter_init): Declare locals
before code.
carlton [Fri, 21 Feb 2003 17:17:31 +0000 (17:17 +0000)]
2003-02-21 David Carlton <carlton@math.stanford.edu>
* arm-tdep.c (arm_gdbarch_init): Add break after default label.
drow [Fri, 21 Feb 2003 15:24:16 +0000 (15:24 +0000)]
Based on a patch from Daniel Berlin (dberlin@dberlin.org).
* symtab.h: Add opaque declarations of struct axs_value and
struct agent_expr.
(enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
(struct location_funcs): New type.
(struct symbol): Add "loc" to aux_value.
(SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
* dwarf2read.c: Include "dwarf2expr.h".
(dwarf2_symbol_mark_computed): New function.
(read_func_scope): Use it.
(var_decode_location): New function.
(new_symbol): Use it.
* dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
* Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
(dwarf2expr_h, dwarf2loc_h): New variables.
(COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
(dwarf2expr.o, dwarf2loc.o): New rules.
(dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
* buildsym.c (finish_block): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* printcmd.c (address_info, print_frame_args): Likewise.
* stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* ada-lang.c (ada_resolve_subexp, symtab_for_sym)
(ada_add_block_symbols, fill_in_ada_prototype): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
drow [Fri, 21 Feb 2003 15:23:51 +0000 (15:23 +0000)]
* generic/gdbtk-stack.c (gdb_get_blocks, gdb_block_vars)
(gdb_get_vars_command): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
drow [Fri, 21 Feb 2003 15:23:35 +0000 (15:23 +0000)]
* mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
corinna [Fri, 21 Feb 2003 14:59:35 +0000 (14:59 +0000)]
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Fix compiler
warning.
(fhandler_socket::fstat): Simplify. Set st_uid/st_gid to effective
uid/gid of current process in case of open sockets.
corinna [Fri, 21 Feb 2003 14:29:17 +0000 (14:29 +0000)]
* dtable.cc (dtable::build_fhandler_from_name): Set some fhandler
data on sockets to evaluate AF_LOCAL sockets correctly.
(dtable::build_fhandler): Set unit number on sockets.
* fhandler.h (fhandler_socket): Add unit number.
(fhandler_socket::get_unit): New method.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Set unit
number.
(fhandler_socket::fstat): Reorganize to return more Linux-like
values.
* net.cc: include ctype.h.
(fdsock): Set unit number when building fhandler.
* path.cc (path_conv::check): Set device type to FH_SOCKET if file
is a AF_UNIX socket.
(get_devn): Evaluate unit for virtual socket devices.
(win32_device_name): Set windows path for sockets to unix_path with
just backslashes to keep the different names.
* syscalls.cc (fstat64): Don't override st_ino, st_dev and st_rdev
for sockets.
(stat_worker): Ditto.
From Pierre Humblet:
* autoload.cc (AccessCheck): Add.
(DuplicateToken): Add.
* security.h (check_file_access): Declare.
* syscalls.cc (access): Convert path to Windows, check existence
and readonly attribute. Call check_file_access instead of acl_access.
* security.cc (check_file_access): Create.
* sec_acl (acl_access): Delete.
nickc [Fri, 21 Feb 2003 12:42:56 +0000 (12:42 +0000)]
Check for a NULL sentinel value before using it.
nickc [Fri, 21 Feb 2003 12:33:33 +0000 (12:33 +0000)]
Add v850e debug registers.
nickc [Fri, 21 Feb 2003 12:17:51 +0000 (12:17 +0000)]
Add SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG and SHT_IA_64_PRIORITY_INIT.
Add code to display these values in readelf.
nickc [Fri, 21 Feb 2003 11:36:59 +0000 (11:36 +0000)]
(ldmac, stmac): Replace MACREG with MS32 and MD32.
nickc [Fri, 21 Feb 2003 10:51:24 +0000 (10:51 +0000)]
Disable region size checking whilst relaxing sections.
nickc [Fri, 21 Feb 2003 10:35:07 +0000 (10:35 +0000)]
Applied Bob Wilson's documentation fixes.
nickc [Fri, 21 Feb 2003 10:30:34 +0000 (10:30 +0000)]
Apply Bob Wilson's documenation clean up patch
rsandifo [Fri, 21 Feb 2003 10:28:26 +0000 (10:28 +0000)]
* config/tc-mips.c (prev_reloc_op_frag): New variable.
(macro): Check it to decide whether a new frag is needed.
(my_getSmallExpression): Set it.
nickc [Fri, 21 Feb 2003 10:27:06 +0000 (10:27 +0000)]
Apply Bob Wilson's linker documenation clean ups.
cgf [Fri, 21 Feb 2003 04:33:52 +0000 (04:33 +0000)]
* fhandler.cc (fhandler_base::open): Move some filesystem specific stuff.
(fhandler_disk_file::open): Accept some filesystem specific stuff.
* sigproc.cc (wait_for_sigthread): Become slightly more thread safe.
(sig_send): Don't assume that signal thread is ready.
fedor [Fri, 21 Feb 2003 03:00:26 +0000 (03:00 +0000)]
* symtab.h: Remove objc_specific struct
(SYMBOL_OBJC_DEMANGLED_NAME): Remove.
* symtab.c (symbol_init_language_specific, symbol_demangled_name):
Have language_objc use cplus_specific struct.
tromey [Fri, 21 Feb 2003 02:49:12 +0000 (02:49 +0000)]
* jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
TYPE_NAME, when printing a String value. PR java/1075.
fedor [Fri, 21 Feb 2003 02:45:50 +0000 (02:45 +0000)]
objc-lang.h (find_methods): Remove declaration.
fedor [Fri, 21 Feb 2003 02:43:01 +0000 (02:43 +0000)]
objc-lang.c (find_methods): Make static.
cgf [Fri, 21 Feb 2003 02:29:17 +0000 (02:29 +0000)]
* win32-nat.c (get_image_name): Check return value from ReadProcessMemory.
(child_xfer_memory): Ditto.
dj [Fri, 21 Feb 2003 01:55:12 +0000 (01:55 +0000)]
* Makefile.tpl: Add definition of CPPFLAGS to pass into
configure-target-* as some target builds may require additional
flags for preprocessor tests.
* Makefile.in: Regenerated.
dj [Fri, 21 Feb 2003 01:35:25 +0000 (01:35 +0000)]
merge from gcc
amodra [Fri, 21 Feb 2003 01:12:13 +0000 (01:12 +0000)]
* objcopy.c (filter_symbols): Fix compilation problems with
HP-UX's C compiler.
gdbadmin [Fri, 21 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
aoliva [Thu, 20 Feb 2003 23:38:49 +0000 (23:38 +0000)]
* configure.in (TARGET_SYSTEM_ROOT): Set default to
${exec_prefix}/${target_alias}/sys-root. Match explicit
'${exec_prefix}' (in addition to the expansion thereof) as
relocatable.
* configure: Rebuilt.
aoliva [Thu, 20 Feb 2003 23:38:48 +0000 (23:38 +0000)]
* configure.in (TARGET_SYSTEM_ROOT): Set default to
${exec_prefix}/${target_alias}/sys-root. Match explicit
'${exec_prefix}' (in addition to the expansion thereof) as
relocatable.
* configure: Rebuilt.
amodra [Thu, 20 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
drow [Thu, 20 Feb 2003 22:14:18 +0000 (22:14 +0000)]
* Makefile.in (CFILES): Add lrealpath.c.
(REQUIRED_OFILES): Add lrealpath.o.
(lrealpath.o): Add rule.
* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
* configure.in: Add realpath and canonicalize_file_name to
checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
for canonicalize_file_name.
* lrealpath.c: New file.
* make-relative-prefix.c: Update documentation.
(make_relative_prefix): Simplify. Use lbasename and lrealpath.
* config.in: Regenerated.
* configure: Regenerated.
* functions.texi: Regenerated.
drow [Thu, 20 Feb 2003 22:13:49 +0000 (22:13 +0000)]
* Makefile.in (CFILES): Add lrealpath.c.
(REQUIRED_OFILES): Add lrealpath.o.
(lrealpath.o): Add rule.
* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
* configure.in: Add realpath and canonicalize_file_name to
checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
for canonicalize_file_name.
* lrealpath.c: New file.
* make-relative-prefix.c: Update documentation.
(make_relative_prefix): Simplify. Use lbasename and lrealpath.
* config.in: Regenerated.
* configure: Regenerated.
* functions.texi: Regenerated.
drow [Thu, 20 Feb 2003 22:13:32 +0000 (22:13 +0000)]
* Makefile.in (CFILES): Add lrealpath.c.
(REQUIRED_OFILES): Add lrealpath.o.
(lrealpath.o): Add rule.
* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
* configure.in: Add realpath and canonicalize_file_name to
checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
for canonicalize_file_name.
* lrealpath.c: New file.
* make-relative-prefix.c: Update documentation.
(make_relative_prefix): Simplify. Use lbasename and lrealpath.
* config.in: Regenerated.
* configure: Regenerated.
* functions.texi: Regenerated.
drow [Thu, 20 Feb 2003 22:13:09 +0000 (22:13 +0000)]
* libiberty.h (lrealpath): Add declaration.
carlton [Thu, 20 Feb 2003 22:07:37 +0000 (22:07 +0000)]
2003-02-20 David Carlton <carlton@math.stanford.edu>
* symtab.c (search_symbols): Revert the search_symbols part of my
2002-12-23 patch. Add comment.
brobecke [Thu, 20 Feb 2003 21:33:05 +0000 (21:33 +0000)]
Fix a small typo in one of the filenames.
dj [Thu, 20 Feb 2003 21:05:37 +0000 (21:05 +0000)]
merge from gcc
nickc [Thu, 20 Feb 2003 19:14:11 +0000 (19:14 +0000)]
Add support for Cirrus Maverick ARM co-processor
nickc [Thu, 20 Feb 2003 18:59:31 +0000 (18:59 +0000)]
Fix typo: intial -> initial.
drow [Thu, 20 Feb 2003 18:31:13 +0000 (18:31 +0000)]
* coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
* dbxread.c (elfstab_build_psymtabs): Don't call
install_minimal_symbols.
(stabsect_build_psymtabs): Likewise.
* elfread.c (elf_symfile_read): Call install_minimal_symbols
earlier.
* somread.c (som_symfile_read): Call install_minimal_symbols
and do_cleanups earlier.
* nlmread.c (nlm_symfile_read): Likewise.
* mdebugread.c (elfmdebug_build_psymtabs): Call
install_minimal_symbols and make appropriate cleanups.
kevinb [Thu, 20 Feb 2003 18:25:27 +0000 (18:25 +0000)]
* solib.c (reload_shared_libraries): New function.
(_initialize_solib): Add callbacks for ``set solib-search-path''
and ``set solib-absolute-prefix''.
kseitz [Thu, 20 Feb 2003 17:55:37 +0000 (17:55 +0000)]
* generic/gdbtk-cmds.c (gdb_search): Change SYMBOL_SOURCE_NAME
to SYMBOL_PRINT_NAME to track recent changes in gdb.
carlton [Thu, 20 Feb 2003 17:17:22 +0000 (17:17 +0000)]
2003-02-20 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
expand comment.
* ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
* ada-typeprint.c (ada_typedef_print): Ditto.
* ax-gdb.c (gen_var_ref): Ditto.
* breakpoint.c (print_one_breakpoint): Ditto.
* buildsym.c (finish_block): Ditto.
* c-valprint.c (c_val_print): Ditto.
* expprint.c (print_subexp): Ditto.
* findvar.c (locate_var_value): Ditto.
* infcmd.c (jump_command): Ditto.
* linespec.c (decode_line_2, decode_compound): Ditto.
* maint.c (maintenance_translate_address): Ditto.
* objc-lang.c (compare_selectors, compare_classes): Ditto.
* printcmd.c (build_address_symbolic, sym_info, print_frame_args):
Ditto.
* p-valprint.c (pascal_val_print): Ditto.
* stabsread.c (define_symbol): Ditto.
* stack.c (print_frame, frame_info, print_block_frame_locals)
(print_frame_arg_vars, return_command): Ditto.
* symfile.c (compare_symbols, compare_psymbols): Ditto.
* symmisc.c (print_symbol): Ditto.
* symtab.c (lookup_partial_symbol, lookup_block_symbol)
(compare_search_syms, print_symbol_info, print_msymbol_info)
(rbreak_command): Ditto.
* tracepoint.c (tracepoints_info): Ditto.
* typeprint.c (typedef_print): Ditto.
* valops.c (value_of_variable, hand_function_call): Ditto.
* cli/cli-cmds.c (edit_command, list_command): Ditto.
* ada-typeprint.c: Update Copyright.
* infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
* tracepoint.c, cli/cli-cmds.c: Ditto.
kevinb [Thu, 20 Feb 2003 16:35:50 +0000 (16:35 +0000)]
* frame.c (generic_unwind_get_saved_register): Make non-static.
* frame.h (generic_unwind_get_saved_register): Declare.
* mips-tdep.c (read_next_frame_reg): Fetch register from
current regcache when frame is NULL.
(mips_init_extra_frame_info): Pass NULL explicitly for parameter
that must be NULL.
(mips_get_saved_register): Call generic_unwind_get_saved_register()
instead of frame_register_unwind().
corinna [Thu, 20 Feb 2003 15:58:55 +0000 (15:58 +0000)]
* wincap.h (wincap): Remove unnecessary definition of
supports_sparse_files.
* wincap.cc: Ditto.
cagney [Thu, 20 Feb 2003 14:37:57 +0000 (14:37 +0000)]
Index: include/gdb/ChangeLog
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* remote-sim.c (gdbsim_insert_breakpoint)
(gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
code.
Index: include/gdb/ChangeLog
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* remote-sim.h (SIM_RC): Delete unused SIM_RC_UNKNOWN_BREAKPOINT,
SIM_RC_INSUFFICIENT_RESOURCES and SIM_RC_DUPLICATE_BREAKPOINT.
(sim_set_breakpoint, sim_clear_breakpoint): Delete declarations.
(sim_clear_all_breakpoints, sim_enable_breakpoint): Ditto.
(sim_enable_all_breakpoints, sim_disable_breakpoint): Ditto.
(sim_disable_all_breakpoints): Ditto.
Index: sim/common/ChangeLog
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o
(sim-break_h): Delete macro.
(sim-break.o): Delete rule.
* sim-break.c: Delete file.
* sim-break.h: Delete file.
* sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h".
(STATE_BREAKPOINTS): Delete macro.
(sim_state_base): Delete field breakpoints.
* sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add
sim_break_install to array.
corinna [Thu, 20 Feb 2003 14:14:36 +0000 (14:14 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Check descriptor
created by cygheap_fdnew constructor.
* fhandler_virtual.cc (fhandler_virtual::opendir): Ditto.
* fhandler_socket.cc (fhandler_socket::accept): Ditto and move
creation of file descriptor behind blocking OS call.
* net.cc (cygwin_socket): Ditto.
(cygwin_rcmd): Ditto.
(cygwin_rresvport): Ditto.
(cygwin_rexec): Ditto.
(socketpair): Ditto.
cagney [Thu, 20 Feb 2003 13:43:13 +0000 (13:43 +0000)]
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* remote.c (_initialize_remote): Add commands "set/show remote
hardware-watchpoint-limit" and "set/show remote
hardware-breakpoint-limit".
(remote_hw_watchpoint_limit): Initialize to -1.
(remote_hw_breakpoint_limit): Ditto.
(remote_check_watch_resources): Treat a limit of -1 as unlimited.
Index: doc/ChangeLog
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* gdb.texinfo (Set Breaks): Add cross reference to "set remote
hardware-breakpoint-limit".
(Set Watchpoints): Add cross reference to "set remote
hardware-watchpoint-limit".
(Remote configuration options): New section.
muller [Thu, 20 Feb 2003 12:12:33 +0000 (12:12 +0000)]
2003-02-20 Pierre Muller <muller@ics.u-strasbg.fr>
* generic/gdbtk-cmds.c: Add missing "block.h" include.
generic/gdbtk-stack.c: Ditto.
generic/gdbtk-wrapper.c: Ditto.
corinna [Thu, 20 Feb 2003 11:22:16 +0000 (11:22 +0000)]
* winsup.api/crlf.c: Fix C signed/unsigned compare warning.
* winsup.api/mmaptest01.c: Ditto.
* winsup.api/ltp/chmod01.c: Ditto.
* winsup.api/ltp/fork04.c: Ditto.
* winsup.api/ltp/lseek03.c: Ditto.
* winsup.api/ltp/lseek06.c: Ditto.
* winsup.api/ltp/lseek07.c: Ditto.
* winsup.api/ltp/lseek08.c: Ditto.
* winsup.api/ltp/mmap001.c: Ditto.
* winsup.api/ltp/mmap02.c: Ditto.
* winsup.api/ltp/mmap03.c: Ditto.
* winsup.api/ltp/mmap04.c: Ditto.
* winsup.api/ltp/mmap05.c: Ditto.
* winsup.api/ltp/mmap06.c: Ditto.
* winsup.api/ltp/mmap07.c: Ditto.
* winsup.api/ltp/mmap08.c: Ditto.
* winsup.api/ltp/pipe11.c: Ditto.
* winsup.api/ltp/poll01.c: Ditto.
* winsup.api/ltp/sync02.c: Ditto.
* winsup.api/ltp/times03.c: Ditto.
* winsup.api/ltp/umask03.c: Ditto.
* winsup.api/ltp/getpgid01.c: Remove unused obsolete include.
* winsup.api/ltp/getpgid02.c: Ditto.
corinna [Thu, 20 Feb 2003 11:12:44 +0000 (11:12 +0000)]
* autoload.cc (GetCompressedFileSize): Add.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Compute
st_blocks value from GetCompressedFileSize() if available.
corinna [Thu, 20 Feb 2003 10:14:51 +0000 (10:14 +0000)]
w32api:
* include/winioctl.h (FSCTL_SET_SPARSE): Define.
cygwin:
* wincap.h (wincaps::supports_sparse_files): New flag.
(wincapc::supports_sparse_files): New method.
* wincap.cc (wincap_unknown): Define value for the new flag.
(wincap_95): Ditto.
(wincap_95osr2): Ditto.
(wincap_98): Ditto.
(wincap_98se): Ditto.
(wincap_me): Ditto.
(wincap_nt3): Ditto.
(wincap_nt4): Ditto.
(wincap_nt4sp4): Ditto.
(wincap_2000): Ditto.
(wincap_xp): Ditto.
* path.h (path_conv::fs_flags): New method.
* fhandler_disk_file.cc: Include winioctl.h for DeviceIoControl.
(fhandler_disk_file::open): Set newly created and truncated files as
sparse on platforms that support it.
corinna [Thu, 20 Feb 2003 10:12:14 +0000 (10:12 +0000)]
* Makefile.in: Make sure libmingwex.a from current build tree is used.
amodra [Thu, 20 Feb 2003 09:10:18 +0000 (09:10 +0000)]
* elf32-ppc.c: Formatting.
(allocate_dynrelocs): LD and GD relocs against the same sym need
separate GOT entries.
(ppc_elf_relocate_section): Correct GOT handling for multiple GOT
entries per symbol.
aoliva [Thu, 20 Feb 2003 09:08:42 +0000 (09:08 +0000)]
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
config.status.
* configure: Rebuilt.
cgf [Thu, 20 Feb 2003 03:31:41 +0000 (03:31 +0000)]
* rclex.l (handle_quotes): Fix minor formatting problems introduced in previous
change.
cgf [Thu, 20 Feb 2003 03:28:55 +0000 (03:28 +0000)]
* rclex.l: Handle strings spanning more than one line.
cgf [Thu, 20 Feb 2003 03:12:46 +0000 (03:12 +0000)]
* coff-pe-read.c: New file - support reading of minimal symbols from a portable
executable using the export table.
* coff-pe-read.h: New file.
* coffread.c: Include coff-pe-read.h.
(coff_symtab_read): Call read_pe_exported_syms iff no recognized debugging
symbols found.
* Makefile.in (SFILES): Add coff-pe-read.o.
(coff_pe_read_h): Define.
(COMMON_OBS): Add coff-pe-read.o.
(coffread.o): Add coff_pe_read_h dependency.
(coff-pe-read.o): New target.
aoliva [Thu, 20 Feb 2003 02:09:58 +0000 (02:09 +0000)]
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* ltconfig: Handle it.
* ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of
auto-detecting it.
aoliva [Thu, 20 Feb 2003 01:12:28 +0000 (01:12 +0000)]
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* ltconfig: Handle it.
* ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of
auto-detecting it.
amodra [Thu, 20 Feb 2003 01:02:38 +0000 (01:02 +0000)]
* ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
* ldgram.y (vers_defns): Allow optional trailing semicolon in
EXTERN NAME block;
carlton [Thu, 20 Feb 2003 00:01:03 +0000 (00:01 +0000)]
2003-02-19 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add block.c.
(block_h): New.
(COMMON_OBS): Add block.o.
(block.o): New.
(x86-64-tdep.o): Add $(block_h).
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
* value.h: Add opaque declaration for struct block.
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
* ada-lang.h: Ditto.
* x86-64-tdep.c: #include "block.h"
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
* symtab.c (block_function): Ditto.
(contained_in): Ditto.
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
block.h. Add opaque declaration for struct block.
* symtab.h: Move block_function and contained_in declarations to
block.h. Add opaque declarations for struct block, struct
blockvector.
(struct block): Move to block.h.
(struct blockvector): Ditto.
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
Ditto.
* block.c: New file.
* block.h: New file.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"
gdbadmin [Thu, 20 Feb 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
aoliva [Wed, 19 Feb 2003 23:51:28 +0000 (23:51 +0000)]
* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
it is used as argument to $CC.
* ltcf-gcj.sh: Likewise.
aoliva [Wed, 19 Feb 2003 23:51:03 +0000 (23:51 +0000)]
* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.
aoliva [Wed, 19 Feb 2003 23:40:12 +0000 (23:40 +0000)]
* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.
cagney [Wed, 19 Feb 2003 23:32:19 +0000 (23:32 +0000)]
2003-02-19 Andrew Cagney <
ac131313@redhat.com>
* configure: Regenerate using autoconf 2.13.
amodra [Wed, 19 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update