2003-10-22 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 137e7ea78fcd12c60100139d55decf8c58f463ea..6f40b2bfb7b6b04e51bb44b1c4827bd9fb012a8b 100644 (file)
@@ -1,3 +1,353 @@
+2003-10-22  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (convert_from_func_ptr_addr): Convert to a pure
+       multi-arch method, add "targ" parameter.
+       (struct target_ops): Declare.   
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * Makefile.in (c-valprint.o): Update dependencies.
+       * arch-utils.h: Update copyright.
+       (convert_from_func_ptr_addr_identity): Declare.
+       * arch-utils.c (convert_from_func_ptr_addr_identity): New function.
+       * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
+       * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Upate.
+       * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Update.
+       * infcall.c (find_function_addr, call_function_by_hand): Update.
+       * c-valprint.c: Include "target.h".
+       (print_function_pointer_address): Update.
+
+2003-10-22  Andrew Cagney  <cagney@redhat.com>
+
+       * target.c (target_close): New function.
+       (debug_to_close): Use "target_close".
+       (push_target): Use "target_close".
+       (unpush_target): Use "target_close".
+       (pop_target): Use "target_close".
+       * target.h (struct target_ops): Add "to_xclose".
+       (target_open): Delete macro.  Move comment to "to_open".
+       (target_close): Replace macro with function that takes a target.
+       * top.c (quit_target): Pass "current_target" to "target_close".
+
+2003-10-21  Elena Zannoni  <ezannoni@redhat.com>
+
+       * minsyms.c (lookup_minimal_symbol_text): Remove unused parameter.
+       Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
+       * symtab.h (lookup_minimal_symbol_text): Update.
+       * breakpoint.c (create_overlay_event_breakpoint,
+       create_longjmp_breakpoint): Update callers.
+       * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Update caller.
+       * symtab.c (find_pc_sect_line): Ditto.
+
+2003-10-21  Andrew Cagney  <cagney@redhat.com>
+
+       * target.c (errno): Delete extern declaration.
+
+2003-10-20  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * ia64-tdep.c: Change all occurrences of
+       DEPRECATED_REGISTER_RAW_SIZE to use register_size() instead.
+       (ia64_frame_prev_register): Minor whitespace change.
+
+2003-10-20  Michael Chastain  <mec@shout.net>
+
+       * config/djgpp/fnchange.lst: Add lines for:
+       sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs,
+       sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs,
+       sim/testsuite/sim/frv/interrupts/badalign-fr550.cgs,
+       sim/testsuite/sim/frv/interrupts/compound-fr550.cgs,
+       sim/testsuite/sim/frv/interrupts/data_store_error-fr550.cgs,
+       sim/testsuite/sim/frv/interrupts/fp_exception-fr550.cgs,
+       sim/testsuite/sim/frv/interrupts/insn_access_error-fr550.cgs.
+
+2003-10-20  Andrew Cagney  <cagney@redhat.com>
+
+       * values.c (register_value_being_returned): Update comments.  Use
+       "gdbarch_return_value" when available.
+       (using_struct_return): Ditto.
+       (set_return_value): Ditto.  Use "gdbarch_return_value" when
+       available..  Print a warning, and not an error, when an unhandled
+       return type is encountered.
+       * infcmd.c: Include "gdb_assert.h".
+       (print_return_value): When gdbarch_return_value_p, and using
+       struct return, assume that the value is not available.
+       * defs.h (return_value_convention): Define.
+       * gdbarch.sh (gdbarch_return_value): New predicate method.
+       * gdbarch.h, gdbarch.c: Re-generate
+       * ppc-sysv-tdep.c (return_value_convention): Delete definition.
+
+2003-10-20  Andrew Cagney  <cagney@redhat.com>
+
+       * symtab.c: Replace "struct sec" with "struct bfd_section".
+       * objfiles.c, linespec.c, blockframe.c, block.c: Ditto.
+
+2003-10-19  Michael Chastain  <mec@shout.net>
+
+       * config/djgpp/fnchange.lst: Add lines for:
+       gdb/amd64nbsd-nat.c, gdb/amd64nbsd-tdep.c,
+       gdb/i386fbsd-nat.c, gdb/i386fbsd-tdep.c,
+       gdb/sparc64fbsd-nat.c, gdb/sparc64bsd-tdep.c.
+
+2003-10-19  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64fbsd-nat.c (fetch_inferior_registers,
+       store_inferior_registers): Remove functions.
+       * config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o.
+
+2003-10-18  Mark Kettenis  <kettenis@gnu.org>
+
+       Add NetBSD/amd64 native configuration:
+       * x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations.
+       * amd64nbsd-tdep.c: New file.
+       * amd64nbsd-nat.c: New file.
+       * amd64bsd-nat.c: New file.
+       * config/i386/nbsd64.mh: New file.
+       * config/i386/nbsd64.mt: New file.
+       * configure.host: Add x86_64-*-netbsd*.
+       * configure.tgt: Add x86_64-*-netbsd*.
+       * Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o):
+       New targets.
+       * NEWS (New native configurations): Mention NetBSD/amd64.
+
+2003-10-17  Michael Chastain  <mec@shout.net>
+
+       * config/djgpp/fnchange.lst: Remove dead lines for:
+       bfd/elf32-i386qnx.c, bfd/elf32-ppcqnx.c, bfd/elf32-shqnx.c,
+       bfd/elf32-sh-lin.c, bfd/elf32-sh-nbsd.c, bfd/elf32-sh64-nbsd.c,
+       bfd/elf64-alpha-fbsd.c, bfd/elf64-sh64-nbsd.c,
+       gdb/alphanbsd-nat.c, gdb/config/i386/tm-i386mk.h,
+       gdb/config/i386/tm-i386v42mp.h, gdb/config/i386/xm-i386mach.h,
+       gdb/config/i386/xm-i386mk.h, gdb/config/i386/xm-i386v32.h,
+       gdb/config/m68k/apollo68v.mh, gdb/config/m68k/nm-apollo68v.h,
+       gdb/config/m68k/xm-apollo68v.h, gdb/config/m88k/tm-delta88v4.h,
+       gdb/config/mips/tm-bigmips64.h, gdb/config/mips/tm-embed64.h,
+       gdb/config/mips/tm-embedl.h, gdb/config/mips/tm-embedl64.h,
+       gdb/config/mips/tm-vr4300el.h, gdb/config/mips/tm-vr4xxxel.h,
+       gdb/config/mips/tm-vr5000el.h, gdb/config/sparc/tm-sparclet.h,
+       gdb/config/sparc/tm-sparclite.h,
+       gdb/gdbtk/generic/ChangeLog-2001,
+       gdb/gdbtk/library/ChangeLog-2001, gdb/remote-adapt.c,
+       gdb/remote-eb.c, gdb/remote-mm.c, gdb/remote-nrom.c,
+       gdb/remote-udi.c, gdb/remote-vx29k.c, gdb/remote-vx960.c,
+       gdb/sparclet-rom.c, gdb/sparclet-stub.c,
+       gdb/testsuite/gdb.mi/mi0-var-block.exp,
+       gdb/testsuite/gdb.mi/mi0-var-child.exp,
+       gdb/testsuite/gdb.mi/mi0-var-cmd.exp,
+       gdb/testsuite/gdb.mi/mi0-var-display.exp,
+       itcl/iwidgets3.0.0/demos/extfileselectionbox,
+       itcl/iwidgets3.0.0/demos/extfileselectiondialog,
+       itcl/iwidgets3.0.0/demos/fileselectionbox,
+       itcl/iwidgets3.0.0/demos/fileselectiondialog,
+       itcl/iwidgets3.0.0/demos/html/buttonbox.n.html,
+       itcl/iwidgets3.0.0/demos/html/canvasprintbox.n.html,
+       itcl/iwidgets3.0.0/demos/html/canvasprintdialog.n.html,
+       itcl/iwidgets3.0.0/demos/html/combobox.n.html,
+       itcl/iwidgets3.0.0/demos/html/dialog.n.html,
+       itcl/iwidgets3.0.0/demos/html/dialogshell.n.html,
+       itcl/iwidgets3.0.0/demos/html/entryfield.n.html,
+       itcl/iwidgets3.0.0/demos/html/feedback.n.html,
+       itcl/iwidgets3.0.0/demos/html/fileselectionbox.n.html,
+       itcl/iwidgets3.0.0/demos/html/fileselectiondialog.n.html,
+       itcl/iwidgets3.0.0/demos/html/hyperhelp.n.html,
+       itcl/iwidgets3.0.0/demos/html/iwidgets2.2.0UserCmds.html,
+       itcl/iwidgets3.0.0/demos/html/labeledwidget.n.html,
+       itcl/iwidgets3.0.0/demos/html/menubar.n.html,
+       itcl/iwidgets3.0.0/demos/html/messagedialog.n.html,
+       itcl/iwidgets3.0.0/demos/html/notebook.n.html,
+       itcl/iwidgets3.0.0/demos/html/optionmenu.n.html,
+       itcl/iwidgets3.0.0/demos/html/panedwindow.n.html,
+       itcl/iwidgets3.0.0/demos/html/promptdialog.n.html,
+       itcl/iwidgets3.0.0/demos/html/pushbutton.n.html,
+       itcl/iwidgets3.0.0/demos/html/radiobox.n.html,
+       itcl/iwidgets3.0.0/demos/html/scrolledcanvas.n.html,
+       itcl/iwidgets3.0.0/demos/html/scrolledframe.n.html,
+       itcl/iwidgets3.0.0/demos/html/scrolledhtml.n.html,
+       itcl/iwidgets3.0.0/demos/html/scrolledlistbox.n.html,
+       itcl/iwidgets3.0.0/demos/html/scrolledtext.n.html,
+       itcl/iwidgets3.0.0/demos/html/selectionbox.n.html,
+       itcl/iwidgets3.0.0/demos/html/selectiondialog.n.html,
+       itcl/iwidgets3.0.0/demos/html/shell.n.html,
+       itcl/iwidgets3.0.0/demos/html/spindate.n.html,
+       itcl/iwidgets3.0.0/demos/html/spinint.n.html,
+       itcl/iwidgets3.0.0/demos/html/spinner.n.html,
+       itcl/iwidgets3.0.0/demos/html/spintime.n.html,
+       itcl/iwidgets3.0.0/demos/html/tabnotebook.n.html,
+       itcl/iwidgets3.0.0/demos/html/tabset.n.html,
+       itcl/iwidgets3.0.0/demos/html/toolbar.n.html,
+       itcl/iwidgets3.0.0/demos/scrolledcanvas,
+       itcl/iwidgets3.0.0/demos/scrolledframe,
+       itcl/iwidgets3.0.0/demos/scrolledhtml,
+       itcl/iwidgets3.0.0/demos/scrolledlistbox,
+       itcl/iwidgets3.0.0/demos/scrolledtext,
+       itcl/iwidgets3.0.0/demos/selectionbox,
+       itcl/iwidgets3.0.0/demos/selectiondialog,
+       itcl/iwidgets3.0.0/doc/canvasprintbox.n,
+       itcl/iwidgets3.0.0/doc/canvasprintdialog.n,
+       itcl/iwidgets3.0.0/doc/extfileselectionbox.n,
+       itcl/iwidgets3.0.0/doc/extfileselectiondialog.n,
+       itcl/iwidgets3.0.0/doc/fileselectionbox.n,
+       itcl/iwidgets3.0.0/doc/fileselectiondialog.n,
+       itcl/iwidgets3.0.0/doc/scopedobject.n.backup,
+       itcl/iwidgets3.0.0/doc/scrolledcanvas.n,
+       itcl/iwidgets3.0.0/doc/scrolledframe.n,
+       itcl/iwidgets3.0.0/doc/scrolledhtml.n,
+       itcl/iwidgets3.0.0/doc/scrolledlistbox.n,
+       itcl/iwidgets3.0.0/doc/scrolledtext.n,
+       itcl/iwidgets3.0.0/doc/selectionbox.n,
+       itcl/iwidgets3.0.0/doc/selectiondialog.n,
+       itcl/iwidgets3.0.0/generic/canvasprintbox.itk,
+       itcl/iwidgets3.0.0/generic/canvasprintdialog.itk,
+       itcl/iwidgets3.0.0/generic/extfileselectionbox.itk,
+       itcl/iwidgets3.0.0/generic/extfileselectiondialog.itk,
+       itcl/iwidgets3.0.0/generic/fileselectionbox.itk,
+       itcl/iwidgets3.0.0/generic/fileselectiondialog.itk,
+       itcl/iwidgets3.0.0/generic/scrolledcanvas.itk,
+       itcl/iwidgets3.0.0/generic/scrolledframe.itk,
+       itcl/iwidgets3.0.0/generic/scrolledhtml.itk,
+       itcl/iwidgets3.0.0/generic/scrolledlistbox.itk,
+       itcl/iwidgets3.0.0/generic/scrolledtext.itk,
+       itcl/iwidgets3.0.0/generic/scrolledwidget.itk,
+       itcl/iwidgets3.0.0/generic/selectionbox.itk,
+       itcl/iwidgets3.0.0/generic/selectiondialog.itk,
+       itcl/iwidgets3.0.0/tests/canvasprintbox.test,
+       itcl/iwidgets3.0.0/tests/canvasprintdialog.test,
+       itcl/iwidgets3.0.0/tests/extfileselectionbox.test,
+       itcl/iwidgets3.0.0/tests/extfileselectiondialog.test,
+       itcl/iwidgets3.0.0/tests/fileselectionbox.test,
+       itcl/iwidgets3.0.0/tests/fileselectiondialog.test,
+       itcl/iwidgets3.0.0/tests/scrolledcanvas.test,
+       itcl/iwidgets3.0.0/tests/scrolledframe.test,
+       itcl/iwidgets3.0.0/tests/scrolledhtml.test,
+       itcl/iwidgets3.0.0/tests/scrolledlistbox.test,
+       itcl/iwidgets3.0.0/tests/scrolledtext.test,
+       itcl/iwidgets3.0.0/tests/selectionbox.test,
+       itcl/iwidgets3.0.0/tests/selectiondialog.test,
+       itcl/iwidgets3.0.0/unix/iwidgets.tcl.in,
+       itcl/iwidgets3.0.0/unix/pkgIndex.tcl.in,
+       tix/docs/Release-4.1.0.html, tix/docs/Release-4.1.0.txt,
+       tix/docs/Release-4.1a2.html, tix/docs/Release-4.1a2.txt,
+       tix/docs/Release-4.1a3.html, tix/docs/Release-4.1a3.txt,
+       tix/docs/Release-4.1b1.html, tix/docs/Release-4.1b1.txt,
+       tix/docs/Release-4.1b2.html, tix/docs/Release-4.1b2.txt,
+       tix/tixConfig.sh.in, tix/unix/tk4.2/pkgIndex.tcl.in,
+       tix/unix/tk8.0/pkgIndex.tcl.in, tix/unix/tk8.0/pkgIndex.tcl.in,
+       tix/unix/tk8.1/pkgIndex.tcl.in, tix/win/tkConsole41.c,
+       tix/win/tkConsole42.c, tix/win/tkConsole80a1.c,
+       tix/win/tkConsole80b1.c, tix/win/tkConsole81.c, tk/doc/tk4.0.ps,
+       tk/mac/tkMacProjects.sit.hqx.
+
+2003-10-17  Andrew Cagney  <cagney@redhat.com>
+
+       * target.c (target_section_by_addr): New function.
+       (do_xfer_memory): Use "target_section_by_addr".
+       * target.h (target_section_by_addr): Declare.
+
+       * target.h (struct target_ops): Add "to_read_partial" and
+       "to_write_partial", delete "to_query".
+       (target_read_partial, target_write_partial): Declare.
+       (target_read, target_write): Declare.
+       (target_query): Delete macro.
+       * target.c (target_read_partial): New function.
+       (target_write_partial, target_read, target_write): New function.
+       (update_current_target): Delete inheritance of "to_query".  Add
+       comments about "to_read_partial" and "to_write_partial".
+       (debug_to_partial_read, debug_to_partial_write): New functions.
+       (debug_to_query): Delete function.
+       (setup_target_debug): Set "to_read_partial" and "to_write_partial"
+       instead of "to_query".
+       * remote.c (remote_read_partial): Replace "remote_query".
+       (init_remote_ops): Set "to_read_partial" instead of "to_query".
+       (init_remote_async_ops): Ditto.
+       * kod.c (gdb_kod_query): Make "bufsize" a LONGEST.  Use
+       "target_read_partial" instead of "target_query".
+       * avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST.
+       Use "target_read_partial" instead of "target_query".
+
+2003-10-17  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * frame.h (struct frame_id): Add new field: special_addr.
+       (frame_id_build_special): New prototype.
+       * frame.c (frame_id_build_special): New function.
+       (frame_id_build): Change to call frame_id_build_special().
+       (frame_id_eq): Change to also test special_addr field. 
+       (frame_id_inner): Update comment. 
+
+2003-10-17  Andrew Cagney  <cagney@redhat.com>
+
+       * target.c (update_current_target): Perform the target cleanup.
+       Put the target stack beneath the squashed "current_target".
+       (add_target): Delete disabled call to "cleanup_target".
+       (cleanup_target): Delete function.
+       (push_target, unpush_target): Do not call "cleanup_target".
+
+2003-10-17  Andrew Cagney  <cagney@redhat.com>
+
+       * target.c (target_stack): Change to a static target_ops.
+       (update_current_target): Walk the "struct target_ops" stack.
+       (pop_target, do_xfer_memory, target_info): Ditto.
+       (find_target_beneath): Ditto.
+       (push_target): Rewrite to use the "struct target_ops" stack.
+       (unpush_target): Ditto.
+       * target.h (struct target_stack_item): Delete definition.
+       (target_stack): Delete declaration.
+       (struct target_ops): Add field "beneath".
+
+2003-10-17  Shrinivas Atre  <shrinivasa@KPITCummins.com>
+
+       * gdb/config/h8300/tm-h8300.h (h8300_normal_mode): Add external
+       declaration.
+       * gdb/h8300-tdep.c (BINWORD): Update BINWORD for h8300_normal_mode
+        (h8300_examine_prologue): Use h8300_normal_mode flag
+        (h8300_gdbarch_init): Set architecture info for normal mode
+
+2003-10-16  Daniel Jacobowitz  <drow@mvista.com>
+
+       * remote.c (remote_protocol_vcont): New variable.
+       (set_remote_protocol_vcont_packet_cmd): New function.
+       (show_remote_protocol_vcont_packet_cmd): New function.
+       (init_all_packet_configs): Handle remote_protocol_vcont.
+       (remote_vcont_probe): New function.
+       (remote_vcont_resume): New function.
+       (remote_resume): Use it.
+       (remote_async_resume): Call remote_resume.
+       (_initialize_remote): Add verbose-resume packet commands.
+
+2003-10-16  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (handle_inferior_event): Add comment about
+       "frame_id_inner" being too weak.
+
+2003-10-16  Elena Zannoni  <ezannoni@redhat.com>
+
+       * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
+       second parameter, which is always null. Remove
+       SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
+       * symtab.h (lookup_minimal_symbol_solib_trampoline): Update
+       accordingly.
+       * somsolib.c (som_solib_create_inferior_hook,
+       som_solib_desire_dynamic_linker_symbols): Update callers.
+       * hppa-tdep.c (hppa_fix_call_dummy): Ditto.
+
+2003-10-16  Kei Sakamoto  <sakamoto.kei@renesas.com>
+
+       * remote-m32r-sdi.c : New file, interface to m32r on-chip
+       debug interface, SDI (Scalable Debug Interface).
+       * NEWS: Mention m32r SDI protocol was supported.
+       * Makefile.in (remote-m32r-sdi.o): Add build rule.
+       * config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o.
+
+2003-10-15  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * ia64-linux-tdep.c: Include gdbcore.h.
+       (IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed.
+       (ia64_linux_sigcontext_register_addr): Find the address of the
+       sigcontext area stored in the sigframe instead of using
+       a magic offset constant. 
+
+2003-10-15  Andrew Cagney  <cagney@redhat.com>
+
+       * remote.c (remote_search): Delete function.
+       * target.h (target_search): Delete disabled macro.
+       (struct target_ops): Delete disabled field "to_search".
+
 2003-10-14  Kevin Buettner  <kevinb@redhat.com>
 
        * frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
This page took 0.030215 seconds and 4 git commands to generate.