Nick Clifton
947ed062ce
Apply Bob Wilson's documenation clean up patch
2003-02-21 10:30:35 +00:00
Richard Sandiford
64bdfcaf0d
* 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.
2003-02-21 10:28:27 +00:00
Nick Clifton
36f63dca98
Apply Bob Wilson's linker documenation clean ups.
2003-02-21 10:27:06 +00:00
Adam Fedor
5784d15e43
* 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.
2003-02-21 03:00:27 +00:00
Tom Tromey
d4cad8db8c
* jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
...
TYPE_NAME, when printing a String value. PR java/1075.
2003-02-21 02:49:12 +00:00
Adam Fedor
d38074a8d5
objc-lang.h (find_methods): Remove declaration.
2003-02-21 02:45:50 +00:00
Adam Fedor
2f9a90b40e
objc-lang.c (find_methods): Make static.
2003-02-21 02:43:01 +00:00
Christopher Faylor
6f17862b81
* win32-nat.c (get_image_name): Check return value from ReadProcessMemory.
...
(child_xfer_memory): Ditto.
2003-02-21 02:29:18 +00:00
DJ Delorie
3decd77d89
* 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.
2003-02-21 01:55:12 +00:00
DJ Delorie
4938384a1f
merge from gcc
2003-02-21 01:35:29 +00:00
Alan Modra
66491ebcb7
* objcopy.c (filter_symbols): Fix compilation problems with
...
HP-UX's C compiler.
2003-02-21 01:12:13 +00:00
gdbadmin
bb20a2dcba
*** empty log message ***
2003-02-21 00:00:31 +00:00
Alexandre Oliva
715d16565f
* 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.
2003-02-20 23:38:58 +00:00
Alan Modra
29767ab128
daily update
2003-02-20 23:00:05 +00:00
Daniel Jacobowitz
ba61a41253
* 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.
2003-02-20 22:14:18 +00:00
Daniel Jacobowitz
e2803db937
* libiberty.h (lrealpath): Add declaration.
2003-02-20 22:13:09 +00:00
David Carlton
b1262a0293
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.
2003-02-20 22:07:38 +00:00
Joel Brobecker
36ffb04106
Fix a small typo in one of the filenames.
2003-02-20 21:33:05 +00:00
DJ Delorie
25dfe0ac20
merge from gcc
2003-02-20 21:05:37 +00:00
Nick Clifton
2ab1486e70
Fix typo: intial -> initial.
2003-02-20 18:59:32 +00:00
Daniel Jacobowitz
7134143f53
* 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.
2003-02-20 18:31:14 +00:00
Kevin Buettner
cf466558d0
* solib.c (reload_shared_libraries): New function.
...
(_initialize_solib): Add callbacks for ``set solib-search-path''
and ``set solib-absolute-prefix''.
2003-02-20 18:25:27 +00:00
David Carlton
de5ad195ef
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.
2003-02-20 17:17:25 +00:00
Kevin Buettner
f796e4be80
* 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().
2003-02-20 16:35:51 +00:00
Andrew Cagney
836cc9f493
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.
2003-02-20 14:37:59 +00:00
Andrew Cagney
501eef1260
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.
2003-02-20 13:43:14 +00:00
Alan Modra
70bccea4c6
* 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.
2003-02-20 09:10:18 +00:00
Alexandre Oliva
8b90eef446
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
...
config.status.
* configure: Rebuilt.
2003-02-20 09:08:42 +00:00
Christopher Faylor
0e11a9e98d
* rclex.l (handle_quotes): Fix minor formatting problems introduced in previous
...
change.
2003-02-20 03:31:42 +00:00
Christopher Faylor
6e5f520172
* rclex.l: Handle strings spanning more than one line.
2003-02-20 03:28:55 +00:00
Christopher Faylor
1b6bc7e06f
* 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.
2003-02-20 03:12:46 +00:00
Alexandre Oliva
65279b928e
* 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.
2003-02-20 02:09:58 +00:00
Alexandre Oliva
f4ff34a304
* 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.
2003-02-20 01:12:28 +00:00
Alan Modra
8e23b15d1c
* ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
...
* ldgram.y (vers_defns): Allow optional trailing semicolon in
EXTERN NAME block;
2003-02-20 01:02:39 +00:00
David Carlton
fe898f56a1
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"
2003-02-20 00:01:07 +00:00
gdbadmin
b3f71a301e
*** empty log message ***
2003-02-20 00:00:32 +00:00
Alexandre Oliva
b7e4a93120
* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
...
it is used as argument to $CC.
* ltcf-gcj.sh: Likewise.
2003-02-19 23:51:28 +00:00
Alexandre Oliva
3d5e36ae7d
* configure.in: Introduce --enable-maintainer-mode.
...
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.
2003-02-19 23:51:03 +00:00
Alexandre Oliva
6b784d9f91
* configure.in: Introduce --enable-maintainer-mode.
...
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.
2003-02-19 23:40:12 +00:00
Andrew Cagney
8bcd8a071e
2003-02-19 Andrew Cagney <ac131313@redhat.com>
...
* configure: Regenerate using autoconf 2.13.
2003-02-19 23:32:19 +00:00
Alan Modra
1185e3dde6
daily update
2003-02-19 23:00:06 +00:00
Theodore A. Roth
173345b5f9
* 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.
2003-02-19 20:38:01 +00:00
Andrew Cagney
338ef23d79
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).
2003-02-19 18:57:30 +00:00
Alan Modra
26e415943a
* 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.
2003-02-19 14:14:16 +00:00
Alan Modra
f4656909e9
* 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.
2003-02-19 11:44:15 +00:00
Alan Modra
ee05f2fe2f
* 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".
2003-02-19 11:26:50 +00:00
Alan Modra
b1ac4c66ea
* app.c (do_scrub_chars): Handle '||' in two states.
2003-02-19 10:46:52 +00:00
Alan Modra
ee3fd32958
import latest versions
2003-02-19 07:47:34 +00:00
gdbadmin
90e56b9873
*** empty log message ***
2003-02-19 00:00:02 +00:00
Keith Seitz
5412f5f35f
* Makefile.in: Add gdbtk-interps.c.
2003-02-18 23:27:42 +00:00