OSDN Git Service
kettenis [Sat, 23 Aug 2003 13:58:17 +0000 (13:58 +0000)]
* x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument.
Update comments.
* x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update
comments.
* x86-64-linux-tdep.c (fetch_core_registers): Adjust call to
x86_64_supply_fxsave.
* x86-64-linux-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.
* amd64fbsd-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.
aj [Sat, 23 Aug 2003 12:21:14 +0000 (12:21 +0000)]
2003-08-23 Andreas Jaeger <aj@suse.de>
* x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to
i387_supply_fxsave.
kettenis [Sat, 23 Aug 2003 08:56:44 +0000 (08:56 +0000)]
* go32-nat.c (fetch_register): Call i387_supply_fsave instead of
i387_supply_register.
(go32_fetch_registers): Adjust call to i387_supply_fsave.
* i386nbsd-tdep.c (fetch_core_registers): Adjust call to
i387_supply_fsave.
(fetch_elfcore_registers): Adjust call to i387_supply_fsave and
i387_supply_fxsave.
* i386obsd-tdep.c (fetch_core_registers): Adjust call to
i387_supply_fsave.
* i386bsd-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
(fetch_inferior_registers): Remove extraneous whitespace. Adjust
call to i387_supply_fxsave. Call i387_supply_fsave instead of
supply_fpregset.
(store_inferior_registers): Remove extraneous whitespace. Call
i387_fill_fsave instead of fill_fpregset.
* i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave.
(supply_fpregset): Likewise.
* i386v4-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
* i386-interix-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
* i386-linux-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
(supply_fpxregset): Adjust call to i387_adjust_fxsave.
* i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to
i387supply_fsave and i387_supply_fxsave.
* i387-tdep.c (i387_supply_fsave): Add `regnum' argument.
Incorporate code from `i387_supply_register.
(i387_supply_register): Remove.
(i387_supply_fxsave): Add `regnum' argument.
Update comments.
* i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust
prototype.
(i387_supply_register): remove prototype.
Update comments.
bje [Sat, 23 Aug 2003 08:51:04 +0000 (08:51 +0000)]
Revise DejaGnu patch submission guidelines.
amodra [Sat, 23 Aug 2003 04:10:34 +0000 (04:10 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner.
chastain [Sat, 23 Aug 2003 03:59:42 +0000 (03:59 +0000)]
2003-08-22 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*.
Add lines for files in gdb/testsuite/gdb.cp/* that are
still not 8.3 unique.
chastain [Sat, 23 Aug 2003 03:55:58 +0000 (03:55 +0000)]
2003-08-22 Michael Chastain <mec@shout.net>
* gdb.cp: New directory.
* gdb.cp/*: Copy from gdb.c++/*.
* gdb.c++/*: Remove.
* Makefile.in: Change gdb.c++ to gdb.cp.
* configure.in: Ditto.
* configure: Regnerate.
cgf [Sat, 23 Aug 2003 00:03:53 +0000 (00:03 +0000)]
* cygheap.h (enum cygheap_types): Add HEAP_MMAP.
(CYGHEAPSIZE): Add another 64K.
* mmap.cc: Use cmalloc, ccalloc and crealloc with HEAP_MMAP type throughout.
gdbadmin [Sat, 23 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 23 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update
hjl [Fri, 22 Aug 2003 23:35:58 +0000 (23:35 +0000)]
2003-08-22 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the
.got section at 8 bytes.
drow [Fri, 22 Aug 2003 20:45:55 +0000 (20:45 +0000)]
* gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether
TYPE_VPTR_FIELDNO is valid.
kettenis [Fri, 22 Aug 2003 20:23:15 +0000 (20:23 +0000)]
* utils.c (set_width_command): Remove prototypes.
(set_screen_size): New prototype.
(init_page_info): Simplify by fetching the screen size from
Readline. Call set_screen_size.
(set_screen_size): New function.
(set_width): Add missing whitespace in comment.
(set_width_command): Call set_screen_size.
(set_height_command): New function.
(initialize_utils): Fix formatting. Make "set height" command
call set_height_command. Remove redundant code that turns off
pagination if output isn't a terminal. Remove redundant call to
set_width_command.
cgf [Fri, 22 Aug 2003 19:33:09 +0000 (19:33 +0000)]
* cygheap.cc (user_heap_info::max): New field.
* heap.cc (heap_init): Save pointer to end of heap reserved memory.
(sbrk): Don't attempt to commit memory beyond end of heap reserved memory.
Attempt to honor comment and reserve commitbytes if heapchunk fails.
cgf [Fri, 22 Aug 2003 19:25:56 +0000 (19:25 +0000)]
* exceptions.cc (sigreturn): Don't clobber ebp in recursive signal calls.
kettenis [Fri, 22 Aug 2003 18:52:49 +0000 (18:52 +0000)]
* sparc64-tdep.h (sparc64_regnum): Fix comment.
(sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes.
(sparc_supply_rwindow, sparc_fill_rwindow): New prototypes.
* sparc64-tdep.c (sparc64_pseudo_register_read): Add missing
`case' keyword.
(sparc64_register_info): Give the reister with number
SPARC64_STATE_REGNUM a name.
(sparc64_pseudo_register_write): Add support for %cwp, %pstate,
%asi and %ccr.
(sparc64_push_dummy_call): Take BIAS into account when checking
stcak alignment.
(sparc_software_single_step): Remove assertions that check whether
NPC and NNPC were zero.
(sparc_supply_rwindow): Make public. Merge functionality with
sparc64_supply_rwindow.
(sparc_fill_rwindow): Make public. Merge functionality with
sparc64_fill_rwindow.
(sparc64_supply_rwindow, sparc64_fill_rwindow): Remove.
* sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set
SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p.
* sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call
sparc_supply_rwindow instead of sparc64_supply_rwindow.
jjohnstn [Fri, 22 Aug 2003 18:52:25 +0000 (18:52 +0000)]
2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
* libc/stdio: Globally remove/replace all references to fp->_data.
Replace with _REENT or _GLOBAL_REENT where appropriate.
* libc/stdio/asprintf.c: Ditto.
* libc/stdio/fclose.c: Ditto.
* libc/stdio/fvwrite.c: Ditto.
* libc/stdio/makebuf.c: Ditto.
* libc/stdio/refill.c: Ditto.
* libc/stdio/local.h: Ditto.
* libc/stdio/setvbuf.c: Ditto.
* libc/stdio/sscanf.c: Ditto.
* libc/stdio/stdio.c: Ditto.
* libc/stdio/ungetc.c: Ditto.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdio/vsscanf.c: Ditto.
* libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
* libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
* libc/stdio/vsnprintf.c: Ditto.
* libc/stdio/vsprintf.c: Ditto.
* libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
instead of _REENT to walk file list.
* libc/stdio/fflush.c: Ditto.
* libc/stdio/fgetpos.c: Add reentrant version and have regular
version call reentrant version with _REENT argument.
* libc/stdio/fsetpos.c: Ditto.
* libc/stdio/fseek.c: Ditto.
* libc/stdio/fseeko.c: Ditto.
* libc/stdio/ftell.c: Ditto.
* libc/stdio/ftello.c: Ditto.
* libc/stdio/freopen.c: Ditto.
* libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
new files to chain. Also use _GLOBAL_REENT pointer for
cleaning up.
* libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
* libc/stdio/siprintf.c: Ditto.
* libc/stdio/iprintf.c: Ditto.
* libc/stdio/fprintf.c: Ditto.
* libc/stdio/printf.c: Ditto.
* libc/stdio/snprintf.c: Call _vfprintf_r directly.
* libc/stdio/sprintf.c: Ditto.
* libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
* libc/stdio/rewind.c: Call _fseek_r directly.
* libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
data pointer.
(get_arg): Add extra struct _reent pointer argument.
* libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
to fp->_data.
* libc/stdio64/fopen64.c: Ditto.
* libc/stdio64/freopen64.c: Ditto.
* libc/stdio64/fsetpos64.c: Ditto.
* libc/stdio64/ftello64.c: Ditto.
* libc/stdio64/local64.h: Ditto.
* libc/stdio64/stdio64.c: Ditto.
* libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
_fstat64_r for the meantime.
geoffk [Fri, 22 Aug 2003 17:05:58 +0000 (17:05 +0000)]
Index: ChangeLog
2003-08-20 Geoffrey Keating <geoffk@apple.com>
PR 8180
* configure.in: When testing with_libs and with_headers, treat
'no' as unset. Based on a patch by Dan Kegel <dank@kegel.com>.
* configure: Regenerate.
Index: gcc/ChangeLog
2003-08-20 Geoffrey Keating <geoffk@apple.com>
PR 8180
* configure.in: When testing with_libs and with_headers, treat
'no' as unset. Based on a patch by Dan Kegel <dank@kegel.com>.
* configure: Regenerate.
cgf [Fri, 22 Aug 2003 17:01:53 +0000 (17:01 +0000)]
* exceptions.cc (sig_handle): Change so that default signals indicate success.
dannysmith [Fri, 22 Aug 2003 11:21:28 +0000 (11:21 +0000)]
2003-08-22 Filip Navara <xnavara@volny.cz>
* include/aclapi.h (BuildImpersonateExplicitAccessWithName[AW]):
Add prototypes.
BuildImpersonateTrustee[AW]): Add prototypes.
GetMultipleTrustee[AW]): Add prototypes.
GetMultipleTrusteeOperation[AW]): Add prototypes.
Add missing changelog entry from last commit.
dannysmith [Fri, 22 Aug 2003 10:50:54 +0000 (10:50 +0000)]
2003-08-22 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (IMAGE_SUBSYSTEM_XBOX): Add define.
2003-08-22 Mihai Preda <mihai_preda@users.sourceforge.net>
* include/shlobj.h (IPersistFolder::GetClassID):
Correct declaration.
(CMF_*) Add missing defines.
2003-08-22 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (DC_BUTTONS): Add define.
2003-08-22 Andrew Greenwood <lists@silverblade.co.uk>
* include/winuser.h (DC_GRADIENT): Add define.
2003-08-22 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/commctrl.h (BTNS_*): Define BTNS_* as successors to the
older TBSTYLE_* constants.
kettenis [Fri, 22 Aug 2003 09:49:00 +0000 (09:49 +0000)]
* reggroups.c: Add whitespace after declarations of local
variables in functions.
chastain [Fri, 22 Aug 2003 05:05:55 +0000 (05:05 +0000)]
2003-08-21 Michael Chastain <mec@shout.net>
* gdbtypes.h: Change array bound type from an int to enum.
cgf [Fri, 22 Aug 2003 03:40:48 +0000 (03:40 +0000)]
* sigproc.cc (wait_sig): Remove redundant test in do/while.
cgf [Fri, 22 Aug 2003 01:07:00 +0000 (01:07 +0000)]
* sigproc.cc (wait_sig): Avoid infinite loop.
cagney [Fri, 22 Aug 2003 00:35:31 +0000 (00:35 +0000)]
2003-08-21 Andrew Cagney <cagney@redhat.com>
* config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code.
* config/sparc/tm-sparc.h: Ditto.
* config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH
unconditionally.
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto.
gdbadmin [Fri, 22 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 22 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update
kettenis [Thu, 21 Aug 2003 22:35:32 +0000 (22:35 +0000)]
* objfiles.h (struct objfile): Add memebers `data' and `num_data'.
(register_objfile_data, set_objfile_data, objfile_data): New
prototypes.
* objfiles.c (objfile_alloc_data, objfile_free_data): New
prototypes.
(allocate_objfile): Call objfile_alloc_data.
(free_objfile): Call objfile_free_data.
(struct objfile_data): New.
(struct objfile_data_registration): New.
(struct objfile_data_registry): New.
(objfile_data_registry): New variable.
(register_objfile_data): New function.
(objfile_alloc_data, objfile_free_data): New functions.
(set_objfile_data, objfile_data): New functions.
* dwarf2-frame.c (dwarf2_frame_data): New variable.
(dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism.
(_initialize_dwarf2_frame): New function and prototype.
cagney [Thu, 21 Aug 2003 20:43:10 +0000 (20:43 +0000)]
2003-08-21 Andrew Cagney <cagney@redhat.com>
* sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select
a specific architecture.
* arch-utils.h (set_architecture_from_arch_mach): Delete
declaration.
(target_architecture_hook): Delete declaration.
* arch-utils.c: Delete non GDB_MULTI_ARCH includes.
(default_float_format): Assume GDB_MULTI_ARCH.
(default_double_format): Assume GDB_MULTI_ARCH.
(set_endian_from_file): Delete function.
(arch_ok): Delete function.
(set_arch): Delete function.
(set_architecture_from_arch_mach): Delete function.
(set_architecture_from_file): Delete function.
(set_architecture): Assume GDB_MULTI_ARCH.
(set_gdbarch_from_file): Assume GDB_MULTI_ARCH.
kettenis [Thu, 21 Aug 2003 20:38:46 +0000 (20:38 +0000)]
Rewrite FreeBSD/sparc64 native configuration.
* sparcbsd-nat.c, sparcbsd-nat.h: New files.
* sparc64fbsd-nat.c: New file.
* sparc64fbsd-tdep.c: New file.
* sparc64-tdep.c sparc64-tdep.h: New files.
* Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o,
sparc64fbsd-tdep.o): New dependencies.
(SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c
and sparc64fbsd-tdep.c.
(sparc64_tdep_h, sparcbsd_nat_h): New variables.
* config/sparc/fbsd.mh: Remove copyright notice.
(NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and
sparcbsd-nat.o.
* config/sparc/fbsd.mt: Remove copyright notice.
(TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o,
solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o.
* config/sparc/nm-fbsd.h: Don't include "elf/common.h".
(SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS,
PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T,
regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu,
fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines.
* config/sparc/tm-fbsd.h: Don't include "solib.h" and
"sparc/tm-sp64.h".
(SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines.
(GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM.
chastain [Thu, 21 Aug 2003 19:55:32 +0000 (19:55 +0000)]
2003-08-21 Michael Chastain <mec@shout.net>
* symtab.h: Add doco on the space critical structures and
some measurements of space usage.
msnyder [Thu, 21 Aug 2003 18:09:53 +0000 (18:09 +0000)]
2003-08-21 Michael Snyder <msnyder@redhat.com>
* tracepoint.c (trace_dump_command): Trace break address
is subject to DECR_PC_AFTER_BREAK.
(set_traceframe_context): Make "trace_line" an int.
Fixes suggested by Mark Newman <mark.newman@lmco.com>
nickc [Thu, 21 Aug 2003 16:26:20 +0000 (16:26 +0000)]
Fix spelling typo.
nickc [Thu, 21 Aug 2003 16:20:38 +0000 (16:20 +0000)]
Convert to ISO C90. Tidy up formatting.
nickc [Thu, 21 Aug 2003 14:03:23 +0000 (14:03 +0000)]
Add PGI extensions
nickc [Thu, 21 Aug 2003 14:00:05 +0000 (14:00 +0000)]
For elf32-hppa-linux, objects can have OSABI=Linux or OSABI=SysV; check for
both.
nickc [Thu, 21 Aug 2003 13:52:51 +0000 (13:52 +0000)]
Updated translations
nickc [Thu, 21 Aug 2003 13:37:01 +0000 (13:37 +0000)]
(mbtoh): Replace input parameter to u-media-dual-expand and u-media-dual-btoh
with output parameter.
(cmbtoh): Add profiling hack.
cgf [Thu, 21 Aug 2003 03:36:02 +0000 (03:36 +0000)]
* speclib: Reenable removal of temp files.
cgf [Thu, 21 Aug 2003 03:18:45 +0000 (03:18 +0000)]
* miscfuncs.cc (low_priority_sleep): Sleep at same priority as main thread.
* sigproc.cc (wait_sig): Keep looping if there are more signals to consider and
we are flushing signals.
(sig_send): Put nonsync signals in the correct bucket.
geoffk [Thu, 21 Aug 2003 02:21:21 +0000 (02:21 +0000)]
Merge configure.in, configure with GCC.
cgf [Thu, 21 Aug 2003 02:19:25 +0000 (02:19 +0000)]
* speclib: Fix created lib to avoid "File truncated" problems.
msnyder [Thu, 21 Aug 2003 00:01:31 +0000 (00:01 +0000)]
2003-08-20 Michael Snyder <msnyder@redhat.com>
* sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG.
* sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set
FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for
argument passing.
(sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New
functions, replace sh_push_dummy_call.
(sh_gdbarch_init): Set push_dummy_call to one of new methods.
gdbadmin [Thu, 21 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 21 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update
chastain [Wed, 20 Aug 2003 23:00:05 +0000 (23:00 +0000)]
2003-08-20 Michael Chastain <mec@shout.net>
* gdbtypes.h (struct main_type): Rearrange to save space.
msnyder [Wed, 20 Aug 2003 22:30:17 +0000 (22:30 +0000)]
2003-08-20 Michael Snyder <msnyder@redhat.com>
* trad-frame.c: Comment typo fix.
kevinb [Wed, 20 Aug 2003 20:22:41 +0000 (20:22 +0000)]
* frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include.
(frv_frame_init_saved_regs): Add declaration.
(frame_extra_info): Add new field ``saved_regs''.
(frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue)
(frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular):
Update frame related code.
(frv_extract_struct_value_address): Adjust formatting.
* Makefile.in (frv-tdep.o): Update dependencies.
* config/frv/tm-frv.h (target_insert_watchpoint)
(target_remove_watchpoint, target_insert_hw_breakpoint)
(target_remove_hw_breakpoint): Delete these macros.
(remote_insert_watchpoint, remote_remove_watchpoint)
(remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove
these declarations.
jjohnstn [Wed, 20 Aug 2003 19:32:51 +0000 (19:32 +0000)]
2003-08-20 Chris Demetriou <cgd@broadcom.com>
* mips/crt0_cfe.S: New file.
* mips/cfe_mem.c: New file.
* mips/cfe_prestart.S: Remove.
* mips/cfe.ld: Adjust to use crt0_cfe.o as the startup file, and
and use _start as the entry point. Align BSS to 32-byte boundary.
* mips/cfe.c: Reimplement to fit on top of a crt0_cfe.o file.
* mips/cfe_api.h (__libcfe_stack_size, __libcfe_mem_limit)
(__libcfe_meminit, __libcfe_stack_top): New prototypes.
* mips/Makefile.in (CFEOBJS): Replace cfe_prestart.o with cfe_mem.o.
(cfe.o, cfe_api.o, cfe_mem.o, crt0_cfe.o): New targets.
* mips/configure.in: Build and install crt0_cfe.o when CFE support
is built.
* mips/configure: Regenerate.
cgf [Wed, 20 Aug 2003 18:09:23 +0000 (18:09 +0000)]
* exceptions.cc (interrupt_setup): Set sigsave.sig last to avoid a race.
chastain [Wed, 20 Aug 2003 17:39:17 +0000 (17:39 +0000)]
2003-08-20 Michael Chastain <mec@shout.net>
* defs.h (ENUM_BITFIELD): New macro.
* symtab.h (ENUM_BITFIELD): Use it.
(BYTE_BITFIELD): Remove old macro, which was already disabled.
nickc [Wed, 20 Aug 2003 15:40:01 +0000 (15:40 +0000)]
Fix spelling typo.
rsandifo [Wed, 20 Aug 2003 13:53:42 +0000 (13:53 +0000)]
* elf64-mips.c (elf_backend_copy_indirect_symbol): Define.
nickc [Wed, 20 Aug 2003 08:37:14 +0000 (08:37 +0000)]
Better handking for unresolved symbols
nickc [Wed, 20 Aug 2003 08:27:03 +0000 (08:27 +0000)]
Fix typo, Frintkeven -> FRintkeven
cgf [Wed, 20 Aug 2003 05:15:33 +0000 (05:15 +0000)]
* sigproc.cc (wait_sig): Ensure that myself->getsigtodo array is flushed on a
__SIGFLUSH. Christopher Faylor <cgf@redhat.com>
* exceptions.cc (_sigreturn): Handle nested signals without growing the stack.
cgf [Wed, 20 Aug 2003 02:31:25 +0000 (02:31 +0000)]
* exceptions.cc (pending_signals): Remove unneeded declaration.
* sigproc.cc (pending_signals): Make static.
(wait_sig): Use defined values rather than integers for rc. Never scan both
todo arrays as this could cause hangs if signals arrive from two different
sources. Rename saw_pending_signals to saw_failed_interrupt. Exit loop when
signal found. Enter low-priority sleep, if necessary, after finished
signalling completion. Set pending_signals when blocked
(from Pierre Humblet).
cgf [Wed, 20 Aug 2003 01:19:04 +0000 (01:19 +0000)]
clarify
geoffk [Wed, 20 Aug 2003 00:51:25 +0000 (00:51 +0000)]
* configure.in: Disable libgcj for darwin not on powerpc.
* configure: Rebuild.
amodra [Wed, 20 Aug 2003 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 20 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
jjohnstn [Tue, 19 Aug 2003 18:09:53 +0000 (18:09 +0000)]
2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
overflow detection.
amodra [Tue, 19 Aug 2003 15:48:53 +0000 (15:48 +0000)]
* config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and
PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.
nickc [Tue, 19 Aug 2003 13:05:41 +0000 (13:05 +0000)]
Add support for unindexed form of Addressing Mode 5
shrinivas [Tue, 19 Aug 2003 09:55:59 +0000 (09:55 +0000)]
2003-08-19 Shrinivas Atre <shrinivasa@kpitcummins.com>
* MAINTAINERS (write after approval): Add myself.
shrinivas [Tue, 19 Aug 2003 09:51:27 +0000 (09:51 +0000)]
2003-08-19 Shrinivas Atre <shrinivasa@kpitcummins.com>
* MAINTAINERS (write after approval): Add myself.
amodra [Tue, 19 Aug 2003 07:09:44 +0000 (07:09 +0000)]
* config/tc-ppc.c (md_parse_option): Handle -m440.
(md_apply_fix3): Warning fix.
(md_show_usage): Add -m440.
* doc/c-ppc.texi: Document -m440.
amodra [Tue, 19 Aug 2003 07:09:10 +0000 (07:09 +0000)]
* ppc-opc.c (PPC440): Define.
(powerpc_opcodes): Allow mac*, mul*, nmac*, dccci, dcread, iccci,
icread instructions when PPC440. Add dlmzb instruction.
amodra [Tue, 19 Aug 2003 07:08:20 +0000 (07:08 +0000)]
* ppc.h (PPC_OPCODE_440): Define. Formatting. Use hex for other
PPC_OPCODE_* defines.
cgf [Tue, 19 Aug 2003 05:47:43 +0000 (05:47 +0000)]
* signal.cc (sigpending): Move.
* sigproc.cc (sigpending): To here.
(getlocal_sigtodo): Return process-local signal array.
(sigpending): Accommodate new process-local signal array.
(sig_send): Ditto.
(sig_set_pending): Ditto.
(wait_sig): Ditto.
cgf [Tue, 19 Aug 2003 04:10:41 +0000 (04:10 +0000)]
Throughout, eliminate argument to sig_dispatch_pending.
* exceptions.cc (setup_handler): Move non-interruptible condition handling
(back) to wait_sig (as suggested by Pierre Humblet).
(set_process_mask): Don't worry about calling sig_dispatch_pending from
sigthread since it is detected in the function anyway.
(sig_handle): Eliminate thisproc arg. Don't call sig_dispatch_pending on
SIGCONT since that should happen automatically.
* sigproc.cc (sig_dispatch_pending): Eliminate justwake argument. Just return
when called from sigthread.
(wait_sig): Change some variables to bool. Change inner while to an if. Move
uninterruptible signal handling here.
(sigproc_terminate): Don't call sig_dispatch_pending. Just increment semaphore
on exit.
* speclib: Use slightly different (but still flawed) method for determining
symbols to extract from libraries.
cgf [Tue, 19 Aug 2003 01:17:53 +0000 (01:17 +0000)]
correct attribution, since this is not Pierre's patch.
cgf [Tue, 19 Aug 2003 00:31:55 +0000 (00:31 +0000)]
* exceptions.cc (sigdelayed): Fix race where signal handler could get the wrong
mask.
cgf [Tue, 19 Aug 2003 00:18:48 +0000 (00:18 +0000)]
* path.cc (mount): Add null/empty check for input parameters.
(umount): Add null/empty check for input parameters.
gdbadmin [Tue, 19 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 19 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
cagney [Mon, 18 Aug 2003 20:04:54 +0000 (20:04 +0000)]
Index: ChangeLog
2003-08-18 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method.
* gdbarch.h, gdbarch.c: Re-generate.
* infcall.c (call_function_by_hand): Adjust the SP by
frame_red_zone_size before allocating any stack space.
* rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size".
* x86-64-tdep.c (x86_64_frame_align): New function.
(x86_64_init_abi): Set "frame_red_zone_size" and "frame_align".
* x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change.
Remove code adjusting SP so that it skips over the Red Zone.
Index: doc/ChangeLog
2003-08-18 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
"frame_red_zone_size".
hjl [Mon, 18 Aug 2003 18:26:56 +0000 (18:26 +0000)]
2003-08-18 Andreas Schwab <schwab@suse.de>
* libpei.h (bfd_pe_executable_p): Also recognize efi-app
executables.
kettenis [Mon, 18 Aug 2003 18:20:18 +0000 (18:20 +0000)]
* NEWS (New native configurations): Mention FreeBSD/amd64.
cagney [Mon, 18 Aug 2003 17:35:16 +0000 (17:35 +0000)]
2003-08-18 Andrew Cagney <cagney@redhat.com>
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set
"dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of
"m68k_frame_p".
(m68hc11_frame_sniffer): Replace "m68hc11_frame_p".
kettenis [Mon, 18 Aug 2003 17:33:25 +0000 (17:33 +0000)]
* x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace.
corinna [Mon, 18 Aug 2003 15:54:26 +0000 (15:54 +0000)]
Touch version.h to avoid build message.
mludvig [Mon, 18 Aug 2003 13:42:12 +0000 (13:42 +0000)]
2003-08-18 Michal Ludvig <mludvig@suse.cz>
* config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
Define.
* i386-linux-nat.c: Include "linux-nat.h".
(child_post_startup_inferior): New function.
dannysmith [Mon, 18 Aug 2003 09:43:23 +0000 (09:43 +0000)]
2003-08-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/commctrl.h (TB_*) Group defines together.
2003-08-17 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/winuser.h (ICON_SMALL2): Define.
* include/commctrl.h (TB_SETBUTTONWIDTH,TB_SETDRAWTEXTFLAGS):
Define.
* include/shlobj.h (SHDRAGIMAGE): Define structure.
(IDragSourceHelper) Define interface.
(IDropTargetHelper): Likewise.
(IExtractIcon): Unicode it.
(ICommDlgBrowser): Use IShellView type as param in OnDefaultCommand,
OnStateChange and IncludeObject methods.
gdbadmin [Mon, 18 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 18 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
kettenis [Sun, 17 Aug 2003 23:18:31 +0000 (23:18 +0000)]
* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
* gdb.arch/i386-prologue.c (gdb1338): Add function.
kettenis [Sun, 17 Aug 2003 23:16:44 +0000 (23:16 +0000)]
* i386-tdep.c (i386_analyze_register_saves): Handle register saves
at the start of a frameless function. This probably fixes PR
backtrace/1338.
chastain [Sun, 17 Aug 2003 22:33:08 +0000 (22:33 +0000)]
2003-08-17 Michael Chastain <mec@shout.net>
* symfile.c (find_sym_fns): Remove special case for apollo target.
drow [Sun, 17 Aug 2003 20:17:02 +0000 (20:17 +0000)]
* linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define.
(PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define.
(linux_parent_pid, linux_supports_tracevforkdone_flag): New variable.
(linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag.
(linux_supports_tracevforkdone): New function.
(linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and
TRACEVFORKDONE.
(child_follow_fork): Handle vfork.
(linux_handle_extended_wait): Likewise. Also handle exec.
(child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable.
* NEWS: Mention fork tracing.
drow [Sun, 17 Aug 2003 18:52:58 +0000 (18:52 +0000)]
* lin-lwp.c (child_wait): Call linux_record_stopped_pid.
drow [Sun, 17 Aug 2003 18:22:24 +0000 (18:22 +0000)]
* Makefile.in (i386-linux-nat.o): Update dependencies.
* config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define.
* config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH)
(CHILD_FOLLOW_FORK, KILL_INFERIOR): Define.
* i386-linux-nat.c: Include "linux-nat.h".
(child_post_startup_inferior): New function.
* i386-nat.c (child_post_startup_inferior): Wrap in #ifdef.
* infptrace.c (kill_inferior): Wrap in #ifdef.
* lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after
attaching to each LWP.
(child_wait, lin_lwp_wait): Call linux_handle_extended_wait.
(init_lin_lwp_ops): Fill in some more operations.
* linux-nat.h (linux_enable_event_reporting)
(linux_handle_extended_wait, linux_child_post_startup_inferior): New
prototypes.
* linux-nat.c (linux_enable_event_reporting): New function.
(child_post_attach, linux_child_post_startup_inferior)
(child_post_startup_inferior, child_follow_fork)
(linux_handle_extended_wait, kill_inferior): New functions.
corinna [Sun, 17 Aug 2003 17:50:39 +0000 (17:50 +0000)]
* grp.cc (read_group): Revert previous change.
* uinfo.cc (pwdgrp::load): Always reset curr_lines.
corinna [Sun, 17 Aug 2003 17:26:08 +0000 (17:26 +0000)]
* dump_setup.cc (check_package_files): Strip leading / and ./ from
package file names.
drow [Sun, 17 Aug 2003 17:23:13 +0000 (17:23 +0000)]
* mi-var-display.exp (-var-list-children weird): Accept function
pointers with argument types.
* mi1-var-display.exp (-var-list-children weird): Likewise.
* mi2-var-display.exp (-var-list-children weird): Likewise.
corinna [Sun, 17 Aug 2003 17:12:18 +0000 (17:12 +0000)]
* errno.cc (errmap): Map ERROR_INVALID_BLOCK_LENGTH to EIO.
* fhandler_raw.cc (fhandler_dev_raw::raw_read): Set more accurate
errnos instead of EACCES.
(fhandler_dev_raw::raw_write): Ditto.
drow [Sun, 17 Aug 2003 16:50:59 +0000 (16:50 +0000)]
* gdb.base/annota3.exp: Add missing newline.
cgf [Sun, 17 Aug 2003 16:33:15 +0000 (16:33 +0000)]
* path.cc (special_name): Accommodate all special names with extensions.
dannysmith [Sun, 17 Aug 2003 08:55:28 +0000 (08:55 +0000)]
Add ChangeLog entry for last commit.