Commit f275d6a61fbe4dbc348cc20777bcf82757593052
- Date: Sun Apr 27 15:15:18 +0000 2008
- Committer: Thiago Jung Bauermann (bauerman@br.ibm.com)
- Author: Thiago Jung Bauermann (bauerman@br.ibm.com)
- Commit SHA1: f275d6a61fbe4dbc348cc20777bcf82757593052
- Tree SHA1: 7de2f4d6a96a5720f89a6e38e53824ab0edf4880
- gdb/python/frame.c 4 --++
- gdb/python/python.c 4 --++
- gdb/python/python-internal.h 4 --++
Commit diff
- Diff rendering mode:
- inline
- side by side
gdb/python/frame.c
|   | ||
| 458 | 458 | } |
| 459 | 459 | |
| 460 | 460 | PyObject * |
| 461 | ||
| 461 | gdbpy_get_frames (PyObject *self, PyObject *args) | |
| 462 | 462 | { |
| 463 | 463 | int result = 0; |
| 464 | 464 | struct frame_info *frame; |
| … | … | |
| 502 | 502 | } |
| 503 | 503 | |
| 504 | 504 | PyObject * |
| 505 | ||
| 505 | gdbpy_get_current_frame (PyObject *self, PyObject *args) | |
| 506 | 506 | { |
| 507 | 507 | struct frame_info *frame; |
| 508 | 508 | frame_object *frame_obj = NULL; /* Initialize to appease gcc warning. */ |
| toggle raw diff | ||
gdb/python/python-internal.h
|   | ||
| 34 | 34 | PyObject *gdb_value_from_int (PyObject *self, PyObject *args); |
| 35 | 35 | PyObject *gdb_value_from_history (PyObject *self, PyObject *args); |
| 36 | 36 | PyObject *gdbpy_breakpoints (PyObject *, PyObject *); |
| 37 | ||
| 38 | ||
| 37 | PyObject *gdbpy_get_frames (PyObject *, PyObject *); | |
| 38 | PyObject *gdbpy_get_current_frame (PyObject *, PyObject *); | |
| 39 | 39 | PyObject *gdbpy_frame_stop_reason_string (PyObject *, PyObject *); |
| 40 | 40 | PyObject *gdbpy_lookup_symbol (PyObject *self, PyObject *args); |
| 41 | 41 | PyObject *gdbpy_get_selected_frame (PyObject *self, PyObject *args); |
| toggle raw diff | ||
gdb/python/python.c
|   | ||
| 72 | 72 | { "breakpoints", gdbpy_breakpoints, METH_NOARGS, |
| 73 | 73 | "Return a tuple of all breakpoint objects" }, |
| 74 | 74 | |
| 75 | ||
| 75 | { "get_frames", gdbpy_get_frames, METH_NOARGS, | |
| 76 | 76 | "Return a tuple of all frame objects" }, |
| 77 | ||
| 77 | { "get_current_frame", gdbpy_get_current_frame, METH_NOARGS, | |
| 78 | 78 | "Return the current frame object" }, |
| 79 | 79 | { "get_selected_frame", gdbpy_get_selected_frame, METH_NOARGS, |
| 80 | 80 | "Return the selected frame object" }, |
| toggle raw diff | ||
