File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */
162
162
if (PHPDBG_G (prompt )[0 ]) {
163
163
free (PHPDBG_G (prompt )[0 ]);
164
164
}
165
+
165
166
if (PHPDBG_G (prompt )[1 ]) {
166
167
free (PHPDBG_G (prompt )[1 ]);
167
168
}
@@ -564,13 +565,13 @@ int main(int argc, char **argv) /* {{{ */
564
565
setmode (_fileno (stderr ), O_BINARY ); /* make the stdio mode be binary */
565
566
#endif
566
567
568
+ phpdbg_main :
567
569
#ifdef ZTS
568
570
tsrm_startup (1 , 1 , 0 , NULL );
569
571
570
572
tsrm_ls = ts_resource (0 );
571
573
#endif
572
574
573
- phpdbg_main :
574
575
ini_entries = NULL ;
575
576
ini_entries_len = 0 ;
576
577
ini_ignore = 0 ;
@@ -847,14 +848,14 @@ int main(int argc, char **argv) /* {{{ */
847
848
sapi_shutdown ();
848
849
}
849
850
850
- if (cleaning ) {
851
- goto phpdbg_main ;
852
- }
853
-
854
851
#ifdef ZTS
855
852
/* bugggy */
856
- /* tsrm_shutdown(); */
853
+ tsrm_shutdown ();
857
854
#endif
858
855
856
+ if (cleaning ) {
857
+ goto phpdbg_main ;
858
+ }
859
+
859
860
return 0 ;
860
861
} /* }}} */
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ PHPDBG_HELP(break) /* {{{ */
234
234
phpdbg_writeln (EMPTY );
235
235
phpdbg_writeln ("\t%sbreak [address] 0x7ff68f570e08" , phpdbg_get_prompt (TSRMLS_C ));
236
236
phpdbg_writeln ("\t%sb [a] 0x7ff68f570e08" , phpdbg_get_prompt (TSRMLS_C ));
237
- phpdbg_writeln ("\tWill break at the opline with the address provided (addresses are shown during execution) " );
237
+ phpdbg_writeln ("\tWill break at the opline with the address provided" );
238
238
phpdbg_writeln (EMPTY );
239
239
phpdbg_writeln ("\t%sbreak [lineno] 200" , phpdbg_get_prompt (TSRMLS_C ));
240
240
phpdbg_writeln ("\t%sb [l] 200" , phpdbg_get_prompt (TSRMLS_C ));
You can’t perform that action at this time.
0 commit comments