public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: bauermann@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-bauermann-python-patches: gdb Date: Fri, 17 Oct 2008 01:19:00 -0000 [thread overview] Message-ID: <20081017011919.26110.qmail@sourceware.org> (raw) The branch, archer-bauermann-python-patches has been updated discards 6269ec87240e9afcac220b6372f61836cdc3ff02 (commit) discards ad76d5184f5a976f66db99d62a20512b696dafe1 (commit) discards 39be93153d22b79f7a470b0d433295b22deba16f (commit) discards 3f0cc9d65edae1604c1d6512d37afe7001c13996 (commit) discards 088d96d60d04a70da4374e3712ef2cee476b55ad (commit) discards af912e7ea14a1bf748b41d6526df444a1ae53473 (commit) discards 64aa3a2ed1bd09a670cd3d6991d6e914b6f9b337 (commit) discards 6be292baa84b7da96e59203c1f84f353242c56e2 (commit) discards b4e534a09f11ac1410f1439b3e3e5c77b1917a0e (commit) discards d4a3947fc1df2f122b4ce6760102fc7826db70c9 (commit) via 4b1ae88963fead27fa5b65c393f1b5b3f4ca5de0 (commit) via 7daef81d11755333fcae6b66cd0463b3f369c52f (commit) via 8366a2c8314c4b05383b7a641e5583350b1cd9aa (commit) via 48b8664afa805fff52c3c3875ba23e3d2a235044 (commit) via 018da5ffe52da7ddc5ca3ac23535abf1d2748991 (commit) via 8869f2e5c270a9b523ee12a8115a633490e157a7 (commit) via ba981a49c3fcbdd296ae8355ae7950f39b3cf30a (commit) from 6269ec87240e9afcac220b6372f61836cdc3ff02 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 4b1ae88963fead27fa5b65c393f1b5b3f4ca5de0 Author: Tom Tromey <tromey@redhat.com> Date: Sun Oct 12 13:32:45 2008 -0600 gdb * python/python.c (gdbpy_parameter_value): Rename. No longer static. Change arguments. (_initialize_python): Call gdbpy_initialize_parameters. (get_parameter): Change 'variable' to 'parameter'. * python/python-param.c: New file. * Makefile.in (SUBDIR_PYTHON_OBS): Add python-param.o. (SUBDIR_PYTHON_SRCS): Add python-param.c. (python-param.o): New target. * python/python-internal.h (gdbpy_parse_command_name): Declare. (gdbpy_initialize_parameters): Declare. * python/python-cmd.c (gdbpy_parse_command_name): Rename. Add 'start_list' argument. No longer static. (cmdpy_init): Update. gdb/doc * gdb.texinfo (Parameters In Python): New node. (Python API): Update. commit 7daef81d11755333fcae6b66cd0463b3f369c52f Author: Tom Tromey <tromey@redhat.com> Date: Thu Oct 9 15:15:45 2008 -0600 more pretty-printing gdb * mi/mi-cmds.c (mi_cmds) <var-set-visualizer>: Remove. <var-clear-type-visualizers>: Remove. <var-set-type-visualizer>: Remove. * mi/mi-cmds.h (mi_cmd_var_set_visualizer): Remove. (mi_cmd_var_clear_type_visualizers): Remove. (mi_cmd_var_set_visualizer): Remove. * mi/mi-cmd-var.c (mi_cmd_var_set_visualizer): Remove. (mi_cmd_var_clear_type_visualizers): Remove. (mi_cmd_var_set_type_visualizer): Remove. * varobj.h (varobj_clear_type_visualizers, varobj_set_type_visualizer, varobj_set_visualizer): Remove. * varobj.c (value_get_print_value): Use apply_varobj_pretty_printer. (varobj_clear_type_visualizers): Remove. (type_visualizer): Remove. (type_visualizers): Remove. (varobj_set_type_visualizer): Remove. (install_default_visualizer): Rewrote. (varobj_set_visualizer): Remove. * python/python-internal.h (apply_varobj_pretty_printer): Declare. (gdbpy_children_cst, gdbpy_to_string_cst): Declare. * python/python.c (gdbpy_to_static_cst, gdbpy_children_cst): * python/python.c (_initialize_python): Define _format_children. (pretty_print_one_value): Add 'children' argument. Call _format_children. (apply_pretty_printer): Update. (apply_val_pretty_printer): Update. (apply_varobj_pretty_printer): Update. * varobj.c (install_visualizer): New function. (install_default_visualizer): Use it. (varobj_set_visualizer): New function. * varobj.h (varobj_set_visualizer): Restore. * python/python.c (gdbpy_get_default_visualizer): New function. (GdbMethods) <get_default_visualizer>: New entry. * mi/mi-cmds.h (mi_cmd_var_set_visualizer): Restore. * mi/mi-cmds.c (mi_cmds) <var-set-visualizer>: Restore. * mi/mi-cmd-var.c (mi_cmd_var_set_visualizer): Restore. * varobj.c (value_get_print_value): Handle replacement value return. Don't pretty-print if printer fails or returns replacement. * python/python-internal.h (apply_varobj_pretty_printer): Update. * python/python.c (apply_varobj_pretty_printer): Add 'replacement' argument. Don't print replacement value. * valprint.h (raw_printing): Declare. * valprint.c (raw_printing): No longer static. * varobj.c (update_dynamic_varobj_children): Set num_children on varobj. (varobj_get_num_children): Move later. Call update_dynamic_varobj_children. commit 8366a2c8314c4b05383b7a641e5583350b1cd9aa Author: Thiago Jung Bauermann <bauerman@br.ibm.com> Date: Mon Oct 13 22:43:44 2008 -0200 Value conversion additions and fixes. commit 48b8664afa805fff52c3c3875ba23e3d2a235044 Author: Tom Tromey <tromey@redhat.com> Date: Thu Sep 25 12:56:13 2008 -0600 initial Type support commit 018da5ffe52da7ddc5ca3ac23535abf1d2748991 Author: Tom Tromey <tromey@redhat.com> Date: Sat Sep 13 16:27:40 2008 -0600 add auto-loading based on objfile name commit 8869f2e5c270a9b523ee12a8115a633490e157a7 Author: Tom Tromey <tromey@redhat.com> Date: Fri Aug 1 08:57:27 2008 -0600 initial python script support commit ba981a49c3fcbdd296ae8355ae7950f39b3cf30a Author: Thiago Jung Bauermann <bauerman@br.ibm.com> Date: Tue Jul 15 03:43:38 2008 -0300 Pretty-printing support. * mi/mi-cmd-var.c (mi_cmd_var_set_type_visualizer) (mi_cmd_var_clear_type_visualizers, mi_cmd_var_set_visualizer): New. (varobj_update_one): List children, if they have changed. * mi-cmds.c (mi_cmds): Register var-set-type-visualizer, var-clear-type-visualizers and var-set-visualizer. * mi-cmds.h (mi_cmd_var_set_type_visualizer) (mi_cmd_var_clear_type_visualizers, mi_cmd_var_set_visualizer): New. * python/python-internal.h (make_cleanup_py_decref): Declare. * python/python.c (py_decref, make_cleanup_py_decref): New. * varobj.c (struct varobj): New fields children_requested, value_formatter and children_lister. (struct type_visualizer): New. (create_child_with_value, install_default_visualizer): New. (value_get_print_value): New parameter value_formatter. (varobj_add_child): New. (type_visualizers): New variable. (varobj_create): Call install_default_visualizer (varobj_set_display_format): Adjust call to value_get_print_value. (varobj_set_visualizer, varobj_set_type_visualizer) (varobj_clear_type_visualizers, update_dynamic_varobj_children) (varobj_list_children): Set children_requested. Call update_dynamic_varobj_children if necessary. Call install_default_visualizer on children. (install_new_value): Always fetch dynamic varobjs. (varobj_update): Rework not to try to get value of children for which Python code has already computed the value. (create_child): Use create_child_with_value. (new_variable): Zero new fields. (free_variable): Free Python objects. (value_get_print_value): Call Python visualizer, is necessary. (c_value_of_variable): Directly return Python-produced string value. * varobj.h (struct varobj_update_result_t): New field value_installed. (varobj_set_type_visualizer, varobj_clear_type_visualizers) (varobj_set_visualizer): New. * Makefile.in: Update dependencies. ----------------------------------------------------------------------- Summary of changes: First 500 lines of diff: hooks/post-receive -- Repository for Project Archer.
next reply other threads:[~2008-10-17 1:19 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-17 1:19 bauermann [this message] -- strict thread matches above, loose matches on Subject: below -- 2008-10-16 3:56 bauermann
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20081017011919.26110.qmail@sourceware.org \ --to=bauermann@sourceware.org \ --cc=archer-commits@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).