binutils-gdb.git
21 years ago2003-01-17 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 17 Jan 2003 20:24:51 +0000 (20:24 +0000)]
2003-01-17  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
corresponding to PR c++/945.
Update copyright.

21 years ago2003-01-17 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 17 Jan 2003 19:24:16 +0000 (19:24 +0000)]
2003-01-17  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
corresponding to PR c++/68.

(and fix date of previous ChangeLog entry; oops.)

21 years ago2003-01-16 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 17 Jan 2003 19:22:27 +0000 (19:22 +0000)]
2003-01-16  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
(test_paddr_hairy_functions): Call print_addr_2_kfail for
hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.

21 years ago2003-01-17 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 17 Jan 2003 19:12:19 +0000 (19:12 +0000)]
2003-01-17  Andrew Cagney  <ac131313@redhat.com>

* main.c (captured_main): Don't use PTR.
* cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
* gdbtypes.c (lookup_primitive_typename): Ditto.
(lookup_struct_elt_type): Ditto.
* f-valprint.c (info_common_command): Ditto.
(list_all_visible_commons): Ditto.
* jv-typeprint.c (java_type_print_base): Ditto.

21 years ago2003-01-17 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 17 Jan 2003 16:56:52 +0000 (16:56 +0000)]
2003-01-17  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c.  Rename
i386-interix-nat.c and i386-interix-tdep.c.  Rename
m68klinux-nat.c and m68klinux-tdep.c.  Rename
config/mips/tm-linux.h and config/mips/tm-linux64.h.  Rename
bfd/po/.cvsignore and opcodes/po/.cvsignore.  Rename
gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
* main.c (captured_main): Use xfree, not free.

21 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
Andreas Jaeger [Fri, 17 Jan 2003 10:36:49 +0000 (10:36 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
skip ':'.

21 years ago * configure.in (baseargs): Avoid using \| in sed regular
Jakub Jelinek [Fri, 17 Jan 2003 08:00:16 +0000 (08:00 +0000)]
* configure.in (baseargs): Avoid using \| in sed regular
expressions.
* configure: Rebuilt.

21 years ago * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
Alan Modra [Fri, 17 Jan 2003 01:34:01 +0000 (01:34 +0000)]
* readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
and ELFOSABI_NSK.

21 years agomissed changelog entry
Alan Modra [Fri, 17 Jan 2003 01:33:13 +0000 (01:33 +0000)]
missed changelog entry

21 years ago * common.h: Formatting, typo fixes.
Alan Modra [Fri, 17 Jan 2003 01:32:46 +0000 (01:32 +0000)]
* common.h: Formatting, typo fixes.
(DT_ENCODING): Correct value.

* common.h (ELFOSABI_AROS): Define.
(ELFOSABI_OPENVMS): Likewise.
(ELFOSABI_NSK): Likewise.

21 years ago*** empty log message ***
gdbadmin [Fri, 17 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 16 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add
Jakub Jelinek [Thu, 16 Jan 2003 21:31:18 +0000 (21:31 +0000)]
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add
self_dtpmod_done and self_dtpmod_offset.
(allocate_global_data_got): Only use one got entry for all
dtpmod relocs against local symbols.
(allocate_dynrel_entries): Only need .rela.got entry for
dtpmod against global symbol.
(elfNN_ia64_size_dynamic_sections): Initialize self_dtpmod_offset.
Reserve space in .rela.got for the local dtpmod entry.
(set_got_entry): Initialize the common local dtpmod .got entry.
(elfNN_ia64_relocate_section): Handle R_IA_64_DTPREL64LSB
and R_IA_64_DTPREL64MSB.

* config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.

* ld-ia64/ia64.exp: New.
* ld-ia64/tlsbin.dd: New test.
* ld-ia64/tlsbinpic.s: New test.
* ld-ia64/tlsbin.rd: New test.
* ld-ia64/tlsbin.s: New test.
* ld-ia64/tlsbin.sd: New test.
* ld-ia64/tlsbin.td: New test.
* ld-ia64/tlsg.s: New test.
* ld-ia64/tlsg.sd: New test.
* ld-ia64/tlslib.s: New test.
* ld-ia64/tlspic1.s: New test.
* ld-ia64/tlspic2.s: New test.
* ld-ia64/tlspic.dd: New test.
* ld-ia64/tlspic.rd: New test.
* ld-ia64/tlspic.sd: New test.
* ld-ia64/tlspic.td: New test.

21 years agoMissed one...
Michael Snyder [Thu, 16 Jan 2003 20:03:30 +0000 (20:03 +0000)]
Missed one...

21 years ago2003-01-16 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 16 Jan 2003 19:54:35 +0000 (19:54 +0000)]
2003-01-16  Michael Snyder  <msnyder@redhat.com>

* compile.c: Change K&R function definitions to ISO.
(fetch): Make static, and eliminate unused parameter 'n'.

21 years ago2003-01-16 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 16 Jan 2003 16:54:57 +0000 (16:54 +0000)]
2003-01-16  Andrew Cagney  <ac131313@redhat.com>

* frame.h (frame_id_unwind_ftype): Change type so that the frame's
ID back using a parameter.
* frame.c (frame_id_unwind): Update call.
(frame_saved_regs_id_unwind): Update.
* dummy-frame.c (dummy_frame_id_unwind): Update function.
* dummy-frame.h (struct frame_id): Add opaque declaration.
(dummy_frame_id_unwind): Update declaration.

21 years ago * configure.in (baseargs): Remove all supported forms of
Jakub Jelinek [Thu, 16 Jan 2003 16:27:51 +0000 (16:27 +0000)]
* configure.in (baseargs): Remove all supported forms of
--cache-file, --srcdir, --host, --build and --target options
from argument lists.
* configure: Rebuilt.

21 years ago * Makefile.in: Regenerate.
Alan Modra [Thu, 16 Jan 2003 04:11:53 +0000 (04:11 +0000)]
* Makefile.in: Regenerate.

21 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 16 Jan 2003 04:11:36 +0000 (04:11 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

21 years ago * readelf.c: Include elf/ppc64.h.
Alan Modra [Thu, 16 Jan 2003 04:10:23 +0000 (04:10 +0000)]
* readelf.c: Include elf/ppc64.h.
(dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

21 years ago * elf64-ppc.c: Include elf/ppc64.h rather than elf/ppc.h.
Alan Modra [Thu, 16 Jan 2003 04:09:37 +0000 (04:09 +0000)]
* elf64-ppc.c: Include elf/ppc64.h rather than elf/ppc.h.
(R_PPC_*): Rename all occurrences to R_PPC64_*.
(R_PPC64_ADDR30): Rename all occurrences to R_PPC64_REL30.
(enum elf_ppc_reloc_type): Ditto to enum elf_ppc64_reloc_type.
(ppc64_elf_gc_sweep_hook): Handle R_PPC64_REL30 along with other
relative relocs, not with absolute ones.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

21 years ago * ppc.h: Split out ppc64 definitions to..
Alan Modra [Thu, 16 Jan 2003 04:08:47 +0000 (04:08 +0000)]
* ppc.h: Split out ppc64 definitions to..
* pcc64.h: ..here.  New file.
(R_PPC64_REL30): Rename from R_PPC64_ADDR30.

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 16 Jan 2003 01:56:16 +0000 (01:56 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

* gdb.base/break.exp: Fix change of default location, because of
removal of until tests.
* gdb.base/help.exp: Update test for new 'until' help message.
Add test for help on 'advance'.

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 16 Jan 2003 01:13:18 +0000 (01:13 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.base/args.exp: Fix foobar with GDBFLAGS global.

21 years ago*** empty log message ***
gdbadmin [Thu, 16 Jan 2003 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 15 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agoAdded a period under at the end of the comment and fixed the date.
Stephen P. Smith [Wed, 15 Jan 2003 21:06:33 +0000 (21:06 +0000)]
Added a period under at the end of the comment and fixed the date.

21 years ago2003-01-15 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 15 Jan 2003 19:35:28 +0000 (19:35 +0000)]
2003-01-15  Andrew Cagney  <ac131313@redhat.com>

* sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.

Index: doc/ChangeLog
2003-01-15  Andrew Cagney  <ac131313@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
definition of PRINT_REGISTER_HOOK.

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 15 Jan 2003 17:57:38 +0000 (17:57 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

(OpenRISC 1000): Fix formatting of command names.

21 years ago* gdb.base/default.exp: Adapt "info float" test for recent changes
Mark Kettenis [Wed, 15 Jan 2003 17:46:20 +0000 (17:46 +0000)]
* gdb.base/default.exp: Adapt "info float" test for recent changes
to that command.  Add test for "info vector".
* gdb.base/float.exp: New file.  Add test for "info float" that
resembles the old test in gdb.base/default.exp.

21 years ago2003-01-15 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 15 Jan 2003 17:32:41 +0000 (17:32 +0000)]
2003-01-15  David Carlton  <carlton@math.stanford.edu>

* gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.

21 years ago * elf32-ppc.c (ppc_elf_check_relocs): Don't set DF_TEXTREL for a
Andreas Schwab [Wed, 15 Jan 2003 15:54:51 +0000 (15:54 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Don't set DF_TEXTREL for a
relocation against a non-allocated readonly section.

21 years agoUpdated the email address for Stephen P. Smith
Stephen P. Smith [Wed, 15 Jan 2003 15:54:04 +0000 (15:54 +0000)]
Updated the email address for Stephen P. Smith

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 15 Jan 2003 14:31:59 +0000 (14:31 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

* gdb.texinfo (Continuing and Stepping): Add new command
'advance'. Clarify behavior of 'until'.

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 15 Jan 2003 14:25:11 +0000 (14:25 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

* gdb.base/break.exp: Move the tests of until command from here...
* gdb.base/until.exp: ... to here. New file. Add other tests.
* gdb.base/advance.c: New file.
* gdb.base/advance.exp: New file.

21 years ago* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
Alexandre Oliva [Wed, 15 Jan 2003 11:24:47 +0000 (11:24 +0000)]
* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure: Rebuilt.

21 years ago2003-01-14 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 15 Jan 2003 00:48:38 +0000 (00:48 +0000)]
2003-01-14  Elena Zannoni  <ezannoni@redhat.com>

* breakpoint.c (until_break_command): Add new argument.  Use it to
decide whether to stop only at the current frame or not.
* breakpoint.h (until_break_command): Update prototype.
  * infcmd.c (until_command): Add new argument to until_break_command
call.
(advance_command): New function.
(_initialize_infcmd): Update help string for 'until' command.
Add new 'advance' command.

21 years ago*** empty log message ***
gdbadmin [Wed, 15 Jan 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 14 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago2003-01-14 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 14 Jan 2003 21:03:44 +0000 (21:03 +0000)]
2003-01-14  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.base/args.c: New file.
        * gdb.base/args.exp: New file.

21 years ago2003-01-14 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 14 Jan 2003 20:48:50 +0000 (20:48 +0000)]
2003-01-14  David Carlton  <carlton@math.stanford.edu>

* linespec.c (decode_line_1): Normalize comments.
(set_flags): Ditto.
(locate_first_half): Ditto.
(decode_compound): Ditto.
(symtab_from_filename): Ditto.
(decode_all_digits): Ditto.
(decode_dollar): Ditto.
(find_methods): Ditto.
(find_toplevel_char): Ditto.

21 years ago2003-01-14 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 14 Jan 2003 19:01:41 +0000 (19:01 +0000)]
2003-01-14  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (LUXC1, SUXC1): New, for mipsV and mips64.

21 years agoUpdate copyright date.
Daniel Jacobowitz [Tue, 14 Jan 2003 18:42:38 +0000 (18:42 +0000)]
Update copyright date.

21 years ago * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
Daniel Jacobowitz [Tue, 14 Jan 2003 18:32:14 +0000 (18:32 +0000)]
* gdb.c++/virtfunc.exp: Remove fixed XFAIL.

21 years ago2003-01-14 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 14 Jan 2003 18:15:08 +0000 (18:15 +0000)]
2003-01-14  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (EI, DI): Remove.

21 years ago * gdb.threads/killed.exp: Use KFAIL for gdb/568.
Daniel Jacobowitz [Tue, 14 Jan 2003 18:13:11 +0000 (18:13 +0000)]
* gdb.threads/killed.exp: Use KFAIL for gdb/568.

21 years ago * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
Daniel Jacobowitz [Tue, 14 Jan 2003 17:36:49 +0000 (17:36 +0000)]
* gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
dates.

21 years ago(node WIN32): Some clarifications and formatting fixups.
Nick Clifton [Tue, 14 Jan 2003 11:25:58 +0000 (11:25 +0000)]
(node WIN32): Some clarifications and formatting fixups.

21 years ago * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
Daniel Jacobowitz [Tue, 14 Jan 2003 04:40:48 +0000 (04:40 +0000)]
* gdb.c++/printmethod.exp (print virtual method): Accept "(void)".

21 years ago * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
Daniel Jacobowitz [Tue, 14 Jan 2003 04:34:46 +0000 (04:34 +0000)]
* gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
(ptype &*"foo").
* gdb.c++/local.exp: Enable setup_kfail for gdb/482.

21 years ago2003-01-13 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 14 Jan 2003 00:49:06 +0000 (00:49 +0000)]
2003-01-13  Andrew Cagney  <ac131313@redhat.com>

* ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
* demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
* elfread.c, eval.c, expprint.c, expression.h: Update copyright.
* f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
* gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
* language.c, language.h, m32r-tdep.c: Update copyright.
* mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
* somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
* thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
* values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
* x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
* cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.

Index: mi/ChangeLog
2003-01-13  Andrew Cagney  <ac131313@redhat.com>

* mi-cmd-env.c: Update copyright.

21 years ago2003-01-13 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 14 Jan 2003 00:15:05 +0000 (00:15 +0000)]
2003-01-13  Elena Zannoni  <ezannoni@redhat.com>

* stabsread.h (process_later, resolve_cfront_continuation):
Obsolete.
Update copyright years.
* buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
Update copyright year.
* dbxread.c(struct cont_elem): Obsolete.
(process_later, process_now): Obsolete functions.
(read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
Update copyright year.
* gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
(add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
* mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
(parse_partial_symbols): Obsolete cfront support.
* stabsread.c
(CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
macros.
(get_substring, get_cfront_method_physname, msg_unknown_complaint,
read_cfront_baseclasses, read_cfront_member_functions,
resolve_cfront_continuation,read_cfront_static_fields,
copy_cfront_struct_fields): Obsolete functions.
(define_symbol, read_one_struct_field): Obsolete cfront support.
* xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
Update Copyright year.

21 years ago2003-01-13 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 14 Jan 2003 00:07:43 +0000 (00:07 +0000)]
2003-01-13  Elena Zannoni  <ezannoni@redhat.com>

* stack.c (print_frame_info, print_stack_frame_base_stub,
print_stack_frame_base, show_and_print_stack_frame_stub,
show_and_print_stack_frame, print_only_stack_frame_stub,
print_only_stack_frame): Delete functions.
(print_stack_frame_stub): Call print_frame_info instead of
print_frame_info_base.
(print_frame_info_base): Rename to print_frame_info.
(backtrace_command_1): Call print_frame_info, instead of
print_frame_info_base.
(current_frame_command): Call print_stack_frame, instead of
print_only_stack_frame.
(frame_command): Call print_stack_frame, instead of
show_and_print_stack_frame.
(up_command): Ditto.
(down_command): Ditto.
* frame.h (print_only_stack_frame): Delete prototype.
* infrun.c (normal_stop): Call print_stack_frame, instead of
show_and_print_stack_frame.
* thread.c (info_threads_command): Call print_stack_frame, instead
of print_only_stack_frame.

2003-01-13  Elena Zannoni  <ezannoni@redhat.com>

* mi-main.c (mi_cmd_exec_return): Use print_stack_frame instead of
show_and_print_stack_frame.

21 years ago*** empty log message ***
gdbadmin [Tue, 14 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agoRevert previous change.
Andrew Cagney [Mon, 13 Jan 2003 23:27:17 +0000 (23:27 +0000)]
Revert previous change.

21 years ago2003-01-13 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 13 Jan 2003 23:25:55 +0000 (23:25 +0000)]
2003-01-13  Andrew Cagney  <ac131313@redhat.com>

* README (Graphical interface to GDB): Update URL.  Point at
gdb/links/.

21 years ago * gdb.mi/mi-console.exp: Remove extra "(known bug)".
Daniel Jacobowitz [Mon, 13 Jan 2003 23:24:43 +0000 (23:24 +0000)]
* gdb.mi/mi-console.exp: Remove extra "(known bug)".
* gdb.mi/mi1-console.exp: Likewise.

21 years ago2003-01-13 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 13 Jan 2003 23:07:07 +0000 (23:07 +0000)]
2003-01-13  Andrew Cagney  <ac131313@redhat.com>

* gdb_indent.sh: Update to version 2.2.9.  Warn when not exact
version match.

21 years agodaily update
Alan Modra [Mon, 13 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
Daniel Jacobowitz [Mon, 13 Jan 2003 22:07:15 +0000 (22:07 +0000)]
* gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
* gdb.mi/mi1-console.exp: Likewise.

21 years ago * symtab.c (find_pc_sect_line): Don't consider end-of-function
Daniel Jacobowitz [Mon, 13 Jan 2003 21:59:53 +0000 (21:59 +0000)]
* symtab.c (find_pc_sect_line): Don't consider end-of-function
lines.

21 years ago * thread-db.c (attach_thread): Prototype.
Daniel Jacobowitz [Mon, 13 Jan 2003 21:48:32 +0000 (21:48 +0000)]
* thread-db.c (attach_thread): Prototype.
(struct private_thread_info): Remove lwpid.  Add thread handle (th),
thread information (ti), and valid flags (th_valid, ti_valid).
(attach_thread): Move target_pid_to_str call to after the thread
is added to GDB's list.  Initialize the cache.
(thread_get_info_callback, thread_db_map_id2thr)
(thread_db_get_info): New functions.
(thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
(thread_db_store_registers, thread_db_thread_alive)
(thread_db_get_thread_local_address): Use them.
(thread_db_pid_to_str): Likewise.  Return "Missing" instead
of calling error() for threads in unknown state.

(clear_lwpid_callback): New function.
(thread_db_resume): Use it to clear the cache.

21 years ago * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
Daniel Jacobowitz [Mon, 13 Jan 2003 21:47:35 +0000 (21:47 +0000)]
* lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
(resume_callback): Remove dead code.

21 years ago2003-01-13 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 13 Jan 2003 21:10:30 +0000 (21:10 +0000)]
2003-01-13  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* stack.c (frame_info): Only initialize the saved registers when
FRAME_INIT_SAVED_REGS_P.
* frame.c (frame_saved_regs_register_unwind): Assert
FRAME_INIT_SAVED_REGS_P.
(deprecated_generic_get_saved_register): Ditto.

21 years ago * source.c (openp): Squelch warning about "filename".
Daniel Jacobowitz [Mon, 13 Jan 2003 20:26:15 +0000 (20:26 +0000)]
* source.c (openp): Squelch warning about "filename".

21 years agoUpdate copyright year.
Daniel Jacobowitz [Mon, 13 Jan 2003 20:12:57 +0000 (20:12 +0000)]
Update copyright year.

21 years ago * source.c (openp): If the file does not exist don't necessarily
Daniel Jacobowitz [Mon, 13 Jan 2003 20:11:47 +0000 (20:11 +0000)]
* source.c (openp): If the file does not exist don't necessarily
search the path.

21 years agoUpdate copyright years.
Daniel Jacobowitz [Mon, 13 Jan 2003 20:09:33 +0000 (20:09 +0000)]
Update copyright years.

21 years ago Fix PR gdb/872.
Daniel Jacobowitz [Mon, 13 Jan 2003 20:08:58 +0000 (20:08 +0000)]
Fix PR gdb/872.
* gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
(integer_types_same_name_p): New function.
(rank_one_type): Use it.
* stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.

21 years ago * gdb.c++/overload.exp: Remove some fixed XFAILs.
Daniel Jacobowitz [Mon, 13 Jan 2003 20:08:16 +0000 (20:08 +0000)]
* gdb.c++/overload.exp: Remove some fixed XFAILs.

21 years ago * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
Daniel Jacobowitz [Mon, 13 Jan 2003 18:00:16 +0000 (18:00 +0000)]
* Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
variables.
(main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
* configure.in: Add --with-sysroot.
* configure: Regenerated.
* main.c (gdb_sysroot): New variable.
(captured_main): Initialize gdb_sysroot.
* defs.h (gdb_sysroot): New extern declaration.
* solib.c (_initialize_solib): Initialize solib_absolute_prefix.

21 years ago * gdb.texinfo (Files): Document solib-absolute-prefix and
Daniel Jacobowitz [Mon, 13 Jan 2003 17:59:49 +0000 (17:59 +0000)]
* gdb.texinfo (Files): Document solib-absolute-prefix and
solib-search-path.

21 years agoChange EM_MSP430 value to new, officially assigned number.
Nick Clifton [Mon, 13 Jan 2003 16:37:47 +0000 (16:37 +0000)]
Change EM_MSP430 value to new, officially assigned number.

21 years ago*** empty log message ***
gdbadmin [Mon, 13 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 12 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2003-01-12 Michael Chastain <mec@shout.net>
Michael Chastain [Sun, 12 Jan 2003 22:55:51 +0000 (22:55 +0000)]
2003-01-12  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.

21 years ago2003-01-12 Michael Chastain <mec@shout.net>
Michael Chastain [Sun, 12 Jan 2003 21:38:16 +0000 (21:38 +0000)]
2003-01-12  Michael Chastain  <mec@shout.net>

* top.c (print_gdb_version): Bump copyright year to 2003.

21 years ago2003-01-12 David Carlton <carlton@bactrian.org>
David Carlton [Sun, 12 Jan 2003 20:55:32 +0000 (20:55 +0000)]
2003-01-12  David Carlton  <carlton@bactrian.org>

* linespec.c (symtab_from_filename): Rename variable 's' to
'file_symtab'.

21 years ago2003-01-12 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 12 Jan 2003 19:25:39 +0000 (19:25 +0000)]
2003-01-12  Andrew Cagney  <ac131313@redhat.com>

* d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
dummy frame.
(d10v_frame_saved_pc, d10v_frame_chain): Ditto.

21 years ago2003-01-12 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 12 Jan 2003 18:59:53 +0000 (18:59 +0000)]
2003-01-12  Andrew Cagney  <ac131313@redhat.com>

* d10v-tdep.c: Include "gdb_assert.h".
(d10v_store_return_value): Rewrite to match current interface.
(d10v_extract_struct_value_address): Ditto.
(d10v_extract_return_value): Ditto.
(d10v_gdbarch_init): Set store_restore_value,
extract_struct_value_address and extract_return_value.

21 years ago * hpread.c (set_namestring): New procedure replacing the
Joel Brobecker [Sun, 12 Jan 2003 11:49:14 +0000 (11:49 +0000)]
    * hpread.c (set_namestring): New procedure replacing the
        SET_NAMESTRING macro.
        (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
        by calls to set_namestring.

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

21 years agodaily update
Alan Modra [Sat, 11 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago * read.c (get_absolute_expr): New, split out from..
Alan Modra [Sat, 11 Jan 2003 06:24:12 +0000 (06:24 +0000)]
* read.c (get_absolute_expr): New, split out from..
(get_absolute_expression): ..here.
* read.h (get_absolute_expr): Declare.
* config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
Trim size to arch bits_per_address, and test for negative input
via get_absolute_expr.

21 years ago * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
Joel Brobecker [Sat, 11 Jan 2003 02:13:23 +0000 (02:13 +0000)]
   * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
       a compilation warning.
       (hpread_process_one_debug_symbol): Likewise.

21 years ago2003-01-10 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 11 Jan 2003 01:01:04 +0000 (01:01 +0000)]
2003-01-10  David Carlton  <carlton@math.stanford.edu>

* linespec.c (decode_line_1): Rename variable 's' to
'file_symtab'.
(decode_all_digits): Rename argument 's' to 'file_symtab'.
(decode_dollar): Ditto.
(decode_variable): Ditto.
(symbol_found): Ditto.

21 years ago2003-01-09 Michael Chastain <mec@shout.net>
Michael Chastain [Sat, 11 Jan 2003 00:43:53 +0000 (00:43 +0000)]
2003-01-09  Michael Chastain  <mec@shout.net>

From Chet Ramey, <chet@po.cwru.edu>, the readline maintainer:
* display.c: Fix perverse screen refresh with UTF-8.

21 years ago*** empty log message ***
gdbadmin [Sat, 11 Jan 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 10 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2003-01-09 Michael Chastain <mec@shout.net>
Michael Chastain [Fri, 10 Jan 2003 22:51:57 +0000 (22:51 +0000)]
2003-01-09  Michael Chastain  <mec@shout.net>

* gdbint.texinfo (Configuring @value{GDBN} for Release): Delete.
(Create a Release): Add new instructions for new @file{src-release}.
Document existing instructions for @file{Makefile.in} as
being for @value{GDBN} 5.3.1 or earlier.

21 years ago * configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
Nathanael Nerode [Fri, 10 Jan 2003 21:43:31 +0000 (21:43 +0000)]
* configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc.
* Makefile.in: Regenerate.
* configure: Regenerate.

21 years ago2003-01-09 Michael Chastain <mec@shout.net>
Michael Chastain [Fri, 10 Jan 2003 20:55:04 +0000 (20:55 +0000)]
2003-01-09  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.

21 years ago * win32-nat.c (set_process_privilege): New function.
Corinna Vinschen [Fri, 10 Jan 2003 20:14:02 +0000 (20:14 +0000)]
* win32-nat.c (set_process_privilege): New function.
(child_attach): Call set_process_privilege() to enable the
SE_DEBUG_NAME user privilege if available in process token.

21 years ago * hpread.c (hpread_process_one_debug_symbol): Fix a small
Joel Brobecker [Fri, 10 Jan 2003 15:39:10 +0000 (15:39 +0000)]
    * hpread.c (hpread_process_one_debug_symbol): Fix a small
        compilation error in the previous revision.

21 years ago2003-01-10 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 10 Jan 2003 05:27:17 +0000 (05:27 +0000)]
2003-01-10  Ben Elliston  <bje@redhat.com>

* README.Cygnus: Rename from this ..
* README: .. to this.

21 years ago* remove duplicated entry from 2002-05-17 on 2002-05-20.
Ben Elliston [Fri, 10 Jan 2003 04:51:58 +0000 (04:51 +0000)]
* remove duplicated entry from 2002-05-17 on 2002-05-20.
* s/SWI_TARGET_SWITCHES/SIM_TARGET_SWITCHES/.

21 years agomerge from gcc
DJ Delorie [Fri, 10 Jan 2003 03:27:26 +0000 (03:27 +0000)]
merge from gcc

21 years ago*** empty log message ***
gdbadmin [Fri, 10 Jan 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 9 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * elf32-ppc.c (ppc_elf_relocate_section): Adjust addend for GOT16_HA.
Alan Modra [Thu, 9 Jan 2003 22:51:37 +0000 (22:51 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Adjust addend for GOT16_HA.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.  PLTGOT16_HA too.