aboutsummaryrefslogtreecommitdiff
path: root/src/monkey
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-12-23 09:40:16 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-12-23 09:40:16 +0000
commit437c149416710088a36de8227b296a75e8313074 (patch)
tree1951924566ec2d73d62c9f120aaa6ccb1e68279c /src/monkey
parentd071fc2fa3ec45ec05162fcea017019c9d97aae4 (diff)
downloadgnunet-437c149416710088a36de8227b296a75e8313074.tar.gz
gnunet-437c149416710088a36de8227b296a75e8313074.zip
doxygen
Diffstat (limited to 'src/monkey')
-rw-r--r--src/monkey/edb_api.c3
-rw-r--r--src/monkey/gdbmi_alloc.c2
-rw-r--r--src/monkey/gdbmi_breakpoint.c6
-rw-r--r--src/monkey/gdbmi_connect.c11
-rw-r--r--src/monkey/gdbmi_data_man.c8
-rw-r--r--src/monkey/gdbmi_get_free_pty.c2
-rw-r--r--src/monkey/gdbmi_misc.c2
-rw-r--r--src/monkey/gdbmi_prg_control.c4
-rw-r--r--src/monkey/gdbmi_stack_man.c12
-rw-r--r--src/monkey/gdbmi_target_man.c2
-rw-r--r--src/monkey/gdbmi_thread.c2
-rw-r--r--src/monkey/gdbmi_var_obj.c18
-rw-r--r--src/monkey/seaspider/SeaspiderTest.c2
13 files changed, 39 insertions, 35 deletions
diff --git a/src/monkey/edb_api.c b/src/monkey/edb_api.c
index 32fc0bc41..4595731ac 100644
--- a/src/monkey/edb_api.c
+++ b/src/monkey/edb_api.c
@@ -58,8 +58,7 @@ GNUNET_MONKEY_EDB_connect (const char *db_file_name)
58/** 58/**
59 * Disconnect from Database, and cleanup resources 59 * Disconnect from Database, and cleanup resources
60 * 60 *
61 * @param cfg configuration to use (used to know the path of the .db file). 61 * @param context context
62 * @param service service that *this* process is implementing/providing, can be NULL
63 * @return GNUNET_OK on success, GNUNET_NO on failure 62 * @return GNUNET_OK on success, GNUNET_NO on failure
64 */ 63 */
65int 64int
diff --git a/src/monkey/gdbmi_alloc.c b/src/monkey/gdbmi_alloc.c
index 7fd60921b..0fe6e14de 100644
--- a/src/monkey/gdbmi_alloc.c
+++ b/src/monkey/gdbmi_alloc.c
@@ -6,7 +6,7 @@
6 Module: Allocator. 6 Module: Allocator.
7 Comments: 7 Comments:
8 Most alloc/free routines are here. Free routines must accept NULL 8 Most alloc/free routines are here. Free routines must accept NULL
9pointers. Alloc functions must set mi_error.@p 9pointers. Alloc functions must set mi_error. @<p>
10 10
11***************************************************************************/ 11***************************************************************************/
12 12
diff --git a/src/monkey/gdbmi_breakpoint.c b/src/monkey/gdbmi_breakpoint.c
index 07be215c1..f91cc3ea5 100644
--- a/src/monkey/gdbmi_breakpoint.c
+++ b/src/monkey/gdbmi_breakpoint.c
@@ -5,8 +5,8 @@
5 5
6 Module: Breakpoint table commands. 6 Module: Breakpoint table commands.
7 Comments: 7 Comments:
8 GDB/MI commands for the "Breakpoint Table Commands" section.@p 8 GDB/MI commands for the "Breakpoint Table Commands" section.
9 9 @<p>
10@<pre> 10@<pre>
11gdb command: Implemented? 11gdb command: Implemented?
12 12
@@ -22,7 +22,7 @@ gdb command: Implemented?
22@</pre> 22@</pre>
23 23
24(*) I think the program should keep track of the breakpoints, so it will 24(*) I think the program should keep track of the breakpoints, so it will
25be implemented when I have more time.@p 25be implemented when I have more time. @<p>
26 26
27***************************************************************************/ 27***************************************************************************/
28 28
diff --git a/src/monkey/gdbmi_connect.c b/src/monkey/gdbmi_connect.c
index 7fe9c50f8..c6e73879f 100644
--- a/src/monkey/gdbmi_connect.c
+++ b/src/monkey/gdbmi_connect.c
@@ -6,7 +6,8 @@
6 Module: Connect. 6 Module: Connect.
7 Comments: 7 Comments:
8 This module handles the dialog with gdb, including starting and stopping 8 This module handles the dialog with gdb, including starting and stopping
9gdb.@p 9gdb.
10 @<p>
10 11
11GDB Bug workaround for "file -readnow": I tried to workaround a bug using 12GDB Bug workaround for "file -readnow": I tried to workaround a bug using
12it but looks like this option also have bugs!!!! so I have to use the 13it but looks like this option also have bugs!!!! so I have to use the
@@ -441,7 +442,7 @@ mi_h *mi_connect_local()
441/**[txh]******************************************************************** 442/**[txh]********************************************************************
442 443
443 Description: 444 Description:
444 Close connection. You should ask gdb to quit first @x{gmi_gdb_exit}. 445 Close connection. You should ask gdb to quit first gmi_gdb_exit.
445 446
446***************************************************************************/ 447***************************************************************************/
447 448
@@ -705,7 +706,7 @@ const char *mi_get_main_func()
705 Description: 706 Description:
706 Opens a new xterm to be used by the child process to debug. 707 Opens a new xterm to be used by the child process to debug.
707 708
708 Return: A new mi_aux_term structure, you can use @x{gmi_end_aux_term} to 709 Return: A new mi_aux_term structure, you can use gmi_end_aux_term to
709release it. 710release it.
710 711
711***************************************************************************/ 712***************************************************************************/
@@ -853,7 +854,7 @@ void mi_force_version(mi_h *h, unsigned vMajor, unsigned vMiddle,
853/**[txh]******************************************************************** 854/**[txh]********************************************************************
854 855
855 Description: 856 Description:
856 Dis/Enables the @var{wa} workaround for a bug in gdb. 857 Dis/Enables the workaround for a bug in gdb.
857 858
858***************************************************************************/ 859***************************************************************************/
859 860
@@ -870,7 +871,7 @@ void mi_set_workaround(unsigned wa, int enable)
870/**[txh]******************************************************************** 871/**[txh]********************************************************************
871 872
872 Description: 873 Description:
873 Finds if the @var{wa} workaround for a bug in gdb is enabled. 874 Finds if the workaround for a bug in gdb is enabled.
874 875
875 Return: !=0 if enabled. 876 Return: !=0 if enabled.
876 877
diff --git a/src/monkey/gdbmi_data_man.c b/src/monkey/gdbmi_data_man.c
index a5e54a958..06e137720 100644
--- a/src/monkey/gdbmi_data_man.c
+++ b/src/monkey/gdbmi_data_man.c
@@ -5,7 +5,9 @@
5 5
6 Module: Data manipulation. 6 Module: Data manipulation.
7 Comments: 7 Comments:
8 GDB/MI commands for the "Data manipulation" section.@p 8 GDB/MI commands for the "Data manipulation" section.
9
10 @<p>
9 11
10@<pre> 12@<pre>
11gdb command: Implemented? 13gdb command: Implemented?
@@ -26,11 +28,11 @@ gdb command: Implemented?
26-environment-path No 28-environment-path No
27@</pre> 29@</pre>
28 30
29Notes:@p 31Notes: @<p>
30 32
311) -display* aren't implemented. You can use CLI command display, but the 331) -display* aren't implemented. You can use CLI command display, but the
32results are sent to the console. So it looks like the best is to manually 34results are sent to the console. So it looks like the best is to manually
33use -data-evaluate-expression to emulate it.@p 35use -data-evaluate-expression to emulate it. @<p>
34 36
352) GDB bug mi/1770: Affects gdb<=6.2, when you ask for the names of the 372) GDB bug mi/1770: Affects gdb<=6.2, when you ask for the names of the
36registers you get it plus the name of the "pseudo-registers", but if you 38registers you get it plus the name of the "pseudo-registers", but if you
diff --git a/src/monkey/gdbmi_get_free_pty.c b/src/monkey/gdbmi_get_free_pty.c
index 672145b78..47ddbd628 100644
--- a/src/monkey/gdbmi_get_free_pty.c
+++ b/src/monkey/gdbmi_get_free_pty.c
@@ -86,7 +86,7 @@ int mi_look_for_free_pty(int *master, char **slave)
86 Description: 86 Description:
87 Look for a free and usable pseudo terminal to be used by the child. 87 Look for a free and usable pseudo terminal to be used by the child.
88 88
89 Return: A new mi_pty structure, you can use @x{gmi_end_pty} to 89 Return: A new mi_pty structure, you can use gmi_end_pty to
90release it. 90release it.
91 91
92***************************************************************************/ 92***************************************************************************/
diff --git a/src/monkey/gdbmi_misc.c b/src/monkey/gdbmi_misc.c
index 881bd5b7f..51088a757 100644
--- a/src/monkey/gdbmi_misc.c
+++ b/src/monkey/gdbmi_misc.c
@@ -5,7 +5,7 @@
5 5
6 Module: Miscellaneous commands. 6 Module: Miscellaneous commands.
7 Comments: 7 Comments:
8 GDB/MI commands for the "Miscellaneous Commands" section.@p 8 GDB/MI commands for the "Miscellaneous Commands" section. @<p>
9 9
10@<pre> 10@<pre>
11gdb command: Implemented? 11gdb command: Implemented?
diff --git a/src/monkey/gdbmi_prg_control.c b/src/monkey/gdbmi_prg_control.c
index 0c824b59c..da37dac21 100644
--- a/src/monkey/gdbmi_prg_control.c
+++ b/src/monkey/gdbmi_prg_control.c
@@ -5,7 +5,7 @@
5 5
6 Module: Program control. 6 Module: Program control.
7 Comments: 7 Comments:
8 GDB/MI commands for the "Program Control" section.@p 8 GDB/MI commands for the "Program Control" section. @<p>
9 9
10@<pre> 10@<pre>
11gdb command: Implemented? 11gdb command: Implemented?
@@ -33,7 +33,7 @@ gdb command: Implemented?
33@</pre> 33@</pre>
34 34
35(*) gmi_exec_kill implements it, but you should ensure that 35(*) gmi_exec_kill implements it, but you should ensure that
36gmi_gdb_set("confirm","off") was called.@p 36gmi_gdb_set("confirm","off") was called. @<p>
37 37
38GDB Bug workaround for -file-exec-and-symbols and -file-symbol-file: This 38GDB Bug workaround for -file-exec-and-symbols and -file-symbol-file: This
39is complex, but a real bug. When you set a breakpoint you never know the 39is complex, but a real bug. When you set a breakpoint you never know the
diff --git a/src/monkey/gdbmi_stack_man.c b/src/monkey/gdbmi_stack_man.c
index 6d6ad0866..977ea5e2e 100644
--- a/src/monkey/gdbmi_stack_man.c
+++ b/src/monkey/gdbmi_stack_man.c
@@ -5,7 +5,7 @@
5 5
6 Module: Stack manipulation. 6 Module: Stack manipulation.
7 Comments: 7 Comments:
8 GDB/MI commands for the "Stack Manipulation" section.@p 8 GDB/MI commands for the "Stack Manipulation" section. @<p>
9 9
10@<pre> 10@<pre>
11gdb command: Implemented? 11gdb command: Implemented?
@@ -84,8 +84,8 @@ mi_frames *gmi_stack_list_frames(mi_h *h)
84/**[txh]******************************************************************** 84/**[txh]********************************************************************
85 85
86 Description: 86 Description:
87 List of frames. Arguments aren't filled. Only the frames in the @var{from} 87 List of frames. Arguments aren't filled. Only the frames in the from
88 - @var{to} range are returned. 88 - to range are returned.
89 89
90 Command: -stack-list-frames 90 Command: -stack-list-frames
91 Return: A new list of mi_frames or NULL on error. 91 Return: A new list of mi_frames or NULL on error.
@@ -101,7 +101,7 @@ mi_frames *gmi_stack_list_frames_r(mi_h *h, int from, int to)
101/**[txh]******************************************************************** 101/**[txh]********************************************************************
102 102
103 Description: 103 Description:
104 List arguments. Only @var{level} and @var{args} filled. 104 List arguments. Only level and args filled.
105 105
106 Command: -stack-list-arguments 106 Command: -stack-list-arguments
107 Return: A new list of mi_frames or NULL on error. 107 Return: A new list of mi_frames or NULL on error.
@@ -117,8 +117,8 @@ mi_frames *gmi_stack_list_arguments(mi_h *h, int show)
117/**[txh]******************************************************************** 117/**[txh]********************************************************************
118 118
119 Description: 119 Description:
120 List arguments. Only @var{level} and @var{args} filled. Only for the 120 List arguments. Only level and args filled. Only for the
121frames in the @var{from} - @var{to} range. 121frames in the from - to range.
122 122
123 Command: -stack-list-arguments 123 Command: -stack-list-arguments
124 Return: A new list of mi_frames or NULL on error. 124 Return: A new list of mi_frames or NULL on error.
diff --git a/src/monkey/gdbmi_target_man.c b/src/monkey/gdbmi_target_man.c
index 5f0979483..bbb2b9807 100644
--- a/src/monkey/gdbmi_target_man.c
+++ b/src/monkey/gdbmi_target_man.c
@@ -5,7 +5,7 @@
5 5
6 Module: Target manipulation. 6 Module: Target manipulation.
7 Comments: 7 Comments:
8 GDB/MI commands for the "Target Manipulation" section.@p 8 GDB/MI commands for the "Target Manipulation" section. @<p>
9 9
10@<pre> 10@<pre>
11-target-attach Yes (implemented using attach) 11-target-attach Yes (implemented using attach)
diff --git a/src/monkey/gdbmi_thread.c b/src/monkey/gdbmi_thread.c
index 2550e0e72..b8fa63d90 100644
--- a/src/monkey/gdbmi_thread.c
+++ b/src/monkey/gdbmi_thread.c
@@ -5,7 +5,7 @@
5 5
6 Module: Thread commands. 6 Module: Thread commands.
7 Comments: 7 Comments:
8 GDB/MI commands for the "Thread Commands" section.@p 8 GDB/MI commands for the "Thread Commands" section. @<p>
9 9
10@<pre> 10@<pre>
11gdb command: Implemented? 11gdb command: Implemented?
diff --git a/src/monkey/gdbmi_var_obj.c b/src/monkey/gdbmi_var_obj.c
index d3829dbd2..435feecb7 100644
--- a/src/monkey/gdbmi_var_obj.c
+++ b/src/monkey/gdbmi_var_obj.c
@@ -5,7 +5,8 @@
5 5
6 Module: Variable objects. 6 Module: Variable objects.
7 Comments: 7 Comments:
8 GDB/MI commands for the "Variable Objects" section.@p 8 GDB/MI commands for the "Variable Objects" section.
9 @<p>
9 10
10@<pre> 11@<pre>
11gdb command: Imp? Description: 12gdb command: Imp? Description:
@@ -23,13 +24,14 @@ gdb command: Imp? Description:
23-var-update Yes* update the variable and its children 24-var-update Yes* update the variable and its children
24@</pre> 25@</pre>
25 26
26Notes:@p 27Notes: @<p>
271) I suggest letting gdb to choose the names for the variables.@* 281) I suggest letting gdb to choose the names for the variables.@*
282) -var-list-children supports an optional "show values" argument in MI v2. 292) -var-list-children supports an optional "show values" argument in MI v2.
29It isn't implemented.@* 30It isn't implemented.@*
30@p
31 31
32* MI v1 and v2 result formats supported.@p 32 @<p>
33
34* MI v1 and v2 result formats supported. @<p>
33 35
34***************************************************************************/ 36***************************************************************************/
35 37
@@ -113,7 +115,7 @@ void mi_var_list_children(mi_h *h, const char *name)
113/**[txh]******************************************************************** 115/**[txh]********************************************************************
114 116
115 Description: 117 Description:
116 Create a variable object. I recommend using @x{gmi_var_create} and letting 118 Create a variable object. I recommend using gmi_var_create and letting
117gdb choose the names. 119gdb choose the names.
118 120
119 Command: -var-create 121 Command: -var-create
@@ -131,7 +133,7 @@ mi_gvar *gmi_var_create_nm(mi_h *h, const char *name, int frame, const char *exp
131 133
132 Description: 134 Description:
133 Create a variable object. The name is selected by gdb. Alternative: 135 Create a variable object. The name is selected by gdb. Alternative:
134@x{gmi_full_var_create}. 136 gmi_full_var_create.
135 137
136 Command: -var-create [auto name] 138 Command: -var-create [auto name]
137 Return: A new mi_gvar strcture or NULL on error. 139 Return: A new mi_gvar strcture or NULL on error.
@@ -292,7 +294,7 @@ mi_gvar *gmi_full_var_create(mi_h *h, int frame, const char *exp)
292updated. 294updated.
293 295
294 Command: -var-update 296 Command: -var-update
295 Return: !=0 OK. The @var{changed} list contains the list of changed vars. 297 Return: !=0 OK. The changed list contains the list of changed vars.
296 298
297***************************************************************************/ 299***************************************************************************/
298 300
@@ -305,7 +307,7 @@ int gmi_var_update(mi_h *h, mi_gvar *var, mi_gvar_chg **changed)
305/**[txh]******************************************************************** 307/**[txh]********************************************************************
306 308
307 Description: 309 Description:
308 Change variable. The new value replaces the @var{value} field. 310 Change variable. The new value replaces the value field.
309 311
310 Command: -var-assign 312 Command: -var-assign
311 Return: !=0 OK 313 Return: !=0 OK
diff --git a/src/monkey/seaspider/SeaspiderTest.c b/src/monkey/seaspider/SeaspiderTest.c
index 09e6e4710..d09eae38f 100644
--- a/src/monkey/seaspider/SeaspiderTest.c
+++ b/src/monkey/seaspider/SeaspiderTest.c
@@ -1,5 +1,5 @@
1/** 1/**
2 * @file seaspider/SeaspiderTest.c 2 * @file src/monkey/seaspider/SeaspiderTest.c
3 * @brief C file to test Seaspider's parsing 3 * @brief C file to test Seaspider's parsing
4 */ 4 */
5 5