binutils-gdb.git
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.

21 years ago2003-01-09 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 9 Jan 2003 21:34:15 +0000 (21:34 +0000)]
2003-01-09  David Carlton  <carlton@math.stanford.edu>

* linespec.c: Update copyright.

21 years ago2003-01-09 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 9 Jan 2003 21:26:53 +0000 (21:26 +0000)]
2003-01-09  Chris Demetriou  <cgd@broadcom.com>

        * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
        order, and handle (ignore) -mips32r2.

21 years agoRoll ChangeLog / ChangeLog-2002.
Andrew Cagney [Thu, 9 Jan 2003 21:08:45 +0000 (21:08 +0000)]
Roll ChangeLog / ChangeLog-2002.

21 years ago* Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
DJ Delorie [Thu, 9 Jan 2003 20:50:25 +0000 (20:50 +0000)]
* Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
* Makefile.in: Regenerate.

21 years ago* configure.in: Remove Makefile in build, host and target modules
Alexandre Oliva [Thu, 9 Jan 2003 20:45:29 +0000 (20:45 +0000)]
* configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.

21 years ago * gdb.base/detach.exp: New test.
Daniel Jacobowitz [Thu, 9 Jan 2003 19:18:04 +0000 (19:18 +0000)]
* gdb.base/detach.exp: New test.

21 years ago * lin-lwp.c (child_wait): Ignore exit statuses for processes other
Daniel Jacobowitz [Thu, 9 Jan 2003 19:14:46 +0000 (19:14 +0000)]
* lin-lwp.c (child_wait): Ignore exit statuses for processes other
than inferior_ptid.
(lin_lwp_wait): Ignore exit statuses for unknown LWPs.

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

* frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
Update comments.
* frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
(frame_saved_regs_zalloc): Update.
(frame_saved_regs_register_unwind): Update.
(create_new_frame): Update.
(get_prev_frame): Update.
(frame_extra_info_zalloc): Update.
(deprecated_get_frame_saved_regs): Update.
* dwarf2cfi.c (cfi_init_extra_frame_info): Update.
* cris-tdep.c: Update comment.

21 years ago * Makefile.in (ALL_SUBDIRS): New variable.
Daniel Jacobowitz [Thu, 9 Jan 2003 18:50:28 +0000 (18:50 +0000)]
* Makefile.in (ALL_SUBDIRS): New variable.
(subdirs, clean, distclean): Use it.
* gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
regenerating Makefile, since it is generated from the top level.
* gdb.asm/Makefile.in: Likewise.
* gdb.base/Makefile.in: Likewise.
* gdb.c++/Makefile.in: Likewise.
* gdb.disasm/Makefile.in: Likewise.
* gdb.java/Makefile.in: Likewise.
* gdb.mi/Makefile.in: Likewise.
* gdb.threads/Makefile.in: Likewise.
* gdb.trace/Makefile.in: Likewise.

21 years ago2003-01-09 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 9 Jan 2003 18:46:02 +0000 (18:46 +0000)]
2003-01-09  Andrew Cagney  <ac131313@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Mention
frame_saved_regs_zalloc and frame_extra_info_zalloc as the way to
allocate memory.

21 years ago2003-01-09 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 9 Jan 2003 18:30:32 +0000 (18:30 +0000)]
2003-01-09  Andrew Cagney  <ac131313@redhat.com>

* somsolib.h: Fix function indentation.
* disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
* gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
* demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
* alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
* somsolib.c, inftarg.c: Remove assignment in if conditional.

21 years ago2003-01-09 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 9 Jan 2003 18:03:38 +0000 (18:03 +0000)]
2003-01-09  Andrew Cagney  <ac131313@redhat.com>

* infrun.c (follow_fork): Use ISO C definition.
* expprint.c (print_subexp): Use xfree instead of free.
* charset.c: Include "gdb_string.h" instead of <string.h>.
(register_iconv_charsets): Use ISO C definition.
(host_charset, target_charset): Ditto.
* Makefile.in (charset.o): Update dependencies.
(mi-cmd-env.o): Update dependencies.

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

* mi-cmd-env.c: Include "gdb_string.h" instead of <string.h>.
Move all includes to after "defs.h".

21 years ago2003-01-09 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 9 Jan 2003 17:10:39 +0000 (17:10 +0000)]
2003-01-09  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
Add copyright year 2003.

21 years ago * ldmain.c (main): Make sure ld_sysroot is initialized.
Daniel Jacobowitz [Thu, 9 Jan 2003 16:40:14 +0000 (16:40 +0000)]
* ldmain.c (main): Make sure ld_sysroot is initialized.

21 years agomerge from gcc
DJ Delorie [Thu, 9 Jan 2003 14:39:43 +0000 (14:39 +0000)]
merge from gcc

21 years ago2002-01-08 Klee Dienes <kdienes@apple.com>
Klee Dienes [Thu, 9 Jan 2003 08:35:28 +0000 (08:35 +0000)]
2002-01-08  Klee Dienes  <kdienes@apple.com>

        * Makefile.am (ALL_MACHINES): Use cpu-msp430.lo, not cpu-msp430.c.
        (BFD32_BACKENDS): Use elf32-msp430.lo, not elf32-msp430.c.
        * Makefile.in: Regenerate.

21 years ago2003-01-08 Klee Dienes <kdienes@apple.com>
Klee Dienes [Thu, 9 Jan 2003 08:32:26 +0000 (08:32 +0000)]
2003-01-08  Klee Dienes  <kdienes@apple.com>

        * Makefile.am (ALL_MACHINES): Add msp430-dis.lo.
        * Makefile.in: Regenerate.

21 years ago2003-01-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 9 Jan 2003 00:45:08 +0000 (00:45 +0000)]
2003-01-08  Andrew Cagney  <ac131313@redhat.com>

* gdb_mbuild.sh: Add --keep option.  When specified, keep the
build directories.  Save edited gdb output in Mbuild.log.  If a
build fails, remove any final GDB executable.

21 years ago2003-01-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 9 Jan 2003 00:24:50 +0000 (00:24 +0000)]
2003-01-08  Andrew Cagney  <cagney@redhat.com>

* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
get_frame_base.

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

21 years ago2003-01-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 8 Jan 2003 23:49:15 +0000 (23:49 +0000)]
2003-01-08  Andrew Cagney  <ac131313@redhat.com>

* gdb_mbuild.sh: Edit the output of `maint print architecture'
replacing hex constants with function names and stripping leading
file name directory prefixes.

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

21 years ago2003-01-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 8 Jan 2003 22:47:46 +0000 (22:47 +0000)]
2003-01-08  Andrew Cagney  <cagney@redhat.com>

* gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
get_frame_base.

21 years ago2003-01-08 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 8 Jan 2003 22:40:18 +0000 (22:40 +0000)]
2003-01-08  David Carlton  <carlton@math.stanford.edu>

* linespec.c (decode_line_1): Move code into decode_variable.
(decode_variable): New function.

21 years ago[ ChangeLog ]
Chris Demetriou [Wed, 8 Jan 2003 22:09:32 +0000 (22:09 +0000)]
[ ChangeLog ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

[ dejagnu/ChangeLog ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

[ readline/ChangeLog.gdb ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

21 years ago* elfn32-mips.c (prev_reloc_section): New.
Alexandre Oliva [Wed, 8 Jan 2003 22:00:53 +0000 (22:00 +0000)]
* elfn32-mips.c (prev_reloc_section): New.
(GET_RELOC_ADDEND): Use it.  Parenthesize macro arguments.
(SET_RELOC_ADDEND): Parenthesize macro argument.

21 years ago2003-01-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 8 Jan 2003 21:44:55 +0000 (21:44 +0000)]
2003-01-08  Andrew Cagney  <ac131313@redhat.com>

* mn10300-tdep.c (analyze_dummy_frame): Fix typo.

21 years ago2003-01-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 8 Jan 2003 19:45:23 +0000 (19:45 +0000)]
2003-01-08  Andrew Cagney  <cagney@redhat.com>

* cris-tdep.c (cris_frame_init_saved_regs): Use
get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
saved_regs buffer.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
* mips-tdep.c (mips_init_extra_frame_info): Ditto.
* mcore-tdep.c (analyze_dummy_frame): Ditto.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.

21 years ago * minsyms.c (lookup_minimal_symbol): Update comment.
Daniel Jacobowitz [Wed, 8 Jan 2003 18:38:47 +0000 (18:38 +0000)]
* minsyms.c (lookup_minimal_symbol): Update comment.
(lookup_minimal_symbol_text): Update comment.  Use the hash table.
(lookup_minimal_symbol_solib_trampoline): Likewise.

21 years ago2003-01-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 8 Jan 2003 18:04:06 +0000 (18:04 +0000)]
2003-01-08  Andrew Cagney  <cagney@redhat.com>

* d10v-tdep.c (d10v_init_extra_frame_info): Use
frame_relative_level.

21 years ago2003-01-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 8 Jan 2003 17:21:30 +0000 (17:21 +0000)]
2003-01-08  Andrew Cagney  <cagney@redhat.com>

* alpha-tdep.c: Use get_frame_extra_info.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, xstormy16-tdep.c: Ditto.

21 years ago * run.c (usage): Fix typos.
Kazu Hirata [Wed, 8 Jan 2003 17:18:29 +0000 (17:18 +0000)]
* run.c (usage): Fix typos.

21 years ago2003-01-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 8 Jan 2003 15:56:38 +0000 (15:56 +0000)]
2003-01-08  Andrew Cagney  <cagney@redhat.com>

* alpha-tdep.c: Use get_next_frame.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
* v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
* xstormy16-tdep.c: Ditto.

21 years ago2003-01-07 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 8 Jan 2003 07:36:47 +0000 (07:36 +0000)]
2003-01-07  Chris Demetriou  <cgd@broadcom.com>

        * mips.h: Fix missing space in comment.
        (INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, INSN_ISA5)
        (INSN_ISA32, INSN_ISA32R2, INSN_ISA64): Shift values right
        by four bits.

21 years ago * ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.
Alan Modra [Wed, 8 Jan 2003 02:55:52 +0000 (02:55 +0000)]
* ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.

21 years ago * elf32-hppa.c (final_link_relocate): For all DP relative relocations,
Dave Anglin [Wed, 8 Jan 2003 02:19:23 +0000 (02:19 +0000)]
* elf32-hppa.c (final_link_relocate): For all DP relative relocations,
adjust addil instructions if the symbol has no section.

21 years ago2003-01-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 8 Jan 2003 01:53:38 +0000 (01:53 +0000)]
2003-01-07  Andrew Cagney  <cagney@redhat.com>

* alpha-tdep.c: Use get_frame_base.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
* mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
* x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
* config/sparc/tm-sparc.h: Ditto.

21 years ago* configure: Regenerate with proper autoconf 2.13.
Christopher Faylor [Wed, 8 Jan 2003 01:19:55 +0000 (01:19 +0000)]
* configure: Regenerate with proper autoconf 2.13.

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

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

21 years ago2003-01-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 7 Jan 2003 22:53:09 +0000 (22:53 +0000)]
2003-01-07  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_get_frame_context): New function.
(deprecated_set_frame_context): New function.
* frame.h (deprecated_get_frame_context): Declare.
(deprecated_set_frame_context): Declare.
* dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
(cfi_init_extra_frame_info): Use deprecated_set_frame_context.

21 years ago* configure.in: Add AC_PREREQ for consistency.
Christopher Faylor [Tue, 7 Jan 2003 21:58:19 +0000 (21:58 +0000)]
* configure.in: Add AC_PREREQ for consistency.
* configure: Regenerate.

21 years ago* config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
DJ Delorie [Tue, 7 Jan 2003 21:27:58 +0000 (21:27 +0000)]
* config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
on operand type.
(xstormy16_md_apply_fix3): Use adjustment.

21 years ago* gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs.
DJ Delorie [Tue, 7 Jan 2003 21:26:29 +0000 (21:26 +0000)]
* gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs.

21 years ago* elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 not
DJ Delorie [Tue, 7 Jan 2003 21:26:13 +0000 (21:26 +0000)]
* elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 not
partial_inplace.

21 years ago2003-01-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 7 Jan 2003 19:19:00 +0000 (19:19 +0000)]
2003-01-07  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_set_frame_next_hack): New function.
(deprecated_set_frame_prev_hack): New function.
* frame.h (deprecated_set_frame_next_hack): Declare.
(deprecated_set_frame_prev_hack): Declare.
* mcore-tdep.c (analyze_dummy_frame): Use
deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.

21 years ago2003-01-07 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 7 Jan 2003 17:05:49 +0000 (17:05 +0000)]
2003-01-07  David Carlton  <carlton@math.stanford.edu>

* linespec.c (decode_line_1): Move code into decode_dollar.
(decode_dollar): New function.

21 years agozap #define FRAME_C.
Andrew Cagney [Tue, 7 Jan 2003 16:29:22 +0000 (16:29 +0000)]
zap #define FRAME_C.