Commit Graph

43045 Commits

Author SHA1 Message Date
gdbadmin fab9c64493 *** empty log message *** 2004-02-13 00:00:02 +00:00
Alan Modra 7cdf177637 daily update 2004-02-12 23:00:05 +00:00
Michael Snyder d60d62653d 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.
2004-02-12 22:29:48 +00:00
Michael Snyder 3e5117978b 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.
2004-02-12 19:32:12 +00:00
Andrew Cagney 6a7760b682 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.
2004-02-12 18:43:09 +00:00
Elena Zannoni 49efadf5a0 2004-02-12 Elena Zannoni <ezannoni@redhat.com>
* gdb.texinfo: Properly quote the name "C++".
 	* gdbint.texinfo: Ditto.
 	* stabs.texinfo: Ditto.
2004-02-12 17:46:40 +00:00
Andrew Cagney 31687c3c25 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.
2004-02-12 16:52:45 +00:00
Fred Fish 9564ee9f56 Fix obvious typo (completly -> completely) and update copyrights as needed 2004-02-12 00:17:53 +00:00
gdbadmin 0a064bb6f9 *** empty log message *** 2004-02-12 00:00:02 +00:00
Andrew Cagney 7c1927339f 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.
2004-02-11 23:23:20 +00:00
Alan Modra 63338fd920 daily update 2004-02-11 23:00:05 +00:00
Jeff Johnston 6bdfc2c47f 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
* gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
        executed is an alloc instruction.
2004-02-11 22:15:06 +00:00
Andrew Cagney c1ea0c0914 * config.in: Re-generate. 2004-02-11 22:05:35 +00:00
Andrew Cagney 1012372a47 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.
2004-02-11 22:01:00 +00:00
Daniel Jacobowitz 6de918a6f5 * 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.
2004-02-11 18:47:27 +00:00
David Carlton 87b3ede8af 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.
2004-02-11 18:04:14 +00:00
DJ Delorie 3769cd82e7 * configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.
2004-02-11 17:52:06 +00:00
DJ Delorie a92834c827 * configure.in (host): Add in missing $noconfigdirs to defines.
* configure: Regenerate.
2004-02-11 17:50:38 +00:00
Andrew Cagney 5979bc4677 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.
2004-02-11 16:46:20 +00:00
Andrew Cagney 5867a2fbbf 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.
2004-02-11 15:40:28 +00:00
Corinna Vinschen 026a72f836 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
comma.
	(sh_sh4al_dsp_register_name): Ditto.
2004-02-11 15:36:09 +00:00
Elena Zannoni 1eb288ea73 2004-02-11 Elena Zannoni <ezannoni@redhat.com>
* gdbint.texinfo (Support Libraries): Add doco about obstacks and
       minimal information about libiberty.
2004-02-11 15:11:35 +00:00
Michael Chastain 6e19e2bf78 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.
2004-02-11 14:01:25 +00:00
Jim Wilson 936cf02ed4 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.
2004-02-11 01:35:14 +00:00
Andrew Cagney 3903d4379d 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.
2004-02-11 00:02:52 +00:00
gdbadmin 20ede57d1a *** empty log message *** 2004-02-11 00:01:02 +00:00
Alan Modra 3ab2a9a6b9 daily update 2004-02-10 23:00:05 +00:00
Andrew Cagney b9fb98bd66 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.
2004-02-10 22:15:40 +00:00
Andrew Cagney 5c5455dc1e 2004-02-10 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_expect_list): Recover from internal-errors
	using gdb_internal_error_resync.
2004-02-10 21:00:15 +00:00
Andrew Cagney 8e08f1091d Really add "gdb_curses.h". 2004-02-10 20:03:44 +00:00
Jeff Johnston afa8c3c85f Removing conflict indicators that CVS only told me about after it checked the
file in.
2004-02-10 19:36:49 +00:00
Jeff Johnston 78ced17712 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.
2004-02-10 19:35:59 +00:00
Andrew Cagney 6a83354a43 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.
2004-02-10 19:08:19 +00:00
Elena Zannoni 997470efab 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.
2004-02-10 18:22:02 +00:00
DJ Delorie a2592b1b53 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.
2004-02-10 17:57:02 +00:00
Andrew Cagney 4ff2cc4dfb 2004-02-10 Andrew Cagney <cagney@redhat.com>
* Makefile.in (init.c): Fix script removing duplicates. Problem
	reported by Peter Schauer.
2004-02-10 16:43:58 +00:00
gdbadmin 0df3397043 *** empty log message *** 2004-02-10 00:00:32 +00:00
Elena Zannoni 1ab216172b 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.
2004-02-09 23:50:55 +00:00
Alan Modra f80e2ec4e8 daily update 2004-02-09 23:00:05 +00:00
Daniel Jacobowitz 9cf689d7c7 * gdb.threads/thread-specific.exp: Stop early if no threads are
found.
2004-02-09 22:45:35 +00:00
Elena Zannoni 17763fd99b 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.
2004-02-09 22:29:21 +00:00
Daniel Jacobowitz ec5cdd7559 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
obstack_free.
2004-02-09 22:19:26 +00:00
Andrew Cagney 43b54b88e7 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.
2004-02-09 19:13:46 +00:00
Daniel Jacobowitz f380691611 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
.note.gnu.arm.ident to after allocated sections.  Mark its
	address as 0.
2004-02-09 18:06:20 +00:00
Daniel Jacobowitz e41f12f300 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
read-only.
2004-02-09 18:04:26 +00:00
Daniel Jacobowitz 4c8e70d733 * 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.
2004-02-09 17:54:25 +00:00
Kaz Kojima 206eb3b641 * gas/sh/basic.exp: Don't do sh4a tests for sh5. 2004-02-09 12:45:52 +00:00
Nick Clifton 3255318a04 Add support for relaxing the 32bit ldc/stc instructions. 2004-02-09 12:15:57 +00:00
Nathan Sidwell a8a3b3b21c * 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.
2004-02-09 12:12:42 +00:00
Michael Chastain d2dc51dbff 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/pending.exp: Remove extra \n from gdb_test calls.
2004-02-09 10:55:24 +00:00