Andrew Cagney [Mon, 24 Feb 2003 23:58:32 +0000 (23:58 +0000)]
2003-02-24 Andrew Cagney <cagney@redhat.com>
* infptrace.c (udot_info): Change type of udot_off to long. Use
paddr when printing udot_off's value.
David Carlton [Mon, 24 Feb 2003 23:40:50 +0000 (23:40 +0000)]
2003-02-24 David Carlton <carlton@math.stanford.edu>
* symtab.c (make_symbol_overload_list): Only read in partial
symtabs containing a matching partial symbol.
David Carlton [Mon, 24 Feb 2003 23:37:02 +0000 (23:37 +0000)]
2003-02-24 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
do the comparison, not strcmp.
* symfile.c (compare_psymbols): Ditto.
* defs.h: Declare strcmp_iw_ordered.
* utils.c (strcmp_iw_ordered): New function.
Alan Modra [Mon, 24 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Jim Blandy [Mon, 24 Feb 2003 22:21:13 +0000 (22:21 +0000)]
* MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
support, shared libs): Remove my name from here, to better reflect
reality.
Kris Warkentin [Mon, 24 Feb 2003 21:56:51 +0000 (21:56 +0000)]
add HAVE_CONTINUABLE_WATCHPOINT to target_ops
Kris Warkentin [Mon, 24 Feb 2003 21:40:48 +0000 (21:40 +0000)]
Fixed grammar
Elena Zannoni [Mon, 24 Feb 2003 20:35:25 +0000 (20:35 +0000)]
2003-02-24 Elena Zannoni <ezannoni@redhat.com>
* MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
maintainership.
DJ Delorie [Mon, 24 Feb 2003 20:26:14 +0000 (20:26 +0000)]
merge from gcc
Stephane Carrez [Mon, 24 Feb 2003 20:15:47 +0000 (20:15 +0000)]
* mi-syn-frame.exp: Don't run this test when gdb,nosignals is set.
Kris Warkentin [Mon, 24 Feb 2003 19:11:04 +0000 (19:11 +0000)]
added target specific solib find hook
Nick Clifton [Mon, 24 Feb 2003 18:07:22 +0000 (18:07 +0000)]
Add support for QNX style core files.
Kris Warkentin [Mon, 24 Feb 2003 17:58:21 +0000 (17:58 +0000)]
added myself to Write After list in MAINTAINERS
Nick Clifton [Mon, 24 Feb 2003 16:47:04 +0000 (16:47 +0000)]
Add support for kaOS as cross build target system.
Nick Clifton [Mon, 24 Feb 2003 16:37:13 +0000 (16:37 +0000)]
Add paragraph about using --disable-nls
Nick Clifton [Mon, 24 Feb 2003 16:20:28 +0000 (16:20 +0000)]
(nm --size-sort): Update description.
Alan Modra [Mon, 24 Feb 2003 04:50:04 +0000 (04:50 +0000)]
* elflink.c (_bfd_elf_create_got_section): Check existing .got
section flags before concluding that we've already been called.
Don't use register keyword.
(_bfd_elf_create_dynamic_sections): Don't use register keyword.
(_bfd_elf_create_linker_section): Formatting.
gdbadmin [Mon, 24 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 23 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Christopher Faylor [Sun, 23 Feb 2003 22:19:48 +0000 (22:19 +0000)]
* gdb.texinfo (Cygwin Native): Links to Non-debug DLL symbols.
(Non-debug DLL symbols): New node, describing the minimal symbols loaded from
DLLs without real debugging symbols.
Stephane Carrez [Sun, 23 Feb 2003 22:11:07 +0000 (22:11 +0000)]
* lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
Stephane Carrez [Sun, 23 Feb 2003 20:24:17 +0000 (20:24 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
Chris Demetriou [Sun, 23 Feb 2003 19:52:49 +0000 (19:52 +0000)]
2003-02-23 Elias Athanasopoulos <elathan@phys.uoa.gr>
* mips-dis.c (print_mips_disassembler_options): Make 'i' unsigned,
use ARRAY_SIZE in loops.
gdbadmin [Sun, 23 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 22 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Sat, 22 Feb 2003 17:08:34 +0000 (17:08 +0000)]
merge from gcc
Stephane Carrez [Sat, 22 Feb 2003 15:59:49 +0000 (15:59 +0000)]
* m68hc11-tdep.c (m68hc11_init_reggroups): New function.
(m68hc11_add_reggroups): New function.
(m68hc11_register_reggroup_p): New to register hard/soft reggroups.
(m68hc11_gdbarch_init): Install the reggroups.
(_initialize_m68hc11_tdep): Initialize them.
Jim Wilson [Sat, 22 Feb 2003 00:24:11 +0000 (00:24 +0000)]
Update my email address.
Jim Wilson [Sat, 22 Feb 2003 00:16:29 +0000 (00:16 +0000)]
Update my address.
gdbadmin [Sat, 22 Feb 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 21 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Fri, 21 Feb 2003 22:12:51 +0000 (22:12 +0000)]
merge from gcc
Joern Rennecke [Fri, 21 Feb 2003 20:05:42 +0000 (20:05 +0000)]
cgen:
* cpu/sh64-media.cpu (make-mextr): Fix setting of count.
sim/sh64:
* sem-media-switch.c, sem-media.c: Regenerate.
Nick Clifton [Fri, 21 Feb 2003 19:05:02 +0000 (19:05 +0000)]
Update Maverick tests.
Contribute test generator.
DJ Delorie [Fri, 21 Feb 2003 17:33:57 +0000 (17:33 +0000)]
merge from gcc
David Carlton [Fri, 21 Feb 2003 17:17:31 +0000 (17:17 +0000)]
2003-02-21 David Carlton <carlton@math.stanford.edu>
* arm-tdep.c (arm_gdbarch_init): Add break after default label.
Daniel Jacobowitz [Fri, 21 Feb 2003 15:24:18 +0000 (15:24 +0000)]
Based on a patch from Daniel Berlin (dberlin@dberlin.org).
* symtab.h: Add opaque declarations of struct axs_value and
struct agent_expr.
(enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
(struct location_funcs): New type.
(struct symbol): Add "loc" to aux_value.
(SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
* dwarf2read.c: Include "dwarf2expr.h".
(dwarf2_symbol_mark_computed): New function.
(read_func_scope): Use it.
(var_decode_location): New function.
(new_symbol): Use it.
* dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
* Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
(dwarf2expr_h, dwarf2loc_h): New variables.
(COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
(dwarf2expr.o, dwarf2loc.o): New rules.
(dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
* buildsym.c (finish_block): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* printcmd.c (address_info, print_frame_args): Likewise.
* stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* ada-lang.c (ada_resolve_subexp, symtab_for_sym)
(ada_add_block_symbols, fill_in_ada_prototype): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
Daniel Jacobowitz [Fri, 21 Feb 2003 15:23:36 +0000 (15:23 +0000)]
* mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
Nick Clifton [Fri, 21 Feb 2003 12:42:56 +0000 (12:42 +0000)]
Check for a NULL sentinel value before using it.
Nick Clifton [Fri, 21 Feb 2003 12:33:34 +0000 (12:33 +0000)]
Add v850e debug registers.
Nick Clifton [Fri, 21 Feb 2003 12:17:51 +0000 (12:17 +0000)]
Add SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG and SHT_IA_64_PRIORITY_INIT.
Add code to display these values in readelf.
Nick Clifton [Fri, 21 Feb 2003 11:36:59 +0000 (11:36 +0000)]
(ldmac, stmac): Replace MACREG with MS32 and MD32.
Nick Clifton [Fri, 21 Feb 2003 10:51:24 +0000 (10:51 +0000)]
Disable region size checking whilst relaxing sections.
Nick Clifton [Fri, 21 Feb 2003 10:35:07 +0000 (10:35 +0000)]
Applied Bob Wilson's documentation fixes.
Nick Clifton [Fri, 21 Feb 2003 10:30:35 +0000 (10:30 +0000)]
Apply Bob Wilson's documenation clean up patch
Richard Sandiford [Fri, 21 Feb 2003 10:28:27 +0000 (10:28 +0000)]
* config/tc-mips.c (prev_reloc_op_frag): New variable.
(macro): Check it to decide whether a new frag is needed.
(my_getSmallExpression): Set it.
Nick Clifton [Fri, 21 Feb 2003 10:27:06 +0000 (10:27 +0000)]
Apply Bob Wilson's linker documenation clean ups.
Adam Fedor [Fri, 21 Feb 2003 03:00:27 +0000 (03:00 +0000)]
* symtab.h: Remove objc_specific struct
(SYMBOL_OBJC_DEMANGLED_NAME): Remove.
* symtab.c (symbol_init_language_specific, symbol_demangled_name):
Have language_objc use cplus_specific struct.
Tom Tromey [Fri, 21 Feb 2003 02:49:12 +0000 (02:49 +0000)]
* jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
TYPE_NAME, when printing a String value. PR java/1075.
Adam Fedor [Fri, 21 Feb 2003 02:45:50 +0000 (02:45 +0000)]
objc-lang.h (find_methods): Remove declaration.
Adam Fedor [Fri, 21 Feb 2003 02:43:01 +0000 (02:43 +0000)]
objc-lang.c (find_methods): Make static.
Christopher Faylor [Fri, 21 Feb 2003 02:29:18 +0000 (02:29 +0000)]
* win32-nat.c (get_image_name): Check return value from ReadProcessMemory.
(child_xfer_memory): Ditto.
DJ Delorie [Fri, 21 Feb 2003 01:55:12 +0000 (01:55 +0000)]
* Makefile.tpl: Add definition of CPPFLAGS to pass into
configure-target-* as some target builds may require additional
flags for preprocessor tests.
* Makefile.in: Regenerated.
DJ Delorie [Fri, 21 Feb 2003 01:35:29 +0000 (01:35 +0000)]
merge from gcc
Alan Modra [Fri, 21 Feb 2003 01:12:13 +0000 (01:12 +0000)]
* objcopy.c (filter_symbols): Fix compilation problems with
HP-UX's C compiler.
gdbadmin [Fri, 21 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alexandre Oliva [Thu, 20 Feb 2003 23:38:58 +0000 (23:38 +0000)]
* configure.in (TARGET_SYSTEM_ROOT): Set default to
${exec_prefix}/${target_alias}/sys-root. Match explicit
'${exec_prefix}' (in addition to the expansion thereof) as
relocatable.
* configure: Rebuilt.
Alan Modra [Thu, 20 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Thu, 20 Feb 2003 22:14:18 +0000 (22:14 +0000)]
* Makefile.in (CFILES): Add lrealpath.c.
(REQUIRED_OFILES): Add lrealpath.o.
(lrealpath.o): Add rule.
* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
* configure.in: Add realpath and canonicalize_file_name to
checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
for canonicalize_file_name.
* lrealpath.c: New file.
* make-relative-prefix.c: Update documentation.
(make_relative_prefix): Simplify. Use lbasename and lrealpath.
* config.in: Regenerated.
* configure: Regenerated.
* functions.texi: Regenerated.
Daniel Jacobowitz [Thu, 20 Feb 2003 22:13:09 +0000 (22:13 +0000)]
* libiberty.h (lrealpath): Add declaration.
David Carlton [Thu, 20 Feb 2003 22:07:38 +0000 (22:07 +0000)]
2003-02-20 David Carlton <carlton@math.stanford.edu>
* symtab.c (search_symbols): Revert the search_symbols part of my
2002-12-23 patch. Add comment.
Joel Brobecker [Thu, 20 Feb 2003 21:33:05 +0000 (21:33 +0000)]
Fix a small typo in one of the filenames.
DJ Delorie [Thu, 20 Feb 2003 21:05:37 +0000 (21:05 +0000)]
merge from gcc
Nick Clifton [Thu, 20 Feb 2003 18:59:32 +0000 (18:59 +0000)]
Fix typo: intial -> initial.
Daniel Jacobowitz [Thu, 20 Feb 2003 18:31:14 +0000 (18:31 +0000)]
* coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
* dbxread.c (elfstab_build_psymtabs): Don't call
install_minimal_symbols.
(stabsect_build_psymtabs): Likewise.
* elfread.c (elf_symfile_read): Call install_minimal_symbols
earlier.
* somread.c (som_symfile_read): Call install_minimal_symbols
and do_cleanups earlier.
* nlmread.c (nlm_symfile_read): Likewise.
* mdebugread.c (elfmdebug_build_psymtabs): Call
install_minimal_symbols and make appropriate cleanups.
Kevin Buettner [Thu, 20 Feb 2003 18:25:27 +0000 (18:25 +0000)]
* solib.c (reload_shared_libraries): New function.
(_initialize_solib): Add callbacks for ``set solib-search-path''
and ``set solib-absolute-prefix''.
David Carlton [Thu, 20 Feb 2003 17:17:25 +0000 (17:17 +0000)]
2003-02-20 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
expand comment.
* ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
* ada-typeprint.c (ada_typedef_print): Ditto.
* ax-gdb.c (gen_var_ref): Ditto.
* breakpoint.c (print_one_breakpoint): Ditto.
* buildsym.c (finish_block): Ditto.
* c-valprint.c (c_val_print): Ditto.
* expprint.c (print_subexp): Ditto.
* findvar.c (locate_var_value): Ditto.
* infcmd.c (jump_command): Ditto.
* linespec.c (decode_line_2, decode_compound): Ditto.
* maint.c (maintenance_translate_address): Ditto.
* objc-lang.c (compare_selectors, compare_classes): Ditto.
* printcmd.c (build_address_symbolic, sym_info, print_frame_args):
Ditto.
* p-valprint.c (pascal_val_print): Ditto.
* stabsread.c (define_symbol): Ditto.
* stack.c (print_frame, frame_info, print_block_frame_locals)
(print_frame_arg_vars, return_command): Ditto.
* symfile.c (compare_symbols, compare_psymbols): Ditto.
* symmisc.c (print_symbol): Ditto.
* symtab.c (lookup_partial_symbol, lookup_block_symbol)
(compare_search_syms, print_symbol_info, print_msymbol_info)
(rbreak_command): Ditto.
* tracepoint.c (tracepoints_info): Ditto.
* typeprint.c (typedef_print): Ditto.
* valops.c (value_of_variable, hand_function_call): Ditto.
* cli/cli-cmds.c (edit_command, list_command): Ditto.
* ada-typeprint.c: Update Copyright.
* infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
* tracepoint.c, cli/cli-cmds.c: Ditto.
Kevin Buettner [Thu, 20 Feb 2003 16:35:51 +0000 (16:35 +0000)]
* frame.c (generic_unwind_get_saved_register): Make non-static.
* frame.h (generic_unwind_get_saved_register): Declare.
* mips-tdep.c (read_next_frame_reg): Fetch register from
current regcache when frame is NULL.
(mips_init_extra_frame_info): Pass NULL explicitly for parameter
that must be NULL.
(mips_get_saved_register): Call generic_unwind_get_saved_register()
instead of frame_register_unwind().
Andrew Cagney [Thu, 20 Feb 2003 14:37:59 +0000 (14:37 +0000)]
Index: include/gdb/ChangeLog
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* remote-sim.c (gdbsim_insert_breakpoint)
(gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
code.
Index: include/gdb/ChangeLog
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* remote-sim.h (SIM_RC): Delete unused SIM_RC_UNKNOWN_BREAKPOINT,
SIM_RC_INSUFFICIENT_RESOURCES and SIM_RC_DUPLICATE_BREAKPOINT.
(sim_set_breakpoint, sim_clear_breakpoint): Delete declarations.
(sim_clear_all_breakpoints, sim_enable_breakpoint): Ditto.
(sim_enable_all_breakpoints, sim_disable_breakpoint): Ditto.
(sim_disable_all_breakpoints): Ditto.
Index: sim/common/ChangeLog
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o
(sim-break_h): Delete macro.
(sim-break.o): Delete rule.
* sim-break.c: Delete file.
* sim-break.h: Delete file.
* sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h".
(STATE_BREAKPOINTS): Delete macro.
(sim_state_base): Delete field breakpoints.
* sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add
sim_break_install to array.
Andrew Cagney [Thu, 20 Feb 2003 13:43:14 +0000 (13:43 +0000)]
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* remote.c (_initialize_remote): Add commands "set/show remote
hardware-watchpoint-limit" and "set/show remote
hardware-breakpoint-limit".
(remote_hw_watchpoint_limit): Initialize to -1.
(remote_hw_breakpoint_limit): Ditto.
(remote_check_watch_resources): Treat a limit of -1 as unlimited.
Index: doc/ChangeLog
2003-02-20 Andrew Cagney <
ac131313@redhat.com>
* gdb.texinfo (Set Breaks): Add cross reference to "set remote
hardware-breakpoint-limit".
(Set Watchpoints): Add cross reference to "set remote
hardware-watchpoint-limit".
(Remote configuration options): New section.
Alan Modra [Thu, 20 Feb 2003 09:10:18 +0000 (09:10 +0000)]
* elf32-ppc.c: Formatting.
(allocate_dynrelocs): LD and GD relocs against the same sym need
separate GOT entries.
(ppc_elf_relocate_section): Correct GOT handling for multiple GOT
entries per symbol.
Alexandre Oliva [Thu, 20 Feb 2003 09:08:42 +0000 (09:08 +0000)]
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
config.status.
* configure: Rebuilt.
Christopher Faylor [Thu, 20 Feb 2003 03:31:42 +0000 (03:31 +0000)]
* rclex.l (handle_quotes): Fix minor formatting problems introduced in previous
change.
Christopher Faylor [Thu, 20 Feb 2003 03:28:55 +0000 (03:28 +0000)]
* rclex.l: Handle strings spanning more than one line.
Christopher Faylor [Thu, 20 Feb 2003 03:12:46 +0000 (03:12 +0000)]
* coff-pe-read.c: New file - support reading of minimal symbols from a portable
executable using the export table.
* coff-pe-read.h: New file.
* coffread.c: Include coff-pe-read.h.
(coff_symtab_read): Call read_pe_exported_syms iff no recognized debugging
symbols found.
* Makefile.in (SFILES): Add coff-pe-read.o.
(coff_pe_read_h): Define.
(COMMON_OBS): Add coff-pe-read.o.
(coffread.o): Add coff_pe_read_h dependency.
(coff-pe-read.o): New target.
Alexandre Oliva [Thu, 20 Feb 2003 02:09:58 +0000 (02:09 +0000)]
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* ltconfig: Handle it.
* ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of
auto-detecting it.
Alexandre Oliva [Thu, 20 Feb 2003 01:12:28 +0000 (01:12 +0000)]
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* ltconfig: Handle it.
* ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of
auto-detecting it.
Alan Modra [Thu, 20 Feb 2003 01:02:39 +0000 (01:02 +0000)]
* ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
* ldgram.y (vers_defns): Allow optional trailing semicolon in
EXTERN NAME block;
David Carlton [Thu, 20 Feb 2003 00:01:07 +0000 (00:01 +0000)]
2003-02-19 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add block.c.
(block_h): New.
(COMMON_OBS): Add block.o.
(block.o): New.
(x86-64-tdep.o): Add $(block_h).
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
* value.h: Add opaque declaration for struct block.
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
* ada-lang.h: Ditto.
* x86-64-tdep.c: #include "block.h"
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
* symtab.c (block_function): Ditto.
(contained_in): Ditto.
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
block.h. Add opaque declaration for struct block.
* symtab.h: Move block_function and contained_in declarations to
block.h. Add opaque declarations for struct block, struct
blockvector.
(struct block): Move to block.h.
(struct blockvector): Ditto.
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
Ditto.
* block.c: New file.
* block.h: New file.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"
gdbadmin [Thu, 20 Feb 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alexandre Oliva [Wed, 19 Feb 2003 23:51:28 +0000 (23:51 +0000)]
* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
it is used as argument to $CC.
* ltcf-gcj.sh: Likewise.
Alexandre Oliva [Wed, 19 Feb 2003 23:51:03 +0000 (23:51 +0000)]
* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.
Alexandre Oliva [Wed, 19 Feb 2003 23:40:12 +0000 (23:40 +0000)]
* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.
Andrew Cagney [Wed, 19 Feb 2003 23:32:19 +0000 (23:32 +0000)]
2003-02-19 Andrew Cagney <
ac131313@redhat.com>
* configure: Regenerate using autoconf 2.13.
Alan Modra [Wed, 19 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Theodore A. Roth [Wed, 19 Feb 2003 20:38:01 +0000 (20:38 +0000)]
* avr-tdep.c (avr_extract_return_value): Remove function.
(avr_store_return_value): Remove function.
(avr_extract_struct_value_address): Remove function.
(avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
Andrew Cagney [Wed, 19 Feb 2003 18:57:30 +0000 (18:57 +0000)]
2003-02-19 Andrew Cagney <
ac131313@redhat.com>
* rs6000-tdep.c: Include "gdb_assert.h".
(registers_e500): Add "acc" and "spefscr".
(PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
(rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
really is "r0".
(registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
Alan Modra [Wed, 19 Feb 2003 14:14:16 +0000 (14:14 +0000)]
* elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic reloc
removal. Localize vars. Remove unnecessary dynobj test.
* elf32-i386 (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead
of INFO.
(allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses,
and optimize.
(elf_i386_relocate_section): Likewise.
(elf_i386_gc_sweep_hook): Simplify dyn reloc removal. Localize vars.
* elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
* elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise. Remove
local_dynrel for section too. Don't touch HIPLT22, LOPLT10, PCPLT32
or PCPLT10 relocs. Don't subtract twice on PLT32 relocs.
Formatting.
Alan Modra [Wed, 19 Feb 2003 11:44:15 +0000 (11:44 +0000)]
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define.
(ppc64_elf_check_relocs): Use it. Correct comment. Move SEC_ALLOC
test.
(ppc64_elf_adjust_dynamic_symbol): Use ELIMINATE_COPY_RELOCS.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
(allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses,
and optimize. Use ELIMINATE_COPY_RELOCS.
(ppc64_elf_relocate_section): Likewise.
Alan Modra [Wed, 19 Feb 2003 11:26:50 +0000 (11:26 +0000)]
* elf32-ppc.c (struct ppc_elf_dyn_relocs): Add pc_count field.
(ppc_elf_copy_indirect_symbol): Copy pc_count field.
(ELIMINATE_COPY_RELOCS): Define.
(ppc_elf_adjust_dynamic_symbol): Convert copy relocs to dynamic.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
(MUST_BE_DYN_RELOC): Define.
(allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses,
and optimize. Trim dyn_relocs.
(ppc_elf_check_relocs): Don't generate dyn_relocs when we know they'll
not be used. Do generate dyn_relocs for copy reloc avoidance. Keep
track of pc_rel dyn relocs.
(ppc_elf_relocate_section): Remove "will_become_local". Adjust
WILL_CALL_FINISH_DYNAMIC_SYMBOL use. Trim dyn relocs as per
allocate_dynrelocs. Don't recalculate "sec".
Alan Modra [Wed, 19 Feb 2003 10:46:52 +0000 (10:46 +0000)]
* app.c (do_scrub_chars): Handle '||' in two states.
Alan Modra [Wed, 19 Feb 2003 07:47:34 +0000 (07:47 +0000)]
import latest versions
gdbadmin [Wed, 19 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Keith Seitz [Tue, 18 Feb 2003 23:27:42 +0000 (23:27 +0000)]
* Makefile.in: Add gdbtk-interps.c.
Alan Modra [Tue, 18 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Kevin Buettner [Tue, 18 Feb 2003 22:46:16 +0000 (22:46 +0000)]
Make Sparc/Solaris work again.
Andrew Cagney [Tue, 18 Feb 2003 22:14:26 +0000 (22:14 +0000)]
2003-02-18 Andrew Cagney <cagney@redhat.com>
* symtab.h (struct objfile): Add opaque declaration.
Jason Merrill [Tue, 18 Feb 2003 20:12:50 +0000 (20:12 +0000)]
* Makefile.tpl (check-c++): Allow parallelism.
Elena Zannoni [Tue, 18 Feb 2003 15:41:29 +0000 (15:41 +0000)]
2003-02-18 Elena Zannoni <ezannoni@redhat.com>
From Jim Ingham <jingham@apple.com>:
* dbxread.c (process_one_symbol): Use last_function_start rather
than function_start_offset to find the real beginning of the
current function. The latter is just the text section offset on
some systems, the former is always the real function start.
Alan Modra [Tue, 18 Feb 2003 12:54:56 +0000 (12:54 +0000)]
* ld-powerpc/tlsexe.d: Update for changed handling of invalid LD
relocs.
* ld-powerpc/tlsexe.g: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexe.t: Likewise.