binutils-gdb.git
21 years ago2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 26 Feb 2003 21:41:18 +0000 (21:41 +0000)]
2003-02-26  Jeff Johnston  <jjohnstn@redhat.com>

        From Elena Zannoni  <ezannoni@redhat.com>
        * dbxread.c (process_one_symbol): Only record line 0 if one or
        more sline entries have been seen for the function.

21 years ago2003-02-26 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 26 Feb 2003 20:30:27 +0000 (20:30 +0000)]
2003-02-26  Michael Chastain  <mec@shout.net>

* configure: Regenerate with autoconf 000227.

21 years ago2003-02-26 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 26 Feb 2003 20:30:05 +0000 (20:30 +0000)]
2003-02-26  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
char *>::foo" test with respect to PR c++/33.  Create a new test
which is identical to that one except that it doesn't put the
space between the "char" and the "*"; KFAIL it, too.

21 years ago2003-02-26 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 26 Feb 2003 20:23:13 +0000 (20:23 +0000)]
2003-02-26  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
template types into either PASSes or KFAILs (corresponding to PR
c++/57).  Tweak indentation.  Update copyright.

21 years ago2003-02-26 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 26 Feb 2003 17:24:12 +0000 (17:24 +0000)]
2003-02-26  Michael Chastain  <mec@shout.net>

Close PR build/660.
* PROBLEMS (i[3456]86-*-linux*): Note explicit error message
for old libc5/glibc.
* gdb_thread_db.h: Die if not HAVE_UINTPTR_T.

21 years ago2003-02-26 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 26 Feb 2003 17:04:19 +0000 (17:04 +0000)]
2003-02-26  David Carlton  <carlton@math.stanford.edu>

* dv-mn103tim.c (read_special_timer6_reg): Add break after
empty default: label.
(write_special_timer6_reg): Ditto.
Update copyright.

21 years agoAdded GDB_OSABI_QNXNTO.
Kris Warkentin [Wed, 26 Feb 2003 16:34:53 +0000 (16:34 +0000)]
Added GDB_OSABI_QNXNTO.

21 years agoAdded GDB_OSABI_QNXNTO.
Kris Warkentin [Wed, 26 Feb 2003 15:13:07 +0000 (15:13 +0000)]
Added GDB_OSABI_QNXNTO.

21 years ago2003-02-26 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 26 Feb 2003 15:10:47 +0000 (15:10 +0000)]
2003-02-26  Michael Chastain  <mec@shout.net>

* configure.in: New variable HAVE_UINTPTR_T.
* configure, config.in: Regenerated.

21 years ago Fix PR build/1097.
Daniel Jacobowitz [Wed, 26 Feb 2003 14:35:19 +0000 (14:35 +0000)]
Fix PR build/1097.
* utils.c (gdb_realpath): Move closing brace outwards one #endif.

21 years ago* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
Alexandre Oliva [Wed, 26 Feb 2003 00:56:14 +0000 (00:56 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
memory allocation error.

21 years ago*** empty log message ***
gdbadmin [Wed, 26 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-02-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 25 Feb 2003 23:52:16 +0000 (23:52 +0000)]
2003-02-25  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Add comment on check for
inside_entry_func. Only check for inside_entry_file when not a
dummy and not a sentinel.  Check that the new frame is not inner
to the old frame.

21 years ago2003-02-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 25 Feb 2003 23:12:22 +0000 (23:12 +0000)]
2003-02-25  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_debug): New variable.
(_initialize_frame): Add "set/show debug frame" command.
(get_prev_frame): When frame_debug, print reason why unwind
failed.

21 years agodaily update
Alan Modra [Tue, 25 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-25 Michael Chastain <mec@shout.net>
Michael Chastain [Tue, 25 Feb 2003 21:58:20 +0000 (21:58 +0000)]
2003-02-25  Michael Chastain  <mec@shout.net>

* PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
to avoid uintptr_t definition problems.

21 years ago2003-02-25 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 25 Feb 2003 21:36:23 +0000 (21:36 +0000)]
2003-02-25  David Carlton  <carlton@math.stanford.edu>

* symtab.h (SYMBOL_NATURAL_NAME): New macro.
(SYMBOL_LINKAGE_NAME): Ditto.
(SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
SYMBOL_LINKAGE_NAME.
(struct general_symbol_info): Expand comment.
(DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
(SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
(SYMBOL_MATCHES_REGEXP): Ditto.
* symtab.c (symbol_natural_name): New function.
* objfiles.h: Replace all uses of SYMBOL_NAME by
DEPRECATED_SYMBOL_NAME.
* xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
* symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
* somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
* printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
* minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
* i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
* gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
* dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
* cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
* blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
* ada-exp.y: Ditto.
* ada-exp.y: Update copyright.
* sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
* cp-valprint.c: Ditto.

2003-02-25  David Carlton  <carlton@math.stanford.edu>

* generic/gdbtk.h: Replace all instances of SYMBOL_NAME by
DEPRECATED_SYMBOL_NAME.
* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Ditto.
* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Update copyright.

2003-02-25  David Carlton  <carlton@math.stanford.edu>

* mi-cmd-stack.c: Replace all instances of SYMBOL_NAME with
DEPRECATED_SYMBOL_NAME.  Update copyright.

21 years ago2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 25 Feb 2003 19:38:21 +0000 (19:38 +0000)]
2003-02-25  Jeff Johnston  <jjohnstn@redhat.com>

        * infptrace.c (detach): Do not flag error if ptrace detach fails
        and errno is set to ESRCH.

21 years agoRemove site-file support - it is obsolete.
Nick Clifton [Tue, 25 Feb 2003 10:47:07 +0000 (10:47 +0000)]
Remove site-file support - it is obsolete.

21 years ago(ld_sysroot): Try to set from TOOLBINDIR too.
Nick Clifton [Tue, 25 Feb 2003 10:32:33 +0000 (10:32 +0000)]
(ld_sysroot): Try to set from TOOLBINDIR too.

21 years ago * elflink.h (elf_link_read_relocs_from_section): Don't abort with
Alan Modra [Tue, 25 Feb 2003 04:39:32 +0000 (04:39 +0000)]
* elflink.h (elf_link_read_relocs_from_section): Don't abort with
wrong reloc sizes.

21 years ago * elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdr
Alan Modra [Tue, 25 Feb 2003 04:14:38 +0000 (04:14 +0000)]
* elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdr
and rel_hdr2 when initially counting input relocs rather than after
creating output reloc sections.

21 years agoRegenerate dependencies.
Alan Modra [Tue, 25 Feb 2003 03:44:46 +0000 (03:44 +0000)]
Regenerate dependencies.

21 years ago * hppa-dis.c: Formatting.
Alan Modra [Tue, 25 Feb 2003 03:22:06 +0000 (03:22 +0000)]
* hppa-dis.c: Formatting.
* hppa-dis.c (print_insn_hppa): Implement fcnv instruction modifiers.

21 years ago * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print
Alan Modra [Tue, 25 Feb 2003 00:20:29 +0000 (00:20 +0000)]
* hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print
the space register when the value is zero.

21 years ago*** empty log message ***
gdbadmin [Tue, 25 Feb 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-02-24 Andrew Cagney <cagney@redhat.com>
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.

21 years ago2003-02-24 David Carlton <carlton@math.stanford.edu>
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.

21 years ago2003-02-24 David Carlton <carlton@math.stanford.edu>
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.

21 years agodaily update
Alan Modra [Mon, 24 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago* MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
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.

21 years agoadd HAVE_CONTINUABLE_WATCHPOINT to target_ops
Kris Warkentin [Mon, 24 Feb 2003 21:56:51 +0000 (21:56 +0000)]
add HAVE_CONTINUABLE_WATCHPOINT to target_ops

21 years agoFixed grammar
Kris Warkentin [Mon, 24 Feb 2003 21:40:48 +0000 (21:40 +0000)]
Fixed grammar

21 years ago2003-02-24 Elena Zannoni <ezannoni@redhat.com>
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.

21 years agomerge from gcc
DJ Delorie [Mon, 24 Feb 2003 20:26:14 +0000 (20:26 +0000)]
merge from gcc

21 years ago * mi-syn-frame.exp: Don't run this test when gdb,nosignals is set.
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.

21 years agoadded target specific solib find hook
Kris Warkentin [Mon, 24 Feb 2003 19:11:04 +0000 (19:11 +0000)]
added target specific solib find hook

21 years agoAdd support for QNX style core files.
Nick Clifton [Mon, 24 Feb 2003 18:07:22 +0000 (18:07 +0000)]
Add support for QNX style core files.

21 years agoadded myself to Write After list in MAINTAINERS
Kris Warkentin [Mon, 24 Feb 2003 17:58:21 +0000 (17:58 +0000)]
added myself to Write After list in MAINTAINERS

21 years agoAdd support for kaOS as cross build target system.
Nick Clifton [Mon, 24 Feb 2003 16:47:04 +0000 (16:47 +0000)]
Add support for kaOS as cross build target system.

21 years agoAdd paragraph about using --disable-nls
Nick Clifton [Mon, 24 Feb 2003 16:37:13 +0000 (16:37 +0000)]
Add paragraph about using --disable-nls

21 years ago(nm --size-sort): Update description.
Nick Clifton [Mon, 24 Feb 2003 16:20:28 +0000 (16:20 +0000)]
(nm --size-sort): Update description.

21 years ago * elflink.c (_bfd_elf_create_got_section): Check existing .got
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.

21 years ago*** empty log message ***
gdbadmin [Mon, 24 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 23 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago* gdb.texinfo (Cygwin Native): Links to Non-debug DLL symbols.
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.

21 years ago * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
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.

21 years ago * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
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.

21 years ago2003-02-23 Elias Athanasopoulos <elathan@phys.uoa.gr>
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.

21 years ago*** empty log message ***
gdbadmin [Sun, 23 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 22 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Sat, 22 Feb 2003 17:08:34 +0000 (17:08 +0000)]
merge from gcc

21 years ago * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
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.

21 years agoUpdate my email address.
Jim Wilson [Sat, 22 Feb 2003 00:24:11 +0000 (00:24 +0000)]
Update my email address.

21 years agoUpdate my address.
Jim Wilson [Sat, 22 Feb 2003 00:16:29 +0000 (00:16 +0000)]
Update my address.

21 years ago*** empty log message ***
gdbadmin [Sat, 22 Feb 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 21 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Fri, 21 Feb 2003 22:12:51 +0000 (22:12 +0000)]
merge from gcc

21 years agocgen:
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.

21 years agoUpdate Maverick tests.
Nick Clifton [Fri, 21 Feb 2003 19:05:02 +0000 (19:05 +0000)]
Update Maverick tests.
Contribute test generator.

21 years agomerge from gcc
DJ Delorie [Fri, 21 Feb 2003 17:33:57 +0000 (17:33 +0000)]
merge from gcc

21 years ago2003-02-21 David Carlton <carlton@math.stanford.edu>
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.

21 years ago Based on a patch from Daniel Berlin (dberlin@dberlin.org).
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.

21 years ago * mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and
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.

21 years agoCheck for a NULL sentinel value before using it.
Nick Clifton [Fri, 21 Feb 2003 12:42:56 +0000 (12:42 +0000)]
Check for a NULL sentinel value before using it.

21 years agoAdd v850e debug registers.
Nick Clifton [Fri, 21 Feb 2003 12:33:34 +0000 (12:33 +0000)]
Add v850e debug registers.

21 years agoAdd SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG and SHT_IA_64_PRIORITY_INIT.
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.

21 years ago(ldmac, stmac): Replace MACREG with MS32 and MD32.
Nick Clifton [Fri, 21 Feb 2003 11:36:59 +0000 (11:36 +0000)]
(ldmac, stmac): Replace MACREG with MS32 and MD32.

21 years agoDisable region size checking whilst relaxing sections.
Nick Clifton [Fri, 21 Feb 2003 10:51:24 +0000 (10:51 +0000)]
Disable region size checking whilst relaxing sections.

21 years agoApplied Bob Wilson's documentation fixes.
Nick Clifton [Fri, 21 Feb 2003 10:35:07 +0000 (10:35 +0000)]
Applied Bob Wilson's documentation fixes.

21 years agoApply Bob Wilson's documenation clean up patch
Nick Clifton [Fri, 21 Feb 2003 10:30:35 +0000 (10:30 +0000)]
Apply Bob Wilson's documenation clean up patch

21 years ago * config/tc-mips.c (prev_reloc_op_frag): New variable.
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.

21 years agoApply Bob Wilson's linker documenation clean ups.
Nick Clifton [Fri, 21 Feb 2003 10:27:06 +0000 (10:27 +0000)]
Apply Bob Wilson's linker documenation clean ups.

21 years ago* symtab.h: Remove objc_specific struct
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.

21 years ago * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
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.

21 years agoobjc-lang.h (find_methods): Remove declaration.
Adam Fedor [Fri, 21 Feb 2003 02:45:50 +0000 (02:45 +0000)]
objc-lang.h (find_methods): Remove declaration.

21 years agoobjc-lang.c (find_methods): Make static.
Adam Fedor [Fri, 21 Feb 2003 02:43:01 +0000 (02:43 +0000)]
objc-lang.c (find_methods): Make static.

21 years ago* win32-nat.c (get_image_name): Check return value from ReadProcessMemory.
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.

21 years ago* Makefile.tpl: Add definition of CPPFLAGS to pass into
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.

21 years agomerge from gcc
DJ Delorie [Fri, 21 Feb 2003 01:35:29 +0000 (01:35 +0000)]
merge from gcc

21 years ago * objcopy.c (filter_symbols): Fix compilation problems with
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.

21 years ago*** empty log message ***
gdbadmin [Fri, 21 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* configure.in (TARGET_SYSTEM_ROOT): Set default to
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.

21 years agodaily update
Alan Modra [Thu, 20 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * Makefile.in (CFILES): Add lrealpath.c.
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.

21 years ago * libiberty.h (lrealpath): Add declaration.
Daniel Jacobowitz [Thu, 20 Feb 2003 22:13:09 +0000 (22:13 +0000)]
* libiberty.h (lrealpath): Add declaration.

21 years ago2003-02-20 David Carlton <carlton@math.stanford.edu>
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.

21 years agoFix a small typo in one of the filenames.
Joel Brobecker [Thu, 20 Feb 2003 21:33:05 +0000 (21:33 +0000)]
Fix a small typo in one of the filenames.

21 years agomerge from gcc
DJ Delorie [Thu, 20 Feb 2003 21:05:37 +0000 (21:05 +0000)]
merge from gcc

21 years agoFix typo: intial -> initial.
Nick Clifton [Thu, 20 Feb 2003 18:59:32 +0000 (18:59 +0000)]
Fix typo: intial -> initial.

21 years ago * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
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.

21 years ago * solib.c (reload_shared_libraries): New function.
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''.

21 years ago2003-02-20 David Carlton <carlton@math.stanford.edu>
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.

21 years ago * frame.c (generic_unwind_get_saved_register): Make non-static.
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().

21 years agoIndex: include/gdb/ChangeLog
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.

21 years ago2003-02-20 Andrew Cagney <ac131313@redhat.com>
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.

21 years ago * elf32-ppc.c: Formatting.
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.

21 years ago* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
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.

21 years ago* rclex.l (handle_quotes): Fix minor formatting problems introduced in previous
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.

21 years ago* rclex.l: Handle strings spanning more than one line.
Christopher Faylor [Thu, 20 Feb 2003 03:28:55 +0000 (03:28 +0000)]
* rclex.l: Handle strings spanning more than one line.