OSDN Git Service
cgf [Tue, 5 Nov 2002 23:15:04 +0000 (23:15 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_read): Use correct type for
minchars.
(fhandler_serial::ioctl): Set errno if the ClearCommError fails.
(fhandler_serial::tcsetattr): Use correct value for vmin_.
(fhandler_serial::tcgetattr): Ditto.
amodra [Tue, 5 Nov 2002 23:00:03 +0000 (23:00 +0000)]
daily update
amodra [Tue, 5 Nov 2002 22:59:23 +0000 (22:59 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of
dynamic relocs against section symbols for the output section vma.
ezannoni [Tue, 5 Nov 2002 22:38:10 +0000 (22:38 +0000)]
2002-11-05 Elena Zannoni <ezannoni@redhat.com>
From Jim Ingham <jingham@apple.com>:
* event-top.c (gdb_disable_readline): New function.
(_initialize_event_loop): Move comment.
jjohnstn [Tue, 5 Nov 2002 22:31:32 +0000 (22:31 +0000)]
2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
* gdb792.cc: New file to test patch for PR gdb/792.
* gdb792.exp: Ditto.
jjohnstn [Tue, 5 Nov 2002 22:30:58 +0000 (22:30 +0000)]
2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
* varobj.c (child_exists, cplus_number_of_children): Change
STREQ macro references to strcmp.
(cplus_name_of_child): Change code to handle the fact that
fields are not necessarily contiguous with regards to their
access control. This is a fix for PR gdb/792.
hjl [Tue, 5 Nov 2002 21:53:12 +0000 (21:53 +0000)]
2002-11-05 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (support_64bit_objects): Check *l before it
is freed.
cagney [Tue, 5 Nov 2002 21:44:04 +0000 (21:44 +0000)]
2002-11-05 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (GET_SAVED_REGISTER): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regnerate.
* frame.h (frame_register): Declare.
* frame.c (frame_register): New function.
(get_saved_register): Test GET_SAVED_REGISTER_P before calling
GET_SAVED_REGISTER, otherwize call
generic_unwind_get_saved_register.
(frame_register_read): Use frame_register instead of
get_saved_register.
fche [Tue, 5 Nov 2002 21:35:45 +0000 (21:35 +0000)]
2002-11-05 Frank Ch. Eigler <fche@redhat.com>
* dev.scm: Call getenv with a string, not a symbol.
ezannoni [Tue, 5 Nov 2002 21:17:31 +0000 (21:17 +0000)]
2002-11-05 Elena Zannoni <ezannoni@redhat.com>
* event-loop.c (start_event_loop): Add comment.
Update copyright.
cagney [Tue, 5 Nov 2002 20:52:42 +0000 (20:52 +0000)]
2002-11-05 Andrew Cagney <
ac131313@redhat.com>
* infcmd.c (default_print_registers_info): Do not call
PRINT_REGISTER_HOOK.
cagney [Tue, 5 Nov 2002 20:43:34 +0000 (20:43 +0000)]
2002-11-05 Andrew Cagney <
ac131313@redhat.com>
* sparc-tdep.c (sparc_print_register_hook): Make static.
(sparc_print_registers_info): New function.
(sparc_do_registers_info): New function.
(sparclet_print_registers_info): New function.
(sparclet_do_registers_info): New function.
(do_sparc_print_registers_info): New function.
(sparc_print_registers): New static function, clone of infcmd.c's
default_print_registers_info.
* config/sparc/tm-sparclet.h (PRINT_REGISTER_HOOK): Delete macro.
(sparclet_do_registers_info): Declare.
(DEPRECATED_DO_REGISTERS_INFO): Re-define.
* config/sparc/tm-sparc.h (DEPRECATED_DO_REGISTERS_INFO):
Re-define.
(sparc_do_registers_info): Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(sparc_print_register_hook): Delete declaration.
carlton [Tue, 5 Nov 2002 20:33:00 +0000 (20:33 +0000)]
2002-11-05 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux): Move chunks of code into separate
functions.
(lookup_symbol_aux_local): New function.
(lookup_symbol_aux_symtabs): New function.
(lookup_symbol_aux_psymtabs): New function.
carlton [Tue, 5 Nov 2002 16:59:57 +0000 (16:59 +0000)]
2002-11-05 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux): In minsym sections, don't use the
previous values of 'objfile' and 'block'.
cgf [Tue, 5 Nov 2002 16:49:58 +0000 (16:49 +0000)]
* fhandler_socket.cc (fhandler_socket::recvmsg): Call if from == NULL
WSARecvFrom with fromlen = NULL.
ezannoni [Tue, 5 Nov 2002 15:43:18 +0000 (15:43 +0000)]
2002-11-04 Elena Zannoni <ezannoni@redhat.com>
* mi-console.exp: Use mi_runto, mi_run_to_main, mi_next_to,
mi_step_to wherever possible. Update copyright notices.
* mi-disassemble.exp: Ditto.
* mi-eval.exp: Ditto.
* mi-read-memory.exp: Ditto.
* mi-regs.exp: Ditto.
* mi-return.exp: Ditto.
* mi-stack.exp: Ditto.
* mi-stepi.exp: Ditto.
* mi-var-block.exp: Ditto.
* mi-var-cmd.exp: Ditto.
* mi-watch.exp: Ditto.
* mi1-console.exp: Ditto.
* mi1-disassemble.exp: Ditto.
* mi1-eval.exp: Ditto.
* mi1-read-memory.exp: Ditto.
* mi1-regs.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
* mi1-stepi.exp: Ditto.
* mi1-var-block.exp: Ditto.
* mi1-var-cmd.exp: Ditto.
* mi1-watch.exp: Ditto.
kdienes [Tue, 5 Nov 2002 09:20:13 +0000 (09:20 +0000)]
Correct the ChangeLog entry for 2002-10-11 from:
* findvar.c (read_memory_typed_address): New function.
to
* corefile.c (read_memory_typed_address): New function.
muller [Tue, 5 Nov 2002 08:25:12 +0000 (08:25 +0000)]
2002-10-07 Pierre Muller <muller@ics.u-strasbg.fr>
* values.c (value_change_enclosing_type): Set
enclosing_type field correctly also for the case where
more memory needs to be allocated.
bje [Tue, 5 Nov 2002 05:56:11 +0000 (05:56 +0000)]
* update.
amodra [Tue, 5 Nov 2002 05:01:11 +0000 (05:01 +0000)]
* elf32-arm.h (t2a1_push_insn, t2a2_ldr_insn, t2a3_mov_insn,
t2a4_bx_insn, t2a5_pop_insn, t2a6_bx_insn): Remove.
cgf [Tue, 5 Nov 2002 04:52:52 +0000 (04:52 +0000)]
* pinfo.cc (_pinfo::commune_send): Fix thinko in previous checkin.
cgf [Tue, 5 Nov 2002 04:43:01 +0000 (04:43 +0000)]
* pinfo.cc (_pinfo::commune_send): Set priority low when sleeping, waiting for
commune completion so that we don't spin waiting for lower priority processes.
cgf [Tue, 5 Nov 2002 04:24:48 +0000 (04:24 +0000)]
revert erroneous checkins
cgf [Tue, 5 Nov 2002 04:23:41 +0000 (04:23 +0000)]
* sigproc.cc (WAIT_SIG_PRIORITY): Bump to THREAD_PRIORITY_TIME_CRITICAL.
cgf [Tue, 5 Nov 2002 03:39:24 +0000 (03:39 +0000)]
* pinfo.cc (_pinfo::commune_send): Initialize buffer or suffer random crashes.
cgf [Tue, 5 Nov 2002 03:21:32 +0000 (03:21 +0000)]
* fhandler_process.cc (fhandler_process::fill_filebuf): Deal with error
condition from cmdline retrieval.
cgf [Tue, 5 Nov 2002 02:58:09 +0000 (02:58 +0000)]
* sigproc.cc (WAIT_SIG_PRIORITY): Bump to highest priority.
amodra [Tue, 5 Nov 2002 01:18:53 +0000 (01:18 +0000)]
* config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64
vectors in target_selvecs.
(shle-*-netbsdelf*): Use bfd_elf*_sh64*nbsd_vec as sh64 vectors
in target_selvecs.
(sh-*-netbsdelf*): Likewise.
* configure.in (assocvecs): New variable. Handle assocvecs like
selvecs.
* configure: Regenerate.
* format.c (bfd_check_format_matches): Store bfd_target pointers
in matching_vector instead of target names. Select first target
from bfd_associated_vector that matches a list of ambiguous targets.
* targets.c (_bfd_associated_vector): New array.
(bfd_associated_vector): New variable.
(_bfd_target_vector): Add bfd_elf*_sh64*lin_vec.
* libbfd-in.h (bfd_associated_vector): Declare.
* libbfd.h: Regenerate.
amodra [Tue, 5 Nov 2002 01:08:17 +0000 (01:08 +0000)]
* vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is
non-NULL before dereferencing.
gdbadmin [Tue, 5 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 4 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
kkojima [Mon, 4 Nov 2002 21:44:36 +0000 (21:44 +0000)]
* vms.c (vms_object_p): Restore the start address when returning
NULL.
jjohnstn [Mon, 4 Nov 2002 19:04:08 +0000 (19:04 +0000)]
2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/wchar.h: Add extern "C" specifier if C++.
* libc/include/wctype.h: Ditto.
kevinb [Mon, 4 Nov 2002 18:48:56 +0000 (18:48 +0000)]
* Makefile.in, aclocal.m4, configure, lib/Makefile.in, qe/Makefile.in,
samples/Makefile.in, unix/configure: Regenerate configury using
aclocal 1.6.3, automake 1.6.3, and autoconf 2.53.
kevinb [Mon, 4 Nov 2002 18:41:14 +0000 (18:41 +0000)]
Top level configury changes for RDA.
nickc [Mon, 4 Nov 2002 16:10:55 +0000 (16:10 +0000)]
Set SEC_DATA and SEC_LOAD flags for sections marked as 's'.
amodra [Mon, 4 Nov 2002 13:20:55 +0000 (13:20 +0000)]
* elflink.h (struct elf_final_link_info): Add shndxbuf_size.
(elf_bfd_final_link): Don't bother zeroing symtab_hdr fields.
Set up a larger symshndxbuf, and write it out. Free it on
exit rather than freeing symbuf twice. Correct section index
on output section symbol loop.
(elf_link_output_sym): Accumulate symbol extension section
indices, reallocating symshndxbuf rather than writing it out.
(elf_link_flush_output_syms): Don't flush symshndxbuf.
* elf.c (assign_section_numbers): Init i_shdrp to all zero.
Use bfd_zalloc to clear i_shdrp[0] too.
cgf [Mon, 4 Nov 2002 05:08:14 +0000 (05:08 +0000)]
* include/cygwin/version.h: Bump DLL minor number.
cgf [Mon, 4 Nov 2002 04:09:14 +0000 (04:09 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Reformat. Set errno
appropriately. Exit from the bottom. Correctly deal with third argument for
TCFLSH. (Suggested by Sergey Okhapkin)
dannysmith [Mon, 4 Nov 2002 03:53:52 +0000 (03:53 +0000)]
* include/winnt.h (VerSetConditionMask): Add prototype.
* lib/kernel32.def (VerifyVersionInfo[AW]): Add stubs.
amodra [Mon, 4 Nov 2002 03:18:41 +0000 (03:18 +0000)]
* readelf.c (byte_get_little_endian): Comment typo fix.
(print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
as the format string.
(dump_relocations): Correct section sym names.
(process_section_headers): Clear symtab_shndx_hdr.
(read_and_display_attr_value): Don't pass indirect string to printf
as the format string.
(display_debug_frames): Indicate when zero terminator found. Decode
DW_EH_PE_pcrel addresses.
kkojima [Mon, 4 Nov 2002 01:18:12 +0000 (01:18 +0000)]
* ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
* ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
defined by the linker scripts.
cgf [Mon, 4 Nov 2002 01:10:38 +0000 (01:10 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Do nothing if the new window
size is equal to the old one. Send SIGWINCH if slave connected to a pseudo
tty.
(fhandler_pty_master::ioctl): Do nothing if the new window size is equal to the
old one.
sclarke [Mon, 4 Nov 2002 00:02:13 +0000 (00:02 +0000)]
* elf32-sh64-com.c (sh64_address_in_cranges): Use
_raw_size of cranges section if _cooked_size not yet set.
gdbadmin [Mon, 4 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 3 Nov 2002 23:00:08 +0000 (23:00 +0000)]
daily update
kettenis [Sun, 3 Nov 2002 13:04:47 +0000 (13:04 +0000)]
* i387-tdep.c (i387_print_float_info): Call fputs_filtered instead
of puts_filtered.
kettenis [Sun, 3 Nov 2002 12:32:41 +0000 (12:32 +0000)]
* i387-tdep.c (i387_print_float_info): Replace calls to
register_read and deprecated_read_register_gen with calls to
frame_register_read, and make the necessary adjustments to the
surrounding code.
hp [Sun, 3 Nov 2002 10:43:44 +0000 (10:43 +0000)]
* elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters
for bfd_elf32_swap_symbol_out.
cagney [Sun, 3 Nov 2002 00:30:32 +0000 (00:30 +0000)]
2002-11-02 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (register_reggroup_p): Allow default value.
* gdbarch.h, gdbarch.c: Regenerate.
gdbadmin [Sun, 3 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 2 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Sat, 2 Nov 2002 20:06:56 +0000 (20:06 +0000)]
2002-11-02 Andrew Cagney <
ac131313@redhat.com>
* regcache.h: Add coment indicating replacements for deprecated
functions.
cagney [Sat, 2 Nov 2002 15:13:34 +0000 (15:13 +0000)]
2002-11-02 Andrew Cagney <cagney@redhat.com>
* reggroups.h, reggroups.c: New files.
* regcache.c: Include "reggroups.h".
(enum regcache_dump_what): Add `regcache_dump_groups'.
(regcache_dump): Contract size of the "Type" column. When
specified, dump the register's groups.
(maintenance_print_register_groups): New function.
(_initialize_regcache): Add command `maint print register-groups'.
* Makefile.in (COMMON_OBS): Add reggroups.o
(SFILES): Add reggroups.c.
(reggroups_h): Define.
(regcache.o, gdbarch.o): Update dependencies.
(reggroups.o): Specify dependencies.
* gdbarch.sh (register_reggroup_p): Add pure multi-arch method.
Add opaque declaration for `struct reggroup' in generated .h file.
Include "reggroups.h" in generated .c file.
gdbarch.h, gdbarch.c: Re-generate.
cagney [Sat, 2 Nov 2002 14:59:10 +0000 (14:59 +0000)]
2002-11-02 Andrew Cagney <cagney@redhat.com>
* regcache.h (deprecated_read_register_gen): Rename
read_register_gen.
(deprecated_write_register_gen): Rename write_register_gen.
* i387-tdep.c: Update.
* x86-64-linux-nat.c: Update
* wince.c: Update.
* thread-db.c: Update.
* win32-nat.c: Update.
* mips-tdep.c: Update.
* d10v-tdep.c: Update.
* cris-tdep.c: Update.
* remote-sim.c: Update.
* remote-rdi.c: Update.
* remote-rdp.c: Update.
* frame.c: Update.
* target.c: Update.
* blockframe.c: Update.
* x86-64-tdep.c: Update.
* xstormy16-tdep.c: Update.
* sh-tdep.c: Update.
* s390-tdep.c: Update.
* rs6000-tdep.c: Update.
* sparc-tdep.c: Update.
* i386-tdep.c: Update.
* dwarf2cfi.c: Update.
* regcache.c: Update.
cgf [Sat, 2 Nov 2002 03:31:14 +0000 (03:31 +0000)]
space
gdbadmin [Sat, 2 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 1 Nov 2002 23:00:07 +0000 (23:00 +0000)]
daily update
brobecke [Fri, 1 Nov 2002 22:08:44 +0000 (22:08 +0000)]
New interix-specific files:
* config/i386/nm-interix.h: New file.
* config/i386/interix.mh: New file.
* config/i386/interix.mt: New file.
* i386-interix-nat.c: New file.
* i386-interix-tdep.c: New file.
cagney [Fri, 1 Nov 2002 21:21:49 +0000 (21:21 +0000)]
2002-11-01 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_generic_get_saved_register): Rename
generic_get_saved_register.
* blockframe.c (deprecated_generic_get_saved_register): Update.
* xstormy16-tdep.c (xstormy16_get_saved_register): Update.
(xstormy16_frame_saved_register): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_get_saved_register): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
hjl [Fri, 1 Nov 2002 20:41:48 +0000 (20:41 +0000)]
2002-11-01 H.J. Lu <hjl@gnu.org>
* gas/i386/i386.exp: Add "sub".
* gas/i386/sub.d: New.
* gas/i386/sub.s: New.
amodra [Fri, 1 Nov 2002 10:42:25 +0000 (10:42 +0000)]
* write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
(TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
* doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
default.
amodra [Fri, 1 Nov 2002 10:35:43 +0000 (10:35 +0000)]
* dep-in.sed: Fix typo.
phumblet [Fri, 1 Nov 2002 01:47:28 +0000 (01:47 +0000)]
2002-10-31 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.cc (fhandler_base::open): Verify pc isn't NULL.
gdbadmin [Fri, 1 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
drow [Thu, 31 Oct 2002 21:00:07 +0000 (21:00 +0000)]
* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
drow [Thu, 31 Oct 2002 20:51:15 +0000 (20:51 +0000)]
* i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for
trampolines in sigaction.
cagney [Thu, 31 Oct 2002 20:22:43 +0000 (20:22 +0000)]
2002-10-31 Andrew Cagney <cagney@redhat.com>
* h8300-tdep.c: Include "gdb_assert.h".
(h8300_print_register): Add gdbarch, file and frame parameters.
Use frame_read_unsigned_register to read the register's value.
Use fprintf_filtered to display output.
(h8300_print_registers_info): Replace h8300_do_registers_info.
(h8300_gdbarch_init): Set print_registers_info.
cagney [Thu, 31 Oct 2002 20:14:32 +0000 (20:14 +0000)]
2002-10-31 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_read_unsigned_register): New function.
(frame_read_signed_register): New function.
* frame.h (frame_read_unsigned_register): Declare.
(frame_read_signed_register): Declare.
cagney [Thu, 31 Oct 2002 19:49:33 +0000 (19:49 +0000)]
2002-10-31 Andrew Cagney <cagney@redhat.com>
* h8500-tdep.c (h8500_print_registers_info): New static function,
clone of infcmd.c's default_print_registers_info.
(h8500_do_registers_info): New funtion.
(h8500_print_register_hook): Rename print_register_hook, make
static.
* config/h8500/tm-h8500.h: Update copyright.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(h8500_do_registers_info: Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(print_register_hook): Delete function.
cagney [Thu, 31 Oct 2002 19:14:06 +0000 (19:14 +0000)]
2002-10-31 Andrew Cagney <cagney@redhat.com>
* z8k-tdep.c (z8k_print_register_hook): Make static.
(z8k_print_registers_info): New static function, clone of
infcmd.c's default_print_registers_info.
(z8k_do_registers_info): New function. Wrap
z8k_print_registers_info.
* config/z8k/tm-z8k.h: Update copyright.
(PRINT_REGISTER_HOOK): Delete macro.
(z8k_print_register_hook): Delete declaration.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(z8k_do_registers_info): Declare.
obrien [Thu, 31 Oct 2002 09:18:46 +0000 (09:18 +0000)]
2002-10-31 David O'Brien <obrien@FreeBSD.org>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix
signed and unsigned in comparison.
Approved by: Alan Modra <amodra@bigpond.net.au>
Message-ID: <
20021012185224.Y979@bubble.sa.bigpond.net.au>
cgf [Thu, 31 Oct 2002 02:40:26 +0000 (02:40 +0000)]
* cygpath.cc (get_long_path_name_w32impl): Define similarly to GetLongPathName.
(get_long_name): Correctly prototype GetLongPathName.
(get_long_paths): Implement using get_long_name to cut down on code
duplication.
(doit): Do various things to make path output work predictably.
gdbadmin [Thu, 31 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Wed, 30 Oct 2002 21:06:19 +0000 (21:06 +0000)]
* include/cygwin/version.h: Bump DLL minor number.
cgf [Wed, 30 Oct 2002 21:05:16 +0000 (21:05 +0000)]
* external.cc (cygwin_internal): Implement CW_CMDLINE.
* pinfo.h (SIGCOMMUNE): New signal type.
(commune_result): New structure for commune functions.
(picom): New enum for commune functions.
(_pinfo::hello_pid): New. Pid who's communicating with me.
(_pinfo::tothem): New. Handle of communicating pipe.
(_pinfo::fromthem): Ditto.
(_pinfo::commune_recv): Declare.
(_pinfo::commune_send): Declare.
(_pinfo::alive): Declare.
(_pinfo::cmdline): Declare.
(_pinfo::lock): Declare.
* pinfo.cc (set_myself): Initialize new _pinfo lock.
(_pinfo::alive): Define. Determines if process still exists.
(_pinfo::commune_recv): Define. Receive info from another cooperating process.
(_pinfo::commune_send): Define. Send info to another cooperating process.
(_pinfo::cmdline): Define. Determine command line of a given process.
* include/sys/cygwin.h (CW_CMDLINE): Define.
*sigproc.cc (talktome): Communicate with any processes who want to talk to me.
(wait_sig): Honor __SIGCOMMUNE.
* fhandler.cc (fhandler_virtual::fixup_after_exec): Declare.
* fhandler_proc.cc: Use malloc/free/realloc throughout rather than cmalloc
since buffers don't need to be propagated to subprocesses.
* fhandler_registry.cc: Ditto.
* fhandler_virtual.cc: Ditto.
(fhandler_virtual::fixup_after_exec): Define.
* fhandler_process.cc: Ditto for malloc/free/realloc.
(process_listin): Add "cmdline".
(fhandler_process::fill_filebuf): Implement PROCESS_CMDLINE.
* miscfuncs.cc (isalpha_array): New array populated with xor values for alpha
characters to switch from one case to another.
* string.h (cygwin_strcasematch): New asm implementation of case match.
* string.h (cygwin_nstrcasematch): New asm implementation of counted case
match.
brobecke [Wed, 30 Oct 2002 20:42:54 +0000 (20:42 +0000)]
* hppa-tdep.c (find_function_in_inferior): Remove this extern,
as this is already provided by value.h, and was actually causing
a compilation error because of a conflict in parameter type
declaration due to a missing const keyword.
(low_text_segment_addres): Fix a compilation warning.
drow [Wed, 30 Oct 2002 17:05:40 +0000 (17:05 +0000)]
* configure.in: Update ARM CPU patterns.
* configure: Regenerated.
drow [Wed, 30 Oct 2002 15:50:17 +0000 (15:50 +0000)]
* coffcode.h: Remove extraneous '\'.
drow [Wed, 30 Oct 2002 04:10:05 +0000 (04:10 +0000)]
* mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
registers without a name.
(mips_linux_cannot_store_register): Don't store registers without
a name.
drow [Wed, 30 Oct 2002 03:57:38 +0000 (03:57 +0000)]
* emultempl/aix.em: Use include <> for generated headers.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/pe.em: Likewise.
* ldctor.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
* ldlex.c: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* ldwrite.c: Likewise.
* lexsup.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.
drow [Wed, 30 Oct 2002 03:56:39 +0000 (03:56 +0000)]
* itbl-lex.l: Use #include <> for generated headers.
* itbl-ops.c: Likewise.
dannysmith [Wed, 30 Oct 2002 01:07:53 +0000 (01:07 +0000)]
2002-10-30 Guido Serassio <serassio@libero.it>
* include/stdio.h (_getnaxstdio): Add prototype.
(_setmaxstdio): Likewise.
gdbadmin [Wed, 30 Oct 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 29 Oct 2002 00:20:31 +0000 (00:20 +0000)]
daily update
gdbadmin [Tue, 29 Oct 2002 00:00:15 +0000 (00:00 +0000)]
*** empty log message ***
hjl [Mon, 28 Oct 2002 22:30:28 +0000 (22:30 +0000)]
2002-10-28 H.J. Lu <hjl@gnu.org>
* Makefile.am (targets.lo): Depend on Makefile instead of
config.status.
(archures.lo): Likewise.
* Makefile.in: Regenerated.
carlton [Mon, 28 Oct 2002 17:05:55 +0000 (17:05 +0000)]
2002-10-28 David Carlton <carlton@math.stanford.edu>
* symtab.c (find_addr_symbol): Delete. (It was already commented
out.)
* symtab.h: Delete prototype for find_addr_symbol.
drow [Mon, 28 Oct 2002 15:44:07 +0000 (15:44 +0000)]
* doc/gasp.texi: Fix typo in deprecation note.
gdbadmin [Mon, 28 Oct 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 27 Oct 2002 23:00:04 +0000 (23:00 +0000)]
daily update
bje [Sun, 27 Oct 2002 07:29:22 +0000 (07:29 +0000)]
* whitespace tweak.
dj [Sun, 27 Oct 2002 01:02:05 +0000 (01:02 +0000)]
merge from gcc
dj [Sun, 27 Oct 2002 01:01:04 +0000 (01:01 +0000)]
merge from gcc
gdbadmin [Sun, 27 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 26 Oct 2002 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Sat, 26 Oct 2002 17:19:26 +0000 (17:19 +0000)]
2002-10-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
definition of DO_REGISTERS_INFO.
2002-10-26 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename
DO_REGISTERS_INFO.
gdbarch.h, gdbarch.c: Re-generate.
* infcmd.c (default_print_registers_info): Update reference.
* mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info.
(mips_dump_tdep): Do not print DO_REGISTERS_INFO.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
kettenis [Sat, 26 Oct 2002 17:04:37 +0000 (17:04 +0000)]
* x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to
cfi_init_extra_frame_info.
* x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype.
* x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.
kettenis [Sat, 26 Oct 2002 16:56:33 +0000 (16:56 +0000)]
* x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386
target where necessary. Add more comments and remove the ones
that don't provide any useful information.
kettenis [Sat, 26 Oct 2002 14:58:41 +0000 (14:58 +0000)]
* i386-tdep.c (i386_frame_saved_pc): Replace call to
deprecated_read_register_dummy with
frame_unwind_unsigned_register.