System notice: In light of the Debian OpenSSL security issue we've regenerated the server keys. See this thread for instructions and the new key fingerprints.

Commit f275d6a61fbe4dbc348cc20777bcf82757593052

Rename gdb.frame and gdb.current_frame.

Commit diff

gdb/python/frame.c

 
458458}
459459
460460PyObject *
461gdbpy_frames (PyObject *self, PyObject *args)
461gdbpy_get_frames (PyObject *self, PyObject *args)
462462{
463463 int result = 0;
464464 struct frame_info *frame;
502502}
503503
504504PyObject *
505gdbpy_current_frame (PyObject *self, PyObject *args)
505gdbpy_get_current_frame (PyObject *self, PyObject *args)
506506{
507507 struct frame_info *frame;
508508 frame_object *frame_obj = NULL; /* Initialize to appease gcc warning. */
toggle raw diff

gdb/python/python-internal.h

 
3434PyObject *gdb_value_from_int (PyObject *self, PyObject *args);
3535PyObject *gdb_value_from_history (PyObject *self, PyObject *args);
3636PyObject *gdbpy_breakpoints (PyObject *, PyObject *);
37PyObject *gdbpy_frames (PyObject *, PyObject *);
38PyObject *gdbpy_current_frame (PyObject *, PyObject *);
37PyObject *gdbpy_get_frames (PyObject *, PyObject *);
38PyObject *gdbpy_get_current_frame (PyObject *, PyObject *);
3939PyObject *gdbpy_frame_stop_reason_string (PyObject *, PyObject *);
4040PyObject *gdbpy_lookup_symbol (PyObject *self, PyObject *args);
4141PyObject *gdbpy_get_selected_frame (PyObject *self, PyObject *args);
toggle raw diff

gdb/python/python.c

 
7272 { "breakpoints", gdbpy_breakpoints, METH_NOARGS,
7373 "Return a tuple of all breakpoint objects" },
7474
75 { "frames", gdbpy_frames, METH_NOARGS,
75 { "get_frames", gdbpy_get_frames, METH_NOARGS,
7676 "Return a tuple of all frame objects" },
77 { "current_frame", gdbpy_current_frame, METH_NOARGS,
77 { "get_current_frame", gdbpy_get_current_frame, METH_NOARGS,
7878 "Return the current frame object" },
7979 { "get_selected_frame", gdbpy_get_selected_frame, METH_NOARGS,
8080 "Return the selected frame object" },
toggle raw diff