OSDN Git Service
cagney [Mon, 15 May 2000 03:16:14 +0000 (03:16 +0000)]
Use make_cleanup_ui_out_stream_delete().
amodra [Mon, 15 May 2000 02:17:52 +0000 (02:17 +0000)]
Update printed copyright.
cagney [Mon, 15 May 2000 01:44:39 +0000 (01:44 +0000)]
Fix IRIX cc warnings. Fix ui_out functions that didn't return a value.
pb [Sun, 14 May 2000 18:53:18 +0000 (18:53 +0000)]
Apply David O'Brien's comment patch.
pb [Sun, 14 May 2000 18:49:34 +0000 (18:49 +0000)]
Support ARM ELF defaulting to big endian
hjl [Sun, 14 May 2000 17:13:16 +0000 (17:13 +0000)]
2000-05-14 H.J. Lu (hjl@gnu.org)
* objcopy.c (filter_symbols): Don't strip global symbols in
relocatable object files.
amodra [Sun, 14 May 2000 11:48:41 +0000 (11:48 +0000)]
Kazu Hirata's output reloc for mov.
Don't rely on short being 16 bits.
amodra [Sun, 14 May 2000 10:40:48 +0000 (10:40 +0000)]
Accept and ignore -f command line option.
Improve usage message.
amodra [Sun, 14 May 2000 09:37:07 +0000 (09:37 +0000)]
New file
khan [Sun, 14 May 2000 01:01:22 +0000 (01:01 +0000)]
2000-05-13 Mumit Khan <khan@xraylith.wisc.edu>
* include/cygwin/socket.h (AF_INET6): Use same value as winsock2.
hjl [Sat, 13 May 2000 21:19:50 +0000 (21:19 +0000)]
2000-05-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* ltmain.sh: Preserve in relink_command any environment
variables that may affect the linker behavior.
hjl [Sat, 13 May 2000 16:54:32 +0000 (16:54 +0000)]
2000-05-13 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/elf-offset.ld: New. ELF visibility fearture
tests.
* ld-elfvsb/elfvsb.dat: Likewise.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-elfvsb/main.c: Likewise.
* ld-elfvsb/sh1.c: Likewise.
* ld-elfvsb/sh2.c: Likewise.
amodra [Sat, 13 May 2000 14:01:53 +0000 (14:01 +0000)]
Fix cpu_flags for sys{enter,exit} fx{save,restore}
amodra [Sat, 13 May 2000 13:05:35 +0000 (13:05 +0000)]
Quell some gcc warnings by defining textdomain and bindtextdomain
as intl/libgettext.h does.
amodra [Sat, 13 May 2000 12:49:55 +0000 (12:49 +0000)]
Add x86 gas -q option to quiet some x86 gas warnings.
Remove useless -m flag_do_long_jump from x86 gas.
If BFD_ASSEMBLER, store --defsym value in a bfd_vma, and use scan_bfd_vma.
amodra [Sat, 13 May 2000 09:26:22 +0000 (09:26 +0000)]
`.arch cpu_type' pseudo for x86.
hjl [Sat, 13 May 2000 06:38:34 +0000 (06:38 +0000)]
2000-05-12 H.J. Lu <hjl@gnu.org>
* nlmconv.c (temp_filename): Removed.
* nlmconv.c (link_inputs): Use make_temp_file () instead of
choose_temp_base ().
* objdump.c (display_target_list): Likewise.
(display_info_table): Likewise.
khan [Sat, 13 May 2000 02:01:51 +0000 (02:01 +0000)]
2000-05-12 Mumit Khan <khan@xraylith.wisc.edu>
* include/cygwin/in.h (struct in6_addr): Fix spelling.
* include/cygwin/socket.h (AF_INET6, PF_INET6): Define macros.
(AF_MAX, PF_MAX): Bump to 32 to leave room for future expansion.
cgf [Sat, 13 May 2000 01:42:53 +0000 (01:42 +0000)]
* dcrt0.cc (build_argv): Remove unneeded variable.
* select.cc (peek_pipe): Don't check for "ready" if it's already set.
(peek_console): Ditto.
(peek_serial): Ditto.
(peek_socket): Ditto.
(peek_windows): Ditto.
kevinb [Sat, 13 May 2000 01:38:05 +0000 (01:38 +0000)]
For IA-64, allow ``finish'' to land on caller rather than on next executable
line after the caller.
kevinb [Sat, 13 May 2000 00:51:35 +0000 (00:51 +0000)]
Fix typo in sign extension code in dwarf2_const_value_data().
corinna [Fri, 12 May 2000 18:34:50 +0000 (18:34 +0000)]
* fhandler_raw.cc (write_file, read_file): New wrapper functions
for WriteFile and ReadFile to get rid of ERROR_MEDIA_CHANGED
and ERROR_BUS_RESET in case of first access to tape.
(fhandler_dev_raw::raw_write): Use write_file instead of WriteFile.
(fhandler_dev_raw::raw_read): Use read_file instead of ReadFile.
law [Fri, 12 May 2000 17:23:42 +0000 (17:23 +0000)]
* config.sub (basic_machine): Recognize hppa64 as a valid cpu type.
nickc [Fri, 12 May 2000 17:15:20 +0000 (17:15 +0000)]
Fix disassembly of DLRS{H|B} instruction
hjl [Fri, 12 May 2000 15:35:15 +0000 (15:35 +0000)]
Remove the erroneous ">>>>>>> 1.419".
cagney [Fri, 12 May 2000 10:50:50 +0000 (10:50 +0000)]
Mention UnixWare thread problem.
cagney [Fri, 12 May 2000 10:42:02 +0000 (10:42 +0000)]
Doc weak symbol problem.
cagney [Fri, 12 May 2000 10:30:32 +0000 (10:30 +0000)]
Add Stan to authors attempt two. Also add et.al.
cagney [Fri, 12 May 2000 10:23:54 +0000 (10:23 +0000)]
Add Andrew Cagney. Add Stan Shebs as an author.
cagney [Fri, 12 May 2000 10:15:16 +0000 (10:15 +0000)]
Update section on kernel debugging.
cagney [Fri, 12 May 2000 09:21:30 +0000 (09:21 +0000)]
Handle case of 32 ABI saving 32 bit registers on stack when target
has 64 bit ISA.
aoliva [Fri, 12 May 2000 06:16:30 +0000 (06:16 +0000)]
* config/tc-mn10300.h (md_end): Define.
(mn10300_finalize): Declare.
* config/tc-mn10300.c: Include dwarf2dbg.h.
(debug_line): Define.
(md_assemble): Generate dwarf2 line info.
(mn10300_finalize): New function. Finalize dwarf2 info.
amodra [Fri, 12 May 2000 06:07:04 +0000 (06:07 +0000)]
(bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
cgf [Fri, 12 May 2000 05:06:43 +0000 (05:06 +0000)]
* Makefile.in (DLL_OFILES): Sort.
* fhandler_tty.cc (fhandler_tty_slave::send_ioctl_request): Eliminate.
(fhandler_tty_slave::ioctl): Rewrite to avoid races.
cagney [Fri, 12 May 2000 04:51:22 +0000 (04:51 +0000)]
Fix tipo 32->64 in MIPS_EABI.
cagney [Fri, 12 May 2000 04:37:00 +0000 (04:37 +0000)]
Check -W options before using them.
amodra [Thu, 11 May 2000 23:24:27 +0000 (23:24 +0000)]
Restore some functionality removed by previous patch.
Tidy printing of bfd_vma's.
dj [Thu, 11 May 2000 22:30:45 +0000 (22:30 +0000)]
* mmap.cc (list::erase): Increment loop counter.
(map::erase): Likewise.
ezannoni [Thu, 11 May 2000 20:39:58 +0000 (20:39 +0000)]
2000-05-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* coffread.c (coff_symtab_read): In the case of C_THUMBEXT |
C_THUMBEXTFUNC | C_EXT, sec will never ever be the index for
.rodata, because cs_to_section doesn't deal with .rodata. Fix test
accordingly.
davidsb [Thu, 11 May 2000 16:19:21 +0000 (16:19 +0000)]
Preliminary update to FAQ to reflect latest net release.
(So far, just a new title, some minor updates, and a disclaimer in each
section that has to be updated for the net release, or at least looked at.)
dj [Thu, 11 May 2000 15:12:31 +0000 (15:12 +0000)]
* cygwin.din: insure that regsub() is included in
cygwin1.dll
cagney [Thu, 11 May 2000 11:49:20 +0000 (11:49 +0000)]
Only try to print a macro when it is defined (in gdbarch_dump).
cagney [Thu, 11 May 2000 07:55:25 +0000 (07:55 +0000)]
Update README file to 5.0.
amodra [Thu, 11 May 2000 07:10:19 +0000 (07:10 +0000)]
Don't mask top 32 bits of 64-bit address.
wilson [Thu, 11 May 2000 04:27:08 +0000 (04:27 +0000)]
Add toplevel configure support for ia64-elf.
* configure.in (ia64*-*-elf*): Add gdb and friends to noconfigdirs.
cagney [Thu, 11 May 2000 03:40:08 +0000 (03:40 +0000)]
Add preliminary support for IRIX's n32 abi to the MIPS's multi-arch code.
wilson [Thu, 11 May 2000 02:28:04 +0000 (02:28 +0000)]
Add minimal ia64 support.
* libc/include/machine/ieeefp.h: Add ia64 support.
* configure.host: Likewise.
amodra [Thu, 11 May 2000 01:55:11 +0000 (01:55 +0000)]
Ulf Carlsson's patches:
Include *-*-linux* in svr4pic tests
Test weak symbol handling.
amodra [Thu, 11 May 2000 01:48:08 +0000 (01:48 +0000)]
(md_estimate_size_before_relax): Use the external version of
the relocation for weak symbols.
ezannoni [Thu, 11 May 2000 00:36:17 +0000 (00:36 +0000)]
2000-05-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* solib.c (symbol_add_stub): Remember the index and the name of
the section with the lowest address. Use this data (instead of
data from .text) to pass info into symbol_file_add.
* elfread.c (record_minimal_symbol_and_info): Use the section
where the symbol lives to get the index, instead of guessing.
hjl [Wed, 10 May 2000 23:12:35 +0000 (23:12 +0000)]
2000-05-10 H.J. Lu <hjl@gnu.org>
* ldlang.c (open_input_bfds): Don't load the same file within
a group again if the whole archive has been loaded already.
msnyder [Wed, 10 May 2000 20:07:24 +0000 (20:07 +0000)]
2000-05-10 Michael Snyder <msnyder@seadog.cygnus.com>
Make Sparc a Multi-Arch target. Discard PARAMS macro (require ANSI).
* sparc-tdep.c: include arch-utils.h.
(SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REG NUM, SPARC_INTREG_SIZE,
DUMMY_REG_SAVE_OFFSET): provide multi-arch-compatible definitions.
(GDB_TARGET_IS_SPARC64): make into a runtime test.
(struct frame_extra_info): Define, use instead of the macro.
(Many places): Use alloca instead of statically allocated buffers
that depend on a multi-arch variable such as MAX_REGISTER_RAW_SIZE.
(sparc_extract_struct_value_address): Accept a pointer arg instead
of an array sized by REGISTER_BYTES.
(examine_prologue): Accept a pointer to an array of CORE_ADDR,
instead of the defunct struct frame_saved_regs. Recognize new
Sparc64 store instructions as part of the prologue. Ignore the
destination of a frame store when parsing the prologue (so long
as it's on the stack).
(sparc_push_dummy_frame): Fix incorrect buffer offset for PSTATE.
(sparc_frame_find_saved_regs): Accept a ptr to an array of CORE_ADDR
instead of the defunct struct frame_saved_regs.
(supply_gregset): Discard unnecessary 'zerobuf': just send NULL to
supply_register. Provide 4-byte offset to compensate for diff
between size of the prgreg_t elements on a 64-bit host and size
of the registers for a 32-bit target. Fill all inaccessible regs
with zero so they won't keep being requested again and again.
(fill_gregset): Handle 32/64 size difference between registers
and prgreg_t. Handle as many new 64-bit regs as possible.
(supply_fpregset, fill_fpregset): Attempt to handle 64-bit world.
(sparc_push_arguments): Rename to sparc32_push_arguments.
Copy arguments into registers as well as onto stack, so that the
CALL_DUMMY (code pushed onto the target stack) is not required.
(sparc_extract_return_value): Rename to sparc32_extract_return_value.
(sparc_store_return_value): Use memset instead of bzero.
Use write_register_gen instead of write_register_bytes.
(sparclet_store_return_value): New function.
(_initialize_sparc_tdep): Call register_gdbarch_init to activate
the gdbarch multi-architecture system.
(sp64_push_arguments): Rename to sparc64_push_arguments.
Extend to store arguments in general registers as well as on stack.
(sparc64_extract_return_value): Rename to sp64_extract_return_value.
Use as a private function, to be called by the new external function
sparc64_extract_return_value.
(sparclet_extract_return_value): New function.
(sparc32_stack_align, sparc64_stack_align, sparc32_register_name,
sparc64_register_name, sparc_print_extra_frame_info,
sparclite_register_name, sparclet_register_name,
sparc_push_return_address, sparc64_use_struct_convention,
sparc32_store_struct_return, sparc64_store_struct_return,
sparc32_register_virtual_type, sparc64_register_virtual_type,
sparc32_register_size, sparc64_register_size,
sparc32_register_byte, sparc64_register_byte,
sparc_gdbarch_skip_prologue, sparc_convert_to_virtual,
sparc_convert_to_raw, sparc_frame_init_saved_regs,
sparc_frame_address, sparc_gdbarch_fix_call_dummy,
sparc_coerce_float_to_double, sparc_call_dummy_address,
sparc_y_regnum, sparc_reg_struct_has_addr, sparc_intreg_size,
sparc_return_value_on_stack): New functions supporting multi-arch.
(sparc_gdbarch_init): New function; initialize multi-arch.
(struct gdbarch_tdep): Define, use for private multi-arch data.
* config/sparc/tm-sparc.h: Move definitions around, enclose with
#ifdef GDB_MULTI_ARCH tests, provide some multi-arch alternate
definitions. Add enums for register names, to help debugging gdb.
This header file must work for non-multi-arch and for multi-arch.
* config/sparc/tm-sp64.h: Add GDB_MULTI_ARCH configuration. Also add
AT_ENTRY_POINT definitions for CALL_DUMMY, for non-multi-arch case.
Define GDB_MULTI_ARCH.
* config/sparc/tm-sparclet.h: Add GDB_MULTI_ARCH configuration.
Do not define GDB_MULTI_ARCH (bfd does not correctly identify target).
* config/sparc/tm-sparclite.h: Ditto.
* config/sparc/tm-sun4sol2.h: Define GDB_MULTI_ARCH.
* sparclet-rom.c (sparclet_regnames): Initialize explicitly, to
avoid using deprecated REGISTER_NAMES macro.
* Makefile.in: Let sparc-tdep.c depend on arch-utils.h.
geoffk [Wed, 10 May 2000 19:42:25 +0000 (19:42 +0000)]
* ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
also available in common mode when powerpc syntax is being used.
jjohnstn [Wed, 10 May 2000 17:58:29 +0000 (17:58 +0000)]
Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
* libc/time/asctime_r.c (asctime_r): Change output format. Day of
month is now padded with space, not zero. This now conforms to
ANSI standard.
msnyder [Wed, 10 May 2000 17:38:16 +0000 (17:38 +0000)]
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
* gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers.
* gdbarch.c, gdbarch.h: Regenerate.
* core-regset.c: Change FP0_REGNUM to a runtime test.
* procfs.c: Ditto.
* sun3-nat.c: Ditto.
* sparc-tdep.c: Ditto.
* i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM.
* ptx4-nat.c: Ditto.
* sol-thread.c (sol_thread_create_inferior): only add the thread
to the thread list if it is not already in there.
(prototypes for thread_db func ptrs): pretty up formatting.
cgf [Tue, 9 May 2000 23:00:37 +0000 (23:00 +0000)]
* Makefile.in: Use appropriate VARIABLE to refer to cygwin.def in load line.
corinna [Tue, 9 May 2000 21:55:11 +0000 (21:55 +0000)]
* fhandler.cc (fhandler_base::puts_readahead): Change
while condition to disallow wild runs.
corinna [Tue, 9 May 2000 13:28:11 +0000 (13:28 +0000)]
* window.cc (setitimer): Check for overflow condition
in tv_sec.
corinna [Tue, 9 May 2000 10:14:17 +0000 (10:14 +0000)]
* errno.cc: Change mapping of ERROR_BAD_PATHNAME to ENOENT.
eliz [Tue, 9 May 2000 08:24:34 +0000 (08:24 +0000)]
* gdb.texinfo: Proofreading changes from Brian Youmans.
wilson [Tue, 9 May 2000 01:54:37 +0000 (01:54 +0000)]
Unwind info bug fixes from David Mosberger.
* config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
frame size in units of 16 bytes, as required per SW Conventions manual.
(output_unw_records): Output info-block header as a dword to get
byte-order right.
amodra [Tue, 9 May 2000 00:43:43 +0000 (00:43 +0000)]
Fix some nits shown up by objcopy.
fche [Mon, 8 May 2000 23:07:39 +0000 (23:07 +0000)]
* merge from internal tree
2000-04-14 Gary Thomas <gthomas@redhat.com>
* v850.igen: Define 'br *' as illegal since this is the only
way to provide a breakpoint on some v850 family processors.
corinna [Mon, 8 May 2000 22:50:19 +0000 (22:50 +0000)]
* path.cc (symlink::info): Treat non readable files
as normal non symlink files.
cgf [Mon, 8 May 2000 22:38:07 +0000 (22:38 +0000)]
* include/pthread.h (pthread_detach): Add missing prototype.
(pthread_join): same.
msnyder [Mon, 8 May 2000 22:34:38 +0000 (22:34 +0000)]
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
* sol-thread.c (sol_thread_create_inferior): only add the thread
to the thread list if it is not already in there.
(prototypes for thread_db func ptrs): pretty up formatting.
msnyder [Mon, 8 May 2000 22:18:05 +0000 (22:18 +0000)]
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/interrupt.exp: Make "pass" message say "send"
rather than "send_gdb" (for consistancy).
dj [Mon, 8 May 2000 16:13:54 +0000 (16:13 +0000)]
* fhandler.cc (lock): use signed math to allow checking ranges
properly.
eliz [Mon, 8 May 2000 15:13:30 +0000 (15:13 +0000)]
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
with the version name.
eliz [Mon, 8 May 2000 15:06:26 +0000 (15:06 +0000)]
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
with the version name.
* config/djgpp/djconfig.sh: Use more warning switches.
* config/djgpp/fnchange.lst: Replace the leading gdb-0222 with the
@V@ placebo.
davidsb [Mon, 8 May 2000 13:41:33 +0000 (13:41 +0000)]
New maintainer for FAQ (doc/*.texinfo except readme), fix DJ's email address.
amodra [Mon, 8 May 2000 11:01:40 +0000 (11:01 +0000)]
(print_insn_tic54x): Declare.
amodra [Mon, 8 May 2000 10:24:05 +0000 (10:24 +0000)]
Michael Sokolov's 68000 patches + assorted compiler warning fixes.
amodra [Mon, 8 May 2000 10:11:18 +0000 (10:11 +0000)]
Fix breakage from 2000-03-31 bfd/srec.c change.
amodra [Mon, 8 May 2000 10:00:26 +0000 (10:00 +0000)]
Fix coredump discovered running m68k testsuite.
amodra [Mon, 8 May 2000 07:22:54 +0000 (07:22 +0000)]
Kill compiler warnings with ATTRIBUTE_UNUSED.
amodra [Mon, 8 May 2000 06:57:39 +0000 (06:57 +0000)]
* trad-core.c (trad_unix_core_file_p): Return
bfd_error_wrong_format rather than bfd_error_file_truncated.
amodra [Mon, 8 May 2000 05:52:58 +0000 (05:52 +0000)]
DataDirectory virtual address is relative. Fix to suit.
amodra [Mon, 8 May 2000 04:28:06 +0000 (04:28 +0000)]
(setup_section): Add const and gettext calls for err.
cagney [Mon, 8 May 2000 02:53:04 +0000 (02:53 +0000)]
Move some of the MIPS n32 ABI configuration options into the mips
multi-arch vector.
cagney [Sun, 7 May 2000 23:09:45 +0000 (23:09 +0000)]
* procfs.c (PROCFS_TRACE): Delete definition.
* proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always define.
eliz [Sun, 7 May 2000 10:57:54 +0000 (10:57 +0000)]
Typo correction, again from Brian Youmans.
eliz [Sun, 7 May 2000 10:55:23 +0000 (10:55 +0000)]
* gdbmi.texinfo: Lots of typos and grammar fixes from Brian
Youmans <3diff@flib.gnu.ai.mit.edu>.
cgf [Sun, 7 May 2000 03:29:08 +0000 (03:29 +0000)]
* dcrt0.cc (insert_file): Eliminate unused parameter.
(build_argv): Ditto.
* exceptions.cc (stack): Eliminate unused parameters.
(stackdump): Ditto.
(cygwin_stackdump): Reflect above changes.
(sig_handle): Ditto.
* fhandler.cc (fhandler_base::set_inheritance): Use kludge to avoid unused
parameter warning.
twall [Sat, 6 May 2000 17:14:33 +0000 (17:14 +0000)]
Support for tic54x target.
khan [Sat, 6 May 2000 17:00:53 +0000 (17:00 +0000)]
2000-05-06 Mumit Khan <khan@xraylith.wisc.edu>
* include/wchar.h (wcscmp, wcslen): Fix prototypes.
* syscalls.cc (wcslen, wcscmp): Adjust.
cgf [Sat, 6 May 2000 03:33:10 +0000 (03:33 +0000)]
* errno.cc (errmap): Correct DIRECTORY mapping to ENOTDIR.
cpopetz [Sat, 6 May 2000 01:47:17 +0000 (01:47 +0000)]
* xcoff.h: Rename to xcoff-target.h
* Makefile.am: Change all instances of xcoff.h to xcoff-target.h
* coff-rs6000.c: Ditto.
* coff64-rs6000.c: Ditto.
* coff-pmac.c: Ditto.
* Makefile.in: Regenerate.
cpopetz [Sat, 6 May 2000 01:41:50 +0000 (01:41 +0000)]
bfd:
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
Change U802TOC64MAGIC to U803XTOCMAGIC.
include:
* coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
msnyder [Fri, 5 May 2000 21:50:23 +0000 (21:50 +0000)]
2000-04-28 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/break.exp: When compiled with -O2 optimization,
gdb may not stop at the first line of main, due to code motion.
msnyder [Fri, 5 May 2000 20:56:10 +0000 (20:56 +0000)]
2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
* procfs.c: Cleanup of procfs tracing. Move defines and
prototypes to proc-utils.h
* proc-utils.h: Define tracing macros. Declare trace functions.
* proc-api.c: Make procfs tracing a runtime option.
(prepare_to_trace): New function, abstracted out of several
places. Open a trace file if one is required.
(ioctl_with_trace, write_with_trace, open_with_trace,
close_with_trace, wait_with_trace, lseek_with_trace):
Report errno if an error occurs in a system call.
(write_with_trace): Make 2nd arg void *, to agree with write.
ezannoni [Fri, 5 May 2000 19:09:25 +0000 (19:09 +0000)]
2000-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* elfread.c (elf_symtab_read): The calculation of 'offset'
must be done for each symbol, not just once. The index
used must be the index of the section where 'sym' resides,
not .text.
msnyder [Fri, 5 May 2000 18:29:32 +0000 (18:29 +0000)]
2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
* procfs.c (many functions): change int cmd; to long cmd;
Solaris /proc API calls this parameter a long, and requires it
for 64-bit hosts (where sizeof(long) != sizeof(int)). UnixWare
calls it an int, but on existing UnixWare hosts, int and long
are the same size. So long it must be. If a future UnixWare
version has problems with this, we'll have to use autoconf.
* proc-api.c (write_with_trace): use long instead of int.
msnyder [Fri, 5 May 2000 18:14:27 +0000 (18:14 +0000)]
2000-05-03 Michael Snyder <msnyder@seadog.cygnus.com>
* solib.c (elf_locate_base, info_sharedlibrary_command):
Look at the bfd to determine if it is elf32 or elf64, rather
than using an ifdef. This makes it runtime teststable and
multi-arch.
msnyder [Fri, 5 May 2000 18:12:52 +0000 (18:12 +0000)]
2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
* elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
* bfd-in.h: Prototype bfd_elf_get_arch_size.
* bfd-in2.h: Prototype bfd_elf_get_arch_size.
khan [Thu, 4 May 2000 23:19:35 +0000 (23:19 +0000)]
2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.in (install): Install profile startup and library.
cgf [Thu, 4 May 2000 19:46:32 +0000 (19:46 +0000)]
* configure.in: Use -gstabs+ as compile debug option. This seems to promote
better handling of symbols.
* configure: Regenerate.
* delqueue.cc (delqueue_list::process_queue): Allow ERROR_ACCESS_DENIED to
indicate that a file is being shared under Windows 95.
* syscalls.cc (_unlink): Use full path name. Take special action for Windows
95. Assume that an ERROR_ACCESS_DENIED indicates a sharing violation unless
it's on a remote drive. Punt if there is an ERROR_ACCESS_DENIED on a remote
drive.
kettenis [Thu, 4 May 2000 19:25:57 +0000 (19:25 +0000)]
* i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
already defined.
kettenis [Thu, 4 May 2000 17:32:48 +0000 (17:32 +0000)]
* infrun.c (handle_inferior_event): Add missing call to keep_going
and missing return when handling an ordinary signal from the
inferior.
ezannoni [Thu, 4 May 2000 16:52:33 +0000 (16:52 +0000)]
Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
SECT_OFF_RODATA): Define as functions of OBJFILE. Add
sect_index_text, sect_index_data, sect_index_rodata,
sect_index_bss to objfile structure.
* gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
SECT_OFF_RODATA): Remove.
* objfiles.c (allocate_objfile): Initialize
sect_index_{text,data,bss,rodata} to -1, for error detection.
* symfile.c (default_symfile_offsets): Initialize
sect_index_{text,data,bss,rodata} from bfd information.
* xcoffread.c (xcoff_symfile_offsets): Ditto.
* somread.c (som_symfile_offsets): Initialize
sect_index_{text,data,bss,rodata}.
* coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c,
hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c,
mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h,
remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c,
stabsread.c, symfile.c, xcoffread.c:
Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the
current objfile.
* xcoffread.c: Add new field objfile to find_targ_sec_arg.