summaryrefslogtreecommitdiff
path: root/src/panels/panel.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-07-29 00:02:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-07-29 00:02:49 (GMT)
commit73af1bd66e5d1a2e30d56151532710f2b28d12df (patch)
tree88f98194359accd8349193f4cbe3c4cabee24d23 /src/panels/panel.c
parentf150f36ee0297b4499a41bbbfc06699cd2f72db5 (diff)
Improved the GDB client.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@175 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/panels/panel.c')
-rw-r--r--src/panels/panel.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/panels/panel.c b/src/panels/panel.c
index 9cf3f98..c9acac9 100644
--- a/src/panels/panel.c
+++ b/src/panels/panel.c
@@ -25,6 +25,7 @@
#include "panel.h"
+#include "breaks.h"
#include "glimpse.h"
#include "panel-int.h"
#include "symbols.h"
@@ -143,6 +144,9 @@ void init_internal_panels(void)
{
GEditorPanel *panel; /* Nouveau panneau chargé */
+ panel = g_breaks_panel_new();
+ panels_list_add_tail(panel, &panels_list);
+
panel = g_symbols_panel_new();
panels_list_add_tail(panel, &panels_list);
@@ -180,6 +184,29 @@ void place_all_panels_in_editor(GtkWidget *top)
/******************************************************************************
* *
+* Paramètres : binary = nouvelle instance de binaire analysé. *
+* *
+* Description : Lance une actualisation du fait d'un changement de binaire. *
+* *
+* Retour : - *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+void notify_panels_of_binary_change(GOpenidaBinary *binary)
+{
+ GEditorPanel *iter; /* Boucle de parcours */
+
+ panels_list_for_each(iter, panels_list)
+ if (iter->reload_binary != NULL)
+ iter->reload_binary(iter, binary);
+
+}
+
+
+/******************************************************************************
+* *
* Paramètres : view = nouvelle visualisation de désassemblage. *
* same = changement de binaire ou de vue ? *
* *