OSDN Git Service
bje [Fri, 13 Feb 2004 02:55:11 +0000 (02:55 +0000)]
2004-02-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.dot.com>
* cpu/m32r.opc (my_print_insn): Fixed incorrect output when
disassembling codes for 0x*2 addresses.
msnyder [Fri, 13 Feb 2004 00:01:19 +0000 (00:01 +0000)]
2004-02-02 Michael Snyder <msnyder@redhat.com>
* gencode.c (movua.l): Set thislock to 0, not n.
gdbadmin [Fri, 13 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 12 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update
msnyder [Thu, 12 Feb 2004 22:29:48 +0000 (22:29 +0000)]
2004-02-12 Michael Snyder <msnyder@redhat.com>
* and.s, movi.s, sett.s: New files.
* allinsn.exp: Add new tests.
* testutils.inc (set_sr_bit): Fix macro labels.
brolley [Thu, 12 Feb 2004 20:30:08 +0000 (20:30 +0000)]
2004-02-12 Dave Brolley <brolley@redhat.com>
* elfload.h: Use 'unsigned long long' instead of host_int_8.
(struct TextSection): Moved here from elfload.c
(SHF_EXECINSTR): New macro.
* elfload.c (loadAreas): Now a pointer to a dynamically allocated
table.
(textSections): Ditto.
(newLoadArea): New static function.
(newTextSection): Ditto.
(textSectionAddress): Now takes a pointer to a section table.
(readElfFile): fileHeader, psymHdr, secHdr now automatic arrays.
Allocate loadAreas and textSections as required. Build textSections
from the ELF section table; one for each executable loaded.
* compLoader.cxx (sid::host_int_8): Add 'using' clause.
(textSegmentAddress): renamed to textSectionAddress and moved to
elfload.h.
(setSection_table): New method of loader_probe_bus.
(SID_GB_WRITE): Call textSectionAddress and pass section_table.
(section_table): New member of loader_probe_bus.
(load_it): Get section_table address from readElfFile.
* Makefile.am (LIBIBERTY): New variable.
(libloader_la_LIBADD): Add $(LIBIBERTY).
* Makefile.in: Regenerated.
msnyder [Thu, 12 Feb 2004 19:32:12 +0000 (19:32 +0000)]
2004-02-12 Michael Snyder <msnyder@redhat.com>
* gencode.c (table): Change from char to short.
(dumptable): Change generated table from char to short.
* interp.c (sh_jump_table, sh_dsp_table, ppi_table): char to short.
(init_dsp): Compute size of sh_dsp_table.
(sim_resume): Change jump_table from char to short.
cagney [Thu, 12 Feb 2004 18:43:08 +0000 (18:43 +0000)]
2004-02-12 Andrew Cagney <cagney@redhat.com>
* remote-rdi.c (arm_rdi_start_remote): Delete unused function.
(arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
(interrupt_query): Ditto.
(ofunc): Delete unused variable.
* cris-tdep.c (cris_abi): Delete unused function.
(reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
(cris_get_wide_opcode, cris_get_short_size): Ditto.
(cris_get_asr_quick_shift_steps): Ditto.
(cris_skip_prologue_frameless_p): Ditto.
* arm-tdep.c (arm_push_return_address): Delete unused function.
(arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
* rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
* s390-tdep.c (s390_function_start): Delete unused function.
ezannoni [Thu, 12 Feb 2004 17:46:40 +0000 (17:46 +0000)]
2004-02-12 Elena Zannoni <ezannoni@redhat.com>
* gdb.texinfo: Properly quote the name "C++".
* gdbint.texinfo: Ditto.
* stabs.texinfo: Ditto.
cagney [Thu, 12 Feb 2004 16:52:43 +0000 (16:52 +0000)]
2004-02-12 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
gdbarch.h, gdbarch.c: Re-generate.
* cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
to generic_prologue_frameless_p.
* arch-utils.h (generic_prologue_frameless_p): Delete declaration.
* arch-utils.c (generic_prologue_frameless_p): Delete function.
cgf [Thu, 12 Feb 2004 04:55:28 +0000 (04:55 +0000)]
* gendef (_sigbe): Zero location on pop.
(_cygtls::pop): Ditto.
cgf [Thu, 12 Feb 2004 03:07:35 +0000 (03:07 +0000)]
* dcrt0.cc (alloc_stack_hard_way): Eliminate second argument.
(alloc_stack): Remove use of 'b' throughout.
cgf [Thu, 12 Feb 2004 03:01:57 +0000 (03:01 +0000)]
Rename _threadinfo to _cygtls, throughout.
* cygtls.h (_cygtls::call_signal_handler): Rename from call_signal_handler_now.
(_cygtls::push): Make second argument mandatory.
(_cygtls::fixup_after_fork): Declare new function.
(_cygtls::lock): Ditto.
* cygtls.cc (_cygtls::fixup_after_fork): Define new function.
* dcrt0.cc (cygwin_finished_initializing): Define as bool.
(alloc_stack): Use _tlstop rather than arbitrary variable in probably vain
attempt to avoid strange fork problem on CTRL-C.
(dll_crt0_0): Remove obsolete winpids::init call.
* dll_init.cc (dll_dllcrt0): Detect forkee condition as equivalent to
initializing.
* winsup.h (cygwin_finished_initializing): Declare as bool.
* exceptions.cc (handle_exceptions): Rely on cygwin_finished_initializing to
determine how to handle exception during process startup.
(_cygtls::call_signal_handler): Rename from call_signal_handler_now.
(_cygtls::interrupt_now): Fill in second argument to push.
(signal_fixup_after_fork): Eliminate.
(setup_handler): Initialize locked to avoid potential inappropriate unlock.
Resume thread if it has acquired the stack lock.
(ctrl_c_handler): Just exit if ctrl-c is hit before cygiwn has finished
initializing.
* fork.cc (sync_with_child): Don't call abort since it can cause exit
deadlocks.
(sync_with_child): Change debugging output slightly.
(fork_child): Set cygwin_finished_initializing here. Call _cygtls fork fixup
and explicitly call sigproc_init.
(fork_parent): Release malloc lock on fork failure.
(vfork): Call signal handler via _my_tls.
* sigproc.cc (sig_send): Ditto.
* syscalls.cc (readv): Ditto.
* termios.cc (tcsetattr): Ditto.
* wait.cc (wait4): Ditto.
* signal.cc (nanosleep): Ditto.
(abort): Ditto.
(kill_pgrp): Avoid killing self if exiting.
* sync.cc (muto::acquire): Remove (temporarily?) ill-advised exiting_thread
check.
* gendef (_sigfe): Be more agressive in protecting stack pointer from other
access by signal thread.
(_cygtls::locked): Define new function.
(_sigbe): Ditto.
(_cygtls::pop): Protect edx.
(_cygtls::lock): Use guaranteed method to set eax to 1.
(longjmp): Aggressively protect signal stack.
* miscfuncs.cc (low_priority_sleep): Reduce "sleep time" for secs == 0.
* pinfo.cc (winpids::set): Counterintuitively use malloc's lock to protect
simultaneous access to the pids list since there are pathological conditions
which can cause malloc to call winpid.
(winpids::init): Eliminate.
* pinfo.h (winpids::cs): Eliminate declaration.
* pinfo.h (winpids::init): Eliminate definition.
dannysmith [Thu, 12 Feb 2004 00:20:30 +0000 (00:20 +0000)]
* include/basetypes.h (_REFIID_DEFINED): Correct typo.
* include/winuser.h (NCCALCSIZE_PARAMS): Define structure.
Thanks to Mike Nordell <tamlin at algonet dot se>.
fnf [Thu, 12 Feb 2004 00:17:52 +0000 (00:17 +0000)]
Fix obvious typo (completly -> completely) and update copyrights as needed
gdbadmin [Thu, 12 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Wed, 11 Feb 2004 23:23:20 +0000 (23:23 +0000)]
2004-02-11 Andrew Cagney <cagney@redhat.com>
* bfd-in.h: Update copyright.
(bfd_tell): Change return type to file_ptr.
* bfd-in2.h: Re-generate.
* cache.c: Update copyright.
(bfd_cache_lookup_worker): Use real_fseek, do not cast offset
parameter.
(close_one): Use real_ftell.
* bfdio.c: Update copyright.
(real_ftell, real_fseek): New functions.
(bfd_tell): Use real_fseek and real_ftell, change return type to
file_ptr.
(bfd_seek): Use real_ftell and real_fseek, change type of
file_position to a file_ptr.
* libbfd-in.h: Update copyright.
(real_ftell, real_fseek): Declare.
* libbfd.h: Re-generate.
amodra [Wed, 11 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update
jjohnstn [Wed, 11 Feb 2004 22:15:05 +0000 (22:15 +0000)]
2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
* gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
executed is an alloc instruction.
cagney [Wed, 11 Feb 2004 22:05:34 +0000 (22:05 +0000)]
* config.in: Re-generate.
cagney [Wed, 11 Feb 2004 22:00:58 +0000 (22:00 +0000)]
2004-02-11 Andrew Cagney <cagney@redhat.com>
* configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64,
fseeko and fseeko64. Determine bfd_file_ptr.
* configure: Re-generate.
dannysmith [Wed, 11 Feb 2004 19:57:58 +0000 (19:57 +0000)]
* lib/dnsapi.a: New file.
* lib/test.c: Include windns,h.
dannysmith [Wed, 11 Feb 2004 19:54:28 +0000 (19:54 +0000)]
2004-02-11 Pierre A. Humblet <Pierre.Humblet@ieee.org>
* include/windns.h: New file.
dannysmith [Wed, 11 Feb 2004 19:48:21 +0000 (19:48 +0000)]
* include/sqlucode.h (SQLGetStmtAttr[AW]): Remove duplicate
defines.
(SQLSetStmtAttr[AW]): Move into ODBCVER >= 0x0300 block.
(SQLSetDescFieldW): Correct prototype.
(SQLSetDescFieldA): Add prototype.
(SQLGetDescFieldW): Add prototype.
dannysmith [Wed, 11 Feb 2004 19:46:20 +0000 (19:46 +0000)]
2004-02-11 Pat Thoyts <patthoyts@users.sourceforge.net>
* include/winuser.h (DFC_POPUPMENU): Add define.
drow [Wed, 11 Feb 2004 18:47:25 +0000 (18:47 +0000)]
* mips-linux-tdep.c: Include "frame.h".
(mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
(mips_linux_skip_resolver): New functions.
(mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
and set_gdbarch_in_solib_call_trampoline.
* mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
to after set_gdbarch_in_solib_return_trampoline. Only set the
solib hooks to mips16 functions if the OS ABI is unknown.
* config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
including "config/tm-linux.h".
(IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
* Makefile.in (mips-linux-tdep.o): Update.
carlton [Wed, 11 Feb 2004 18:04:13 +0000 (18:04 +0000)]
2004-02-11 David Carlton <carlton@kealia.com>
* linespec.c (decode_compound): Only look for a class symbol when
considering all but the rightmost component.
2004-02-11 David Carlton <carlton@kealia.com>
* gdb.cp/breakpoint.exp: New.
* gdb.cp/breakpoint.cc: New.
corinna [Wed, 11 Feb 2004 17:54:34 +0000 (17:54 +0000)]
* security.cc (get_nt_object_attribute): Fix error handling.
dj [Wed, 11 Feb 2004 17:52:06 +0000 (17:52 +0000)]
* configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.
dj [Wed, 11 Feb 2004 17:50:38 +0000 (17:50 +0000)]
* configure.in (host): Add in missing $noconfigdirs to defines.
* configure: Regenerate.
cagney [Wed, 11 Feb 2004 16:46:18 +0000 (16:46 +0000)]
2004-02-11 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
abi code are are separatly grouped.
cagney [Wed, 11 Feb 2004 15:40:26 +0000 (15:40 +0000)]
2004-02-11 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sh64-tdep.c (sh64_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* m32r-tdep.c (m32r_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* d10v-tdep.c (d10v_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
corinna [Wed, 11 Feb 2004 15:36:07 +0000 (15:36 +0000)]
* sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
comma.
(sh_sh4al_dsp_register_name): Ditto.
ezannoni [Wed, 11 Feb 2004 15:11:35 +0000 (15:11 +0000)]
2004-02-11 Elena Zannoni <ezannoni@redhat.com>
* gdbint.texinfo (Support Libraries): Add doco about obstacks and
minimal information about libiberty.
chastain [Wed, 11 Feb 2004 14:01:25 +0000 (14:01 +0000)]
2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR gdb/1543.
* gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
to bug-gdb@prep.ai.mit.edu .
* gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
Likewise.
corinna [Wed, 11 Feb 2004 13:30:02 +0000 (13:30 +0000)]
* strace.cc (opts): Add leading '+' to force posixly correct
behaviour.
(main): Revert POSIXLY_CORRECT manipulations.
joshuadfranklin [Wed, 11 Feb 2004 04:10:47 +0000 (04:10 +0000)]
* utils.sgml: Update cygcheck options
wilson [Wed, 11 Feb 2004 01:35:14 +0000 (01:35 +0000)]
Patch from Steve Ellcey for ia64-hpux.
* config/tc-ia64.h (ia64_frob_symbol): New declaration.
(tc_frob_symbol): New macro definition.
* config/tc-ia64.c (ia64_frob_symbol): New routine.
cgf [Wed, 11 Feb 2004 00:47:52 +0000 (00:47 +0000)]
* libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
* libm/mathfp/er_lgamma.c (lgamma): Ditto.
* libm/mathfp/erf_gamma.c (gammaf): Ditto.
* libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
cgf [Wed, 11 Feb 2004 00:29:42 +0000 (00:29 +0000)]
* strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
cagney [Wed, 11 Feb 2004 00:02:50 +0000 (00:02 +0000)]
2004-02-10 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
(mips_init_frame_pc_first): Delete function.
(mips_frame_saved_pc): Delete function.
(mips_frame_chain): Delete function.
(mips_init_extra_frame_info): Delete function.
(mips_xfer_register): Delete unused variable "reg".
(mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
(mips_n32n64_return_value): Delete unused variable "reg".
(mips_n32n64_return_value): Delete unused variable "pos".
(mips_o32_push_dummy_call): Delete unused variable "valbuf".
(mips_o32_return_value): Delete unused variable "pos".
(mips_o64_push_dummy_call): Delete unused variable "valbuf".
(mips_print_fp_register): Delete unused variable "namelen"
(mips_print_fp_register): Delete unused variable "flt2"
(get_frame_pointer): Delete function.
(cached_proc_desc): Delete static variable.
(mips_pop_frame): Delete function.
(mips_find_saved_regs): Delete function.
(mips_get_saved_register): Delete function.
(mips_saved_pc_after_call): Delete function.
(SIGFRAME_BASE): Delete macro.
(SIGFRAME_FPREGSAVE_OFF): Delete macro.
(SIGFRAME_PC_OFF): Delete macro.
(SIGFRAME_REGSAVE_OFF): Delete macro.
(mips_dump_tdep): Do not print deleted macro definitions.
gdbadmin [Wed, 11 Feb 2004 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***
amodra [Tue, 10 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Tue, 10 Feb 2004 22:15:38 +0000 (22:15 +0000)]
2004-02-10 Andrew Cagney <cagney@redhat.com>
* Makefile.in (SFILES): Remove explictly listed tui files.
(SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
cagney [Tue, 10 Feb 2004 21:00:15 +0000 (21:00 +0000)]
2004-02-10 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_expect_list): Recover from internal-errors
using gdb_internal_error_resync.
cagney [Tue, 10 Feb 2004 20:03:44 +0000 (20:03 +0000)]
Really add "gdb_curses.h".
jjohnstn [Tue, 10 Feb 2004 19:36:49 +0000 (19:36 +0000)]
Removing conflict indicators that CVS only told me about after it checked the
file in.
jjohnstn [Tue, 10 Feb 2004 19:35:59 +0000 (19:35 +0000)]
2004-02-10 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
to use paddr functions to format ia64 addresses and long values.
(ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
(ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
(get_kernel_table, ia64_find_proc_info_x): Ditto.
(ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
(ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
cagney [Tue, 10 Feb 2004 19:08:09 +0000 (19:08 +0000)]
2004-02-10 Andrew Cagney <cagney@redhat.com>
* defs.h: Do not include "tui.h".
* gdb_curses.h: New file.
* tui/tui-hooks.h: New file.
* tui/tui.h (tui_update_all_exec_infos): Delete declaration.
(tui_install_hooks, tui_remove_hooks): Delete declarations.
(tui_initialize_io): Delete declaration.
(tui_initialize_readline: Delete redundant declaration.
(struct tui_point): Delete definition.
* tui/tui-data.h (struct tui_point): Define.
* cli/cli-decode.c [TUI]: Include "tui/tui.h".
* utils.c: Include "tui/tui.h".
* tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
* printcmd.c [TUI]: Include "tui/tui.h".
* cli/cli-cmds.c [TUI]: Include "tui/tui.h".
* tui/tui-command.c: Include "gdb_curses.h".
* tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
* tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
* tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
* tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
* tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
* Makefile.in: Update all dependencies.
(tui_hooks_h, gdb_curses_h): Define.
(SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
ezannoni [Tue, 10 Feb 2004 18:22:02 +0000 (18:22 +0000)]
2004-02-10 Elena Zannoni <ezannoni@redhat.com>
* objfiles.h (struct objfile): Remove unused fields auxf1 and
auxf2. Add comments about some other rarely used fields.
dj [Tue, 10 Feb 2004 17:57:01 +0000 (17:57 +0000)]
2004-02-10 Arnaud Charlet <charlet@act-europe.fr>,
Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/6637, PR ada/5911
Merge with libada-branch:
* configure.in, Makefile.tpl, Makefile.def: Add target-libada,
with appropriate dependencies. Add --enable-libada configure switch.
* configure, Makefile.in: Regenerate.
cagney [Tue, 10 Feb 2004 16:43:57 +0000 (16:43 +0000)]
2004-02-10 Andrew Cagney <cagney@redhat.com>
* Makefile.in (init.c): Fix script removing duplicates. Problem
reported by Peter Schauer.
cgf [Tue, 10 Feb 2004 16:15:52 +0000 (16:15 +0000)]
* strace.cc: Update copyrights.
* cygcheck.cc: Update copyrights.
cgf [Tue, 10 Feb 2004 16:01:31 +0000 (16:01 +0000)]
* strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
* cygcheck.cc (main): Ditto.
gdbadmin [Tue, 10 Feb 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
ezannoni [Mon, 9 Feb 2004 23:50:53 +0000 (23:50 +0000)]
2004-02-09 Elena Zannoni <ezannoni@redhat.com>
* bcache.c (bcache_xmalloc): Use obstack_init instead of
obstack_specify_allocation.
* objfiles.c (allocate_objfile): Ditto.
* solib-sunos.c (solib_add_common_symbols)
(allocate_rt_common_objfile): Ditto.
* symfile.c (reread_symbols): Ditto.
* gdb_obstack.h: Add comment.
amodra [Mon, 9 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Mon, 9 Feb 2004 22:56:45 +0000 (22:56 +0000)]
* libc/include/time.h (TIMER_RELTIME): New define.
drow [Mon, 9 Feb 2004 22:45:35 +0000 (22:45 +0000)]
* gdb.threads/thread-specific.exp: Stop early if no threads are
found.
ezannoni [Mon, 9 Feb 2004 22:29:19 +0000 (22:29 +0000)]
2004-02-09 Elena Zannoni <ezannoni@redhat.com>
* linespec.c (decode_line_1, locate_first_half)
(decode_compound, lookup_prefix_sym): Update comments. Delete old
commented out code.
drow [Mon, 9 Feb 2004 22:19:26 +0000 (22:19 +0000)]
* cp-namespace.c (check_one_possible_namespace_symbol): Don't use
obstack_free.
jjohnstn [Mon, 9 Feb 2004 21:47:47 +0000 (21:47 +0000)]
2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
* libc/stdlib/Makefile.in: Regenerated.
cagney [Mon, 9 Feb 2004 19:13:46 +0000 (19:13 +0000)]
2004-02-09 Andrew Cagney <cagney@redhat.com>
* blockframe.c (find_pc_partial_function): If find_pc_overlay
fails, try find_pc_section. Fix PR c++/1267.
* minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
instead of find_pc_mapped_section.
(lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
not default to the section containing PC. Fix PR symtab/1519.
drow [Mon, 9 Feb 2004 18:06:19 +0000 (18:06 +0000)]
* emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
.note.gnu.arm.ident to after allocated sections. Mark its
address as 0.
drow [Mon, 9 Feb 2004 18:04:25 +0000 (18:04 +0000)]
* config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
read-only.
drow [Mon, 9 Feb 2004 17:54:23 +0000 (17:54 +0000)]
* emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
* emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
* emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
* emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
* emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
kkojima [Mon, 9 Feb 2004 12:45:51 +0000 (12:45 +0000)]
* gas/sh/basic.exp: Don't do sh4a tests for sh5.
nickc [Mon, 9 Feb 2004 12:15:56 +0000 (12:15 +0000)]
Add support for relaxing the 32bit ldc/stc instructions.
nathan [Mon, 9 Feb 2004 12:12:42 +0000 (12:12 +0000)]
* read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
(TC_CASE_SENSITIVE): ... this.
* read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
* doc/internals.texi (TC_CASE_SENSITIVE): Document.
corinna [Mon, 9 Feb 2004 11:30:56 +0000 (11:30 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Add FIONREAD handling.
chastain [Mon, 9 Feb 2004 10:55:22 +0000 (10:55 +0000)]
2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/pending.exp: Remove extra \n from gdb_test calls.
nickc [Mon, 9 Feb 2004 10:30:12 +0000 (10:30 +0000)]
Catch GOT offsets for a symbol which have no associated GOT subsection.
rsandifo [Mon, 9 Feb 2004 08:03:59 +0000 (08:03 +0000)]
* bfd-elf.h (elf_backend_name_local_section_symbols): New hook.
* elf.c (swap_out_syms): Use it to decide whether local section
symbols should be named.
* elfxx-target.h (elf_backend_name_local_section_symbols): New macro.
* elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare.
(elf_backend_name_local_section_symbols): Define.
* elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New.
cagney [Mon, 9 Feb 2004 05:29:52 +0000 (05:29 +0000)]
2004-02-09 Andrew Cagney <cagney@redhat.com>
* Makefile.in (mips-tdep.o): Update dependencies.
* mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
"trad-frame.h".
(mips_unwind_pc): Return the pseudo PC register.
(mips_unwind_dummy_id): New function.
(mips16_fetch_instruction): New function.
(mips32_fetch_instruction): New function.
(struct mips_frame_cache): Define.
(mips_mdebug_frame_cache): New function.
(mips_mdebug_frame_this_id): New function.
(mips_mdebug_frame_prev_register): New function.
(mips_mdebug_frame_unwind): Define.
(mips_mdebug_frame_sniffer): New function.
(mips_mdebug_frame_base_address): New function.
(mips_mdebug_frame_base): Define.
(mips_mdebug_frame_base_sniffer): New function.
(mips_gdbarch_init): Append unwind and base sniffers. Set
unwind_dummy_id.
cagney [Mon, 9 Feb 2004 04:10:56 +0000 (04:10 +0000)]
2004-02-08 Andrew Cagney <cagney@redhat.com>
* frame.c: Print both the register number and name.
cgf [Mon, 9 Feb 2004 04:04:22 +0000 (04:04 +0000)]
* debug.h (console_printf): Define for non-debugging condition.
* cygtls.h (_threadinfo::lock): Remove wait argument.
(_threadinfo::interrupt_setup): Remove retaddr argument.
* exceptions.cc (_threadinfo::interrupt_setup): Ditto.
(_threadinfo::interrupt_now): Accommodate change to interrupt_setup argument.
(setup_handler): Ditto. Always lock sig stack prior to determining interrupt
method.
* gendef (_sigfe): Correct thinko regarding cmpxchg.
(_sigbe): Ditto.
(_threadinfo::lock): Ditto.
(_threadinfo::pop): Eliminate left-over stack unlock.
* sigproc.cc (proc_subproc): Chnage debugging output to printed warning.
cgf [Mon, 9 Feb 2004 02:22:01 +0000 (02:22 +0000)]
* libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
* libc/include/sys/reent.h (__getreent): Protect against possibly being
defined.
* libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
gdbadmin [Mon, 9 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 8 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update
drow [Sun, 8 Feb 2004 22:30:42 +0000 (22:30 +0000)]
* lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
breakpoints.
cagney [Sun, 8 Feb 2004 21:42:05 +0000 (21:42 +0000)]
2004-02-08 Andrew Cagney <cagney@redhat.com>
* Makefile.in (OBS): Delete.
(INIT_FILES): Replace OBS with COMMON_OBS.
(COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
(init.c): Eliminate duplicates. Merge two greps and a sed into a
single sed. Make .c and .o patterns more robust.
kettenis [Sun, 8 Feb 2004 21:25:39 +0000 (21:25 +0000)]
* sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
the PT_WCOOKIE request.
cagney [Sun, 8 Feb 2004 21:04:38 +0000 (21:04 +0000)]
2004-02-08 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_unwind_pc): New function.
(mips_gdbarch_init): Set mips_unwind_pc.
cgf [Sun, 8 Feb 2004 19:59:26 +0000 (19:59 +0000)]
* localtime.cc (localtime_r): Call tzset.
* Makefile.in: Make version.h/cygwin.din version check a warning since it is
not foolproof.
* cygheap.h (CYGHEAPSIZE): Bump size down.
* cygtls.h (_threadinfo::stacklock): New element.
(_threadinfo::pop): Make regparm.
(_threadinfo::lock): New function.
(_threadinfo::unlock): New function.
* cygtls.cc (_threadinfo::push): Wait for a lock on the stack before performing
the operation.
(_threadinfo::pop): Move to another file.
* cygwin.din: More SIGFE changes.
* exceptions.cc (try_to_debug): Always display messages on console.
(handle_exceptions): Unwind stack only when actually about to call sig_send.
(setup_handler): Lock stack prior to performing any operations.
* gendef (_sigfe): Ditto.
(_sigbe): Ditto.
(_threadinfo::pop): Ditto. Move here.
* gen_tlsoffsets: Generate positive offsets.
* tlsoffsets.h: Regenerate.
cagney [Sun, 8 Feb 2004 19:34:16 +0000 (19:34 +0000)]
2004-02-08 Andrew Cagney <cagney@redhat.com>
* frame.c (legacy_saved_regs_this_id): Return a null frame ID.
(get_frame_id): Allow the UNKNOWN_FRAME.
(frame_register_unwind, get_frame_type): Ditto.
cagney [Sun, 8 Feb 2004 18:53:14 +0000 (18:53 +0000)]
2004-02-08 Andrew Cagney <cagney@redhat.com>
* frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
and DEPRECATED_FP_REGNUM. Don't assume that the lack of
unwind_dummy_id indicates a legacy frame.
cagney [Sun, 8 Feb 2004 17:53:08 +0000 (17:53 +0000)]
2004-02-08 Andrew Cagney <cagney@redhat.com>
* configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
* configure: Re-generate.
cagney [Sun, 8 Feb 2004 17:36:25 +0000 (17:36 +0000)]
2004-02-08 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
methods.
cagney [Sun, 8 Feb 2004 13:47:00 +0000 (13:47 +0000)]
2004-02-08 Andrew Cagney <cagney@redhat.com>
* configure.in (CONFIG_ALL): Set to Makefile target, and not
makefile macro.
* configure: Re-generate.
(CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
* Makefile.in (SUBDIR_CLI_CLEAN): Delete.
(SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
(SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
(SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
(SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
(SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
(SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
(SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
(SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
cagney [Sun, 8 Feb 2004 04:46:12 +0000 (04:46 +0000)]
2004-02-07 Andrew Cagney <cagney@redhat.com>
* Makefile.in: Update all dependencies.
cagney [Sun, 8 Feb 2004 04:25:05 +0000 (04:25 +0000)]
2004-02-07 Andrew Cagney <cagney@redhat.com>
* configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
* configure: Re-generate (with correct autoconf).
* Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
(CONFIG_LIB_OBS, CONFIG_INITS): Delete.
(COMMON_OBS): Add "main.o" and "annotate.o".
(ANNOTATE_OBS): Delete.
(OBS): Remove ANNOTATE_OBS.
(DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
CONFIG_INITS.
(gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
against CONFIG_OBS and "main.o".
(SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
(SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
drow [Sun, 8 Feb 2004 03:56:14 +0000 (03:56 +0000)]
* config/sim.exp (gdb_load): Handle $arg == "".
* lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
* gdb.objc/basicclass.exp: Use gdb_run_cmd.
drow [Sun, 8 Feb 2004 03:31:42 +0000 (03:31 +0000)]
* baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
cagney [Sun, 8 Feb 2004 01:32:25 +0000 (01:32 +0000)]
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui-command.c: Include "gdb_string.h", delete register
attribute, use ISO-C function signatures.
* tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
* tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
* tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
* tui/tui.c: Ditto.
cagney [Sun, 8 Feb 2004 00:05:15 +0000 (00:05 +0000)]
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui-command.c: Change variable and function names to lower
case.
* tui/tui-data.c, tui/tui-disasm.c: Ditto.
* tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
* tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
* tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
* tui/tui-winsource.c, tui/tui.c: Ditto.
gdbadmin [Sun, 8 Feb 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
ezannoni [Sat, 7 Feb 2004 23:26:47 +0000 (23:26 +0000)]
2004-02-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/maint.exp: Update test to reflect
obstack changes.
ezannoni [Sat, 7 Feb 2004 23:13:46 +0000 (23:13 +0000)]
2004-02-07 Elena Zannoni <ezannoni@redhat.com>
* buildsym.c (free_pending_blocks, finish_block)
(record_pending_block, make_blockvector, end_symtab): Replace
symbol_obstack with objfile_obstack.
* coffread.c (process_coff_symbol, coff_read_struct_type)
(coff_read_enum_type): Ditto.
* cp-namespace.c (initialize_namespace_symtab)
(check_one_possible_namespace_symbol): Ditto.
* dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
(dwarf2_symbol_mark_computed): Ditto.
* dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
* elfread.c (elf_symtab_read): Ditto.
* hpread.c (hpread_symfile_init, hpread_symfile_init)
(hpread_read_enum_type, hpread_read_function_type)
(hpread_read_doc_function_type, hpread_process_one_debug_symbol):
Ditto.
* jv-lang.c (get_java_class_symtab, add_class_symbol)
(java_link_class_type): Ditto.
* mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
(new_symbol): Ditto.
* minsyms.c (install_minimal_symbols): Ditto.
* objfiles.c (allocate_objfile): Remove init of symbol_obstack.
(terminate_minimal_symbol_table): Replace symbol_obstack with
objfile_obstack.
(free_objfile): Remove freeing of symbol_obstack.
* objfiles.h: Remove symbol_obstack field.
* pa64solib.c (add_to_solist): Replace symbol_obstack with
objfile_obstack.
* solib-sunos.c (allocate_rt_common_objfile): Remove init of
symbol_obstack.
(solib_add_common_symbols): Replace symbol_obstack with
objfile_obstack.
* somsolib.c (som_solib_add): Ditto.
* stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
(common_block_start, common_block_end): Ditto.
* symfile.c (reread_symbols): Remove freeing and init of
symbol_obstack.
(allocate_symtab): Rename symbol_obstack to objfile_obstack.
* symfile.h: Update comment.
* symmisc.c (print_objfile_statistics): Remove symbol_obstack
stats printing.
* symtab.c (symbol_set_names): Replace symbol_obstack with
objfile_obstack.
* symtab.h (struct general_symbol_info, struct minimal_symbol):
Update comments.
* xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
(init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
objfile_obstack.
amodra [Sat, 7 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Sat, 7 Feb 2004 20:57:01 +0000 (20:57 +0000)]
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui.h: Do not include <stdarg.h>, <string.h>, and
"ansidecl.h". Do not undef "reg" and "chtype". Fix case of
fields and variables.
* tui/tui-wingeneral.h (m_beVisible): Delete macro.
(m_beInvisible): Delete macro.
* tui/tui-data.h: Fix case case fields and variables.
(m_genWinPtrIsNull): Delete macro.
(tui_win_list): Rename winList.
(TUI_SRC_WIN): Rename srcWin.
(TUI_DISASM_WIN): Rename disassemWin.
(TUI_DATA_WIN): Rename dataWin.
(TUI_CMD_WIN): Rename cmdWin.
(m_genWinPtrNotNull): Delete macro.
(m_winPtrIsNull): Delete macro.
(m_winPtrNotNull): Delete macro.
(tui_win_is_source_type): Replace m_winIsSourceType
(tui_win_is_auxillary): Replace m_winIsAuzillary.
(tui_win_has_locator): Replace m_hasLocator.
(tui_set_win_highlight): Replace m_setWinHighlightOn and
m_setWinHighlightOff.
* tui/tui-data.c: Update references.
(tui_win_is_source_type, tui_set_win_highlight): New functions.
(tui_win_has_locator, tui_win_is_auxillary): New functions.
* tui/tui-command.c, tui/tui-disasm.c: Update references.
* tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
* tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
* tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
* tui/tui-winsource.c, tui/tui.c: Ditto.