OSDN Git Service

* generic/gdbtk-cmds.c (gdbtk_load_asm): print_address_symbolic
authorkseitz <kseitz>
Tue, 5 Jan 2010 05:14:46 +0000 (05:14 +0000)
committerkseitz <kseitz>
Tue, 5 Jan 2010 05:14:46 +0000 (05:14 +0000)
requires the architecture, too.

gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-cmds.c

index a163b1c..19f2acd 100644 (file)
@@ -1,174 +1,4 @@
-2009-12-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
-
-       * generic/gdbtk-hooks.c (gdbtk_memory_changed): Adjust.
-       (gdbtk_add_hooks): Adjust.
-       
-2009-11-09  Keith Seitz  <keiths@redhat.com>
-
-       * library/srctextwin.itb (lookup_line): Update parameters
-       to gdb_set_bp.
-       * generic/gdbtk-bp.c: Remove extern declarations for symbols
-       in breakpoint.c.
-       (gdb_set_bp_addr): Remove.
-       (Gdbtk_Breakpoint_Init): Remove Tcl command "gdb_set_bp_addr".
-       (gdb_set_bp): Remove file and line arguments; add "addr" argument.
-       Rewrite to use "public" APIs from gdb.
-
-2009-11-09  Keith Seitz  <keiths@redhat.com>
-
-       * README: Update information about using external
-       Tcl, Tk, and Itcl.
-
-2009-11-09  Keith Seitz  <keiths@redhat.com>
-
-       * Makefile.in: Regenerate with autotools 1.11.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-       * plugins/Makefile.in: Regenerate.
-       * plugins/aclocal.m4: Regenerate.
-       * plugins/configure: Regenerate.
-
-2009-10-08  Keith Seitz  <keiths@redhat.com>
-
-       * library/srctextwin.ith (ExecutableLineLimit): Define.
-       * library/srctextwin.itb (insertBreakTag): Search for next
-       executable line, just in case they changed.
-       When there are no tags on a line, the proper index is
-       line.4, not just 4.
-
-2009-10-08  Keith Seitz  <keiths@redhat.com>
-
-       * library/interface.tcl (gdbtk_tcl_warning): Add warnings for some
-       too frequently occurring DWARF complaints.
-
-       (::tk::MouseWheel): New function based on TIP 171.
-
-2009-09-17  Pierre Muller  <muller@ics.u-strasbg.fr>
-
-       * generic/gdbtk-varobj.c (variable_children): Initialize new locals
-       used in varobj_list_children function call.
-       
-2009-09-16  Pierre Muller  <muller@ics.u-strasbg.fr>
-
-       * generic/gdbtk-varobj.c (variable_children): Adapt to
-       varobj_list_children function change.
-       
-2009-07-07  Pierre Muller  <muller@ics.u-strasbg.fr>
-
-       * generic/gdbtk-bp.c: Include "arch-utils.h".
-       (set_raw_breakpoint): Update external definition.
-       (gdb_set_bp): Adapt to set_raw_breakpoint change.
-       (gdb_set_bp_addr): Likewise.
-
-       * generic/gdbtk-cmds.c: Include "arch-utils.h.
-       (gdbtk_load_asm): Adapt to paddress and gdb_print_insn changes.
-       (hex2bin): Replace current_gdbarch by get_current_arch call.
-       (gdb_update_mem): Adapt to builtin_type changes.
-       (gdb_CA_to_TAS): Use paddress to replace removed function paddr_nz.
-
-       * generic/gdbtk-register.c: Include "arch-utils.h".
-       (get_register_size): Replace current_gdbarch by get_current_arch call.
-       (get_register_types): Likewise.
-       (get_register): Likewise.
-       (get_register_name): Likewise.
-       (map_arg_registers): Likewise.
-       (register_changed_p): Likewise.
-       (setup_architecture_data): Likewise.
-       (gdb_regformat): Likewise.
-       (gdb_reggrouplist): Likewise.
-       (gdb_reggroup): Likewise.
-
-       * generic/gdbtk-stack.c: Inlcude "arch-utils.h".
-       (gdb_get_blocks): Use paddress instead of removed paddr_nz function.
-       (gdb_selected_block): Likewise.
-       (gdb_selected_frame): Likewise.
-
-2009-06-19  Pedro Alves  <pedro@codesourcery.com>
-
-       * generic/gdbtk-cmds.c (gdb_update_mem): Dispatch
-       TARGET_OBJECT_MEMORY reads to the topmost target, not to the
-       flattened current_target.
-
-2009-05-28  Pierre Muller  <muller@ics.u-strasbg.fr>
-
-       * Adapt to VALUE_ADDRESS removal.
-       generic/gdbtk-cmds.c (gdb_eval): Use value_address function instead of
-       VALUE_ADDRESS macro.
-       
-2009-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
-
-       * Adapt to target_wait_hook change.
-       * generic/gdbtk-hooks.c (gdbtk_wait): Add `options' argument.
-
-2009-05-06  Pierre Muller  <muller@ics.u-strasbg.fr>
-
-       * Adapt to read_pc function removal.
-       * generic/gdbtk-cmds.c: Add "cache.h" include.
-       (gdb_loc): Use regcache_read_pc instead of read_pc.
-
-2009-04-23  Keith Seitz  <keiths@redhat.com>
-
-       * library/vartree.itb (constructor): Remove the borderwidth 0
-       argument.
-
-2009-04-23  Keith Seitz  <keiths@redhat.com>
-
-       * library/mempref.itb (build_win): Replace libgui's "Labelledframe"
-       with the iwidget's LabeledFrame. Replaced all occurrances.
-       * libarary/memwin.itb (create_prefs): Use ManagedWin::open_dlg
-       instead of ManagedWin::open.
-
-2009-04-23  Keith Seitz  <keiths@redhat.com>
-
-       * library/targetselection.itb (init_target_db): Add comment
-       about "arguments" vs "options" on native debuggers.
-       (build_win): If the target is "default", choose "Exec" for native
-       debuggers. For cross debuggers, let the user choose.
-       (write_saved): For exec targets, save target options to gdb via
-       gdb_set_inferior_args.
-       (config_dialog): For "exec" targets, save gdb's stored arguments
-       into the options preference.
-
-2009-04-07  Pierre Muller  <muller.u-strasbg.fr²>
-
-       ARI fix: Use "gdb_stat.h" header instead of <sys/stat.h>.
-       * generic/gdbtk-cmds.c: Apply change. 
-       * generic/gdbtk.c: Ditto.
-
-2009-04-07  Pierre Muller  <muller.u-strasbg.fr²>
-
-       ARI fixes: xvasprintf and strdup rules.
-       * generic/gdbtk-cmds.c (gdbtk_set_result): Replace xvasprintf by
-       xstrvprintf.
-       * generic/gdbtk-hooks.c (gdbtk_warning): Ditto.
-       (gdbtk_readline_begin, gdbtk_query): Ditto.
-       * generic/gdbtk.c (TclDebug): Ditto.
-       * generic/gdbtk-varobj.c (variable_create): Replace strdup by xstrdup.
-
-2009-03-27  Stan Shebs  <stan@codesourcery.com>
-
-       * generic/gdbtk-bp.c (gdb_actions_command): Update to handle
-       tracepoints as breakpoints.
-       (gdb_get_tracepoint_info): Ditto, plus use get_tracepoint and
-       breakpoint locations.
-       (tracepoint_exists): Ditto, plus use all_tracepoints.
-
-2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
-
-       ARI fix: "xasprintf" rule.
-       * generic/gdbtk-bp.c (gdb_set_bp): Replace xasprintf by xstrprintf.
-       (breakpoint_notify, tracepoint_notify):Ditto.
-       * generic/gdbtk-cmds.c (gdbtk_load_source, gdbtk_load_asm):Ditto.
-       * generic/gdbtk-hooks.c (gdbtk_ignorable_warning): Ditto.
-       (gdbtk_set_hook, gdbtk_load_hash): Ditto.
-       (gdbtk_selected_frame_changed, gdbtk_annotate_signal): Ditto.
-       * generic/gdbtk-register.c (get_register_types):Ditto.
-       * generic/gdbtk-stack.c (gdb_get_blocks): Ditto.
-       (gdb_selected_block, gdb_selected_frame): Ditto.
-       * generic/gdbtk.c (gdbtk_init, view_command): Ditto.
-
-2009-03-02  Kevin Buettner  <kevinb@redhat.com>
-
-       * generic/gdbtk-stack.c (gdb_get_vars_command): Revise cast of
-       `clientData' to avoid build error on 64-bit hosts.
+2010-01-04  Keith Seitz  <keiths@redhat.com>
 
+       * generic/gdbtk-cmds.c (gdbtk_load_asm): print_address_symbolic
+       requires the architecture, too.
index d490232..20ead8d 100644 (file)
@@ -1,5 +1,5 @@
 /* Tcl/Tk command definitions for Insight.
-   Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2007, 2008
+   Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2007, 2008, 2010
    Free Software Foundation, Inc.
 
    Written by Stu Grossman <grossman@cygnus.com> of Cygnus Support.
@@ -1900,7 +1900,7 @@ gdbtk_load_asm (ClientData clientData, CORE_ADDR pc,
   gdb_flush (gdb_stdout);
 
   result_ptr->obj_ptr = client_data->result_obj[1];
-  print_address_symbolic (pc, gdb_stdout, 1, "\t");
+  print_address_symbolic (get_current_arch (), pc, gdb_stdout, 1, "\t");
   gdb_flush (gdb_stdout);
 
   result_ptr->obj_ptr = client_data->result_obj[2];