| 1 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 2 | |
| 3 | * tuiSourceWin.c (tui_display_main): Rename from tuiDisplayMainFunction |
| 4 | and use tuiGetBeginAsmAddress. |
| 5 | * tuiSourceWin.h (tui_display_main): Declare. |
| 6 | * tui.h (tuiDisplayMainFunction): Remove. |
| 7 | * tui-hooks.c (tui_new_objfile_hook): Update. |
| 8 | |
| 9 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 10 | |
| 11 | * tuiSource.h (m_tuiShowSourceAsIs): Remove macro. |
| 12 | (tuiShowSourceAsIs): Don't declare. |
| 13 | |
| 14 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 15 | |
| 16 | * tui-hooks.c (tui_selected_frame_level_changed_hook): Always update |
| 17 | the frame position. |
| 18 | |
| 19 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 20 | |
| 21 | * tuiStack.c (tuiSetLocatorContent): Remove. |
| 22 | (tuiUpdateLocatorInfoFromFrame): Remove. |
| 23 | (tui_set_locator_info): Allocate the content buffer if necessary. |
| 24 | (tui_set_locator_filename): Call tui_set_locator_info directly. |
| 25 | (tuiShowFrameInfo): Likewise and use find_pc_line instead of |
| 26 | find_pc_symtab. |
| 27 | |
| 28 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 29 | |
| 30 | * tuiSourceWin.c (tuiDisplayMainFunction): Update to use |
| 31 | tuiUpdateLocatorFilename. |
| 32 | * tuiStack.c (tuiSetLocatorInfo): Make it static. |
| 33 | (tuiSetLocatorContent): Likewise. |
| 34 | (tuiUpdateLocatorInfoFromFrame): Likewise. |
| 35 | (tuiSwitchFilename): Remove. |
| 36 | (tui_set_locator_filename): New function |
| 37 | (tui_set_locator_info): Rename from tuiSetLocatorInfo to GNU-ify; |
| 38 | use tui_set_locator_filename to record the filename. |
| 39 | (tuiUpdateLocatorFilename): Likewise. |
| 40 | (tuiUpdateLocatorInfoFromFrame): Update. |
| 41 | (tuiSetLocatorContent): Likewise. |
| 42 | * tuiStack.h (tuiClearLocatorContent): Don't declare. |
| 43 | (tuiSetLocatorInfo, tuiSetLocatorContent): Likewise. |
| 44 | (tuiUpdateLocatorInfoFromFrame, tuiSwitchFilename): Likewise. |
| 45 | |
| 46 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 47 | |
| 48 | * tuiSourceWin.c (tuiSetHasBreakAt): Use filename for breakpoint |
| 49 | comparison; cleanup. |
| 50 | * tuiSource.c (tuiSetSourceContent): Set window title and filename. |
| 51 | * tuiGeneralWin.c (boxWin): Print optional title on top of window. |
| 52 | * tuiData.h (TuiSourceInfo): Add filename member. |
| 53 | (TuiGenWinInfo): Add title member. |
| 54 | * tuiData.c (initGenericPart): Clear title. |
| 55 | (freeWindow): Free title and filename; remove unused locals. |
| 56 | (initWinInfo): Clear filename. |
| 57 | (tuiDelWindow): Free it; remove unused locals. |
| 58 | |
| 59 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 60 | |
| 61 | * tuiStack.h (tuiGetLocatorFilename): Don't declare. |
| 62 | (tuiUpdateLocatorDisplay): Likewise. |
| 63 | * tuiStack.c (tuiGetLocatorFilename): Remove. |
| 64 | (tuiShowFrameInfo): Use tuiSetLocatorContent and tuiShowLocatorContent |
| 65 | instead of tuiUpdateLocatorDisplay. |
| 66 | (tuiUpdateLocatorDisplay): Remove. |
| 67 | |
| 68 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 69 | |
| 70 | * tuiStack.h (tuiClearLocatorDisplay): Don't declare. |
| 71 | * tuiStack.c (tuiClearLocatorDisplay): Remove. |
| 72 | (tuiShowLocatorContent): Use wclrtoeol to clear end of status line. |
| 73 | (tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay. |
| 74 | |
| 75 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 76 | |
| 77 | * tuiStack.c (tui_get_function_from_frame): Rename from |
| 78 | _getFuncNameFromFrame; use print_address_symbolic to get symbolic |
| 79 | name of address. |
| 80 | (tuiUpdateLocatorInfoFromFrame): Update. |
| 81 | |
| 82 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 83 | |
| 84 | * tuiRegs.c (tuiDisplayRegistersFrom): Remove unused locals. |
| 85 | (_tuiRegisterFormat, _tuiSetSpecialRegsContent): Likewise. |
| 86 | (_tuiSetGeneralAndSpecialRegsContent): Likewise. |
| 87 | (_tuiSetFloatRegsContent): Likewise. |
| 88 | (_tuiRegisterName): Return a const char*. |
| 89 | * tuiData.h (_TuiDataElement): Use const char* for name. |
| 90 | |
| 91 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 92 | |
| 93 | * tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare. |
| 94 | (tuiShowAllExecInfosContent): Likewise. |
| 95 | * tuiSourceWin.c (tuiEraseAllSourceContent): Remove. |
| 96 | (tuiShowAllExecInfosContent): Remove. |
| 97 | (tuiAllocSourceBuffer): Remove unused locals. |
| 98 | |
| 99 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 100 | |
| 101 | * tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command |
| 102 | to follow other gdb's command names; use execute_command; cleanup. |
| 103 | (_initialize_tuiStack): Update. |
| 104 | |
| 105 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
| 106 | |
| 107 | * tuiWin.h (tui_update_gdb_sizes): Declare. |
| 108 | |
| 109 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
| 110 | |
| 111 | * tui.c (strcat_to_buf): Use const char* for source item. |
| 112 | (tui_enable): Update the windows if there is a selected frame. |
| 113 | * tui.h (strcat_to_buf): Update prototype. |
| 114 | (strcat_to_buf_with_fmt): Remove. |
| 115 | |
| 116 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
| 117 | |
| 118 | * tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what |
| 119 | is the size of command window. |
| 120 | (tuiResizeAll): Call it instead of init_page_info. |
| 121 | * tui.c (tui_enable): Call it to resize to TUI command window. |
| 122 | (tui_disable): Likewise for plain screen. |
| 123 | |
| 124 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
| 125 | |
| 126 | * tui.c (tui_enable): Use tuiSetLayout instead of showLayout and |
| 127 | use tuiShowFrameInfo instead of tuiSetLocatorContent. |
| 128 | * tuiLayout.h (showLayout): Remove. |
| 129 | * tuiLayout.c (_showSourceOrDisassemAndCommand): Remove unused locals. |
| 130 | (_showSourceDisassemCommand): Likewise. |
| 131 | (showLayout): Make it static. |
| 132 | (lastLayout): Remove. |
| 133 | |
| 134 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
| 135 | |
| 136 | * tuiSourceWin.c (tui_show_source_line): New function. |
| 137 | (tuiShowSourceContent): Call it and avoid clearing the window before |
| 138 | redrawing it. |
| 139 | (tuiClearAllSourceWinsContent): Remove. |
| 140 | * tuiSourceWin.h (tuiClearAllSourceWinsContent): Don't declare. |
| 141 | * tuiWin.h (tuiClearWinFocus, tuiClearWinFocusFrom): Don't declare. |
| 142 | * tuiWin.c (tuiClearWinFocus, tuiClearWinFocusFrom): Remove. |
| 143 | (tuiRefreshAll): Don't clear the window. |
| 144 | (_makeVisibleWithNewHeight): Don't clear locator line. |
| 145 | (tuiResizeAll): Remove unused locals. |
| 146 | (_tuiAdjustWinHeights): Likewise. |
| 147 | (_makeInvisibleAndSetNewHeight): Likewise. |
| 148 | (_newHeightOk): Likewise. |
| 149 | * tuiLayout.c (showLayout): Don't clear source windows. |
| 150 | (tuiSetLayout): Don't clear the window. |
| 151 | (_initAndMakeWin): Likewise for status line. |
| 152 | * tuiGeneralWin.c (makeVisible): Don't clear or refresh the window. |
| 153 | (makeWindow): Likewise. |
| 154 | (tuiClearWin): Remove. |
| 155 | * tuiGeneralWin.h (tuiClearWin): Don't declare. |
| 156 | |
| 157 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
| 158 | |
| 159 | * tuiSourceWin.c (tuiSrcWinIsDisplayed): Remove. |
| 160 | (tuiAsmWinIsDisplayed): Remove. |
| 161 | (tuiShowAllSourceWinsContent): Remove. |
| 162 | (tuiUpdateOnEnd): Remove. |
| 163 | * tuiGeneralWin.c (scrollWinForward): Remove. |
| 164 | (scrollWinBackward): Remove. |
| 165 | (_winResize): Don't declare. |
| 166 | * tui.h (tuiUpdateOnEnd): Don't declare. |
| 167 | (vcatch_errors, va_catch_errors): Likewise. |
| 168 | * tuiSourceWin.h (tuiUpdateOnEnd): Likewise. |
| 169 | (tuiShowAllSourceWinsContent): Likewise. |
| 170 | * tuiGeneralWin.h (scrollWinForward): Likewise. |
| 171 | (scrollWinBackward): Likewise. |
| 172 | |
| 173 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
| 174 | |
| 175 | * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info. |
| 176 | |
| 177 | 2002-08-18 Daniel Jacobowitz <drow@mvista.com> |
| 178 | |
| 179 | Fix PR gdb/655 |
| 180 | * tui.c: Disable <termio.h> include. |
| 181 | |
| 182 | 2002-03-15 Andrew Cagney <ac131313@redhat.com> |
| 183 | |
| 184 | * tui-out.c (XMALLOC): Delete macro. Update copyright. |
| 185 | |
| 186 | 2002-03-01 Andrew Cagney <ac131313@redhat.com> |
| 187 | |
| 188 | * tui-hooks.c: Add FIXME to explain true/false problem. Update |
| 189 | copyright. |
| 190 | * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c: Ditto. |
| 191 | * tuiDisassem.c, tuiGeneralWin.c, tuiIO.c, tuiLayout.c: Ditto. |
| 192 | * tuiRegs.c, tuiSource.c, tuiSourceWin.c, tuiStack.c: Ditto. |
| 193 | * tuiWin.c: Ditto. |
| 194 | |
| 195 | 2002-02-08 Daniel Jacobowitz <drow@mvista.com> |
| 196 | * tui-hooks.c: Include <curses.h> before "bfd.h". |
| 197 | * tui.c: Likewise. |
| 198 | * tuiCommand.c: Likewise. |
| 199 | * tuiData.c: Likewise. |
| 200 | * tuiDataWin.c: Likewise. |
| 201 | * tuiDisassem.c: Likewise. |
| 202 | * tuiGeneralWin.c: Likewise. |
| 203 | * tuiIO.c: Likewise. |
| 204 | * tuiLayout.c: Likewise. |
| 205 | * tuiRegs.c: Likewise. |
| 206 | * tuiSource.c: Likewise. |
| 207 | * tuiSourceWin.c: Likewise. |
| 208 | * tuiStack.c: Likewise. |
| 209 | * tuiWin.c: Likewise. |
| 210 | |
| 211 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
| 212 | |
| 213 | * tuiWin.c (_initialize_tuiWin): Replace NO_FUNCTION with NULL. |
| 214 | |
| 215 | 2001-10-20 Andrew Cagney <ac131313@redhat.com> |
| 216 | |
| 217 | * tuiDisassem.c: Include "value.h". |
| 218 | * tuiSourceWin.c: Ditto. |
| 219 | |
| 220 | 2001-09-28 Tom Tromey <tromey@redhat.com> |
| 221 | |
| 222 | * tuiLayout.h (tui_set_layout): Don't declare. |
| 223 | * tui.h (tui_vAddWinToLayout): Don't declare. |
| 224 | (tui_vSetLayoutTo): Likewise. |
| 225 | (tui_set_layout): Declare. |
| 226 | |
| 227 | 2001-08-02 Eli Zaretskii <eliz@is.elta.co.il> |
| 228 | |
| 229 | * tuiSourceWin.c: Use disp_del instead of del. |
| 230 | |
| 231 | * tuiSource.c: Use disp_del instead of del. |
| 232 | |
| 233 | * tuiDisassem.c: Use disp_del instead of del. |
| 234 | |
| 235 | 2001-07-31 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 236 | |
| 237 | * tui.c (tui_enable): Remove call to terminal_save_ours(). |
| 238 | (tui_disable): Likewise. |
| 239 | |
| 240 | 2001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 241 | |
| 242 | * tuiWin.c (_initialize_tuiWin): Use specific tui prefix for |
| 243 | set/show configuration variables. |
| 244 | (show_tui_cmd): New function. |
| 245 | (set_tui_cmd): New function. |
| 246 | |
| 247 | 2001-07-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 248 | |
| 249 | * tui-hooks.c: New file, gdb hooks for tui. |
| 250 | * tui-out.c: New file, image copied from cli-out.c. |
| 251 | (tui_field_int): Identify "line" fields and keep track of them. |
| 252 | (tui_field_string): Likewise for "file". |
| 253 | (tui_out_new): Use flags = 0 to avoid printing the sources. |
| 254 | |
| 255 | 2001-07-23 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 256 | |
| 257 | * tuiIO.c (tui_cont_sig): Update cursor position on the screen to |
| 258 | leave it in the command window. |
| 259 | (tui_redisplay_readline): Save cursor position to restore the |
| 260 | cursor after we go back from background. |
| 261 | * tuiData.h (TuiCommandInfo): Add start_line member. |
| 262 | |
| 263 | 2001-07-23 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 264 | |
| 265 | * tuiStack.c (tuiUpdateLocatorFilename): Use const char*. |
| 266 | * tuiStack.h (tuiUpdateLocatorFilename): Update prototype. |
| 267 | * tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls |
| 268 | to add_set_enum_cmd. |
| 269 | * tui.c (tui_show_source): New function. |
| 270 | (tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow. |
| 271 | (tui_switch_mode): Prep or deprep readline terminal; |
| 272 | make sure the \n we return does not redo the last command. |
| 273 | * tui.h (tui_show_source): Declare. |
| 274 | (tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise. |
| 275 | (tui_active, tui_initialize_io, tui_initialize_readline): Likewise. |
| 276 | |
| 277 | 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 278 | |
| 279 | * tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler |
| 280 | if SIGCONT is defined. |
| 281 | (tui_cont_sig): New function when SIGCONT is defined. |
| 282 | (tui_setup_io): Save tty setting to restore by SIGCONT. |
| 283 | |
| 284 | 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 285 | |
| 286 | * tui.h (tui_show_assembly): Declare. |
| 287 | (tui_is_window_visible): Declare. |
| 288 | * tui.c (tui_show_assembly): New function. |
| 289 | (tui_is_window_visible): New function. |
| 290 | (tui_get_command_dimension): New function. |
| 291 | |
| 292 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 293 | |
| 294 | * tuiWin.c (tuiRefreshAll): Use clearok to force a refresh. |
| 295 | |
| 296 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 297 | |
| 298 | * tui-file.c (tui_file_fputs): Use tui_puts. |
| 299 | |
| 300 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 301 | |
| 302 | * tuiStack.c (tuiSetLocatorInfo): Cleanup. |
| 303 | * tuiStack.h (tuiGetLocatorFilename): Declare. |
| 304 | * tuiRegs.h (tuiFirstRegElementNoInLine): Declare. |
| 305 | * tuiData.h (addToSourceWindows): Declare. |
| 306 | |
| 307 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 308 | |
| 309 | * tui.c (tui_change_windows): New function. |
| 310 | (tui_delete_other_windows): New function. |
| 311 | (tui_initialize_readline): Bind them to C-X 1 and C-X 2. |
| 312 | (tui_enable): Enable the keypad; call tui_update_variables. |
| 313 | (strcat_to_buf_with_fmt): Remove. |
| 314 | |
| 315 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 316 | |
| 317 | * tui.h: Remove old declarations, add the new ones. |
| 318 | * tui.c (tui_switch_mode): New function. |
| 319 | (tui_initialize_readline): New function. |
| 320 | (tui_enable): New function. |
| 321 | (tui_disable): New function. |
| 322 | (tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup. |
| 323 | (tui_vSelectSourceSymtab): Remove. |
| 324 | (tuiInitWindows): Remove. |
| 325 | (_initialize_tui): Remove. |
| 326 | (_tuiReset): Keep but put arround #if 0. |
| 327 | |
| 328 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 329 | |
| 330 | * tuiIO.h: Remove old declarations and add the new ones. |
| 331 | * tuiIO.c: New management for curses and gdb terminal interactions. |
| 332 | (tui_tputs): Remove. |
| 333 | (tuiTermSetup, tuiTermUnsetup): Remove, must use normal curses ops. |
| 334 | (tuiBufferGetc, tui_vStartNewLines, _updateCommandInfo): Remove. |
| 335 | (tui_owns_terminal): Remove. |
| 336 | (tui_redisplay_readline): New function. |
| 337 | (tui_puts): New function. |
| 338 | (tui_prep_terminal): New function. |
| 339 | (tui_deprep_terminal): New function. |
| 340 | (tui_getc): Rename of tuiGetc, simplify and fix. |
| 341 | (tui_setup_io): New function. |
| 342 | (tui_initialize_io): New function. |
| 343 | |
| 344 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 345 | |
| 346 | * tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin. |
| 347 | (_tuiRegisterFormat): Reduce size of format result. |
| 348 | |
| 349 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 350 | |
| 351 | * tuiGeneralWin.c (boxWin): Use the tui configuration variables. |
| 352 | * tuiWin.h: Declare the new variables. |
| 353 | * tuiWin.c (_initialize_tuiWin): Create TUI configuration variables. |
| 354 | (tui_update_variables): New function. |
| 355 | (translate): New function. |
| 356 | (tui_border_kind_enums, tui_border_mode_enums): New tables. |
| 357 | (tui_border_mode_translate): New table. |
| 358 | (tui_border_kind_translate_*): New tables. |
| 359 | (tui_active_border_mode): New variables. |
| 360 | (tui_border_*): New variables. |
| 361 | |
| 362 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 363 | |
| 364 | * tuiWin.c (_parseScrollingArgs): Fix uninitialized variable. |
| 365 | (_makeVisibleWithNewHeight): Use TuiLineOrAddress type. |
| 366 | |
| 367 | * tuiStack.c (tuiShowFrameInfo): Use TuiLineOrAddress type. |
| 368 | (tui_vUpdateLocatorFilename): Remove. |
| 369 | * tuiStack.h: Update prototypes. |
| 370 | |
| 371 | * tuiSourceWin.c (tuiAddrIsDisplayed): New function. |
| 372 | (tuiLineIsDisplayed): Split for address and line. |
| 373 | (tuiUpdateSourceWindow): Use TuiLineOrAddress type. |
| 374 | (tuiUpdateSourceWindowAsIs): Likewise. |
| 375 | (tuiUpdateSourceWindowsWithAddr): Likewise. |
| 376 | (tuiUpdateSourceWindowsWithLine): Likewise. |
| 377 | (tuiHorizontalSourceScroll): Likewise. |
| 378 | (tuiSetIsExecPointAt): Likewise. |
| 379 | (tuiUpdateOnEnd): Likewise. |
| 380 | * tuiSourceWin.h: Update prototypes. |
| 381 | |
| 382 | * tuiSource.c (tuiVerticalSourceScroll): Use TuiLineOrAddress type. |
| 383 | (tuiShowSource): Likewise. |
| 384 | (tuiVerticalSourceScroll): Likewise. |
| 385 | * tuiSource.h (tuiShowSource): Update prototype. |
| 386 | |
| 387 | * tuiDisassem.c (tuiSetDisassemContent): Use CORE_ADDR for address. |
| 388 | (tuiShowDisassem): Use TuiLineOrAddress type. |
| 389 | (tuiShowDisassemAndUpdateSource): Likewise. |
| 390 | (tuiVerticalDisassemScroll): Likewise. |
| 391 | (tuiShowDisassemAsIs): Remove. |
| 392 | * tuiDisassem.h (tuiSetDisassemContent): Update prototype. |
| 393 | |
| 394 | * tuiData.c (initWinInfo): Use CORE_ADDR for address. |
| 395 | (clearWinDetail): Likewise. |
| 396 | (displayableWinContentOf): Fix address conversion. |
| 397 | (tuiNextWin): Fix crash when the window is not yet created. |
| 398 | (partialWinByName): Likewise. |
| 399 | |
| 400 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 401 | |
| 402 | * tuiSourceWin.h: Remove unused declarations. |
| 403 | * tuiSourceWin.c (tui_vUpdateSourceWindowsWithAddr): Remove. |
| 404 | (tui_vUpdateSourceWindowsWithLine): Remove. |
| 405 | (tui_vAllSetHasBreakAt): Remove. |
| 406 | |
| 407 | * tuiLayout.h (tui_set_layout): Declare. |
| 408 | (tui_vSetLayoutTo): Remove. |
| 409 | (tui_vAddWinToLayout): Remove. |
| 410 | * tuiLayout.c (_tuiLayout_command): Call tui_enable() to force TUI. |
| 411 | (_tuiToggleLayout_command): Remove. |
| 412 | (_tuiToggleSplitLayout_command): Remove. |
| 413 | (_tuiLayout_command): Remove. |
| 414 | (tui_vSetLayoutTo): Remove. |
| 415 | (tui_vAddWinToLayout): Remove. |
| 416 | |
| 417 | * tuiDataWin.h (tui_vCheckDataValues): Remove. |
| 418 | * tuiDataWin.c (tui_vCheckDataValues): Remove. |
| 419 | |
| 420 | 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 421 | |
| 422 | * tuiWin.c (tuiStrDup): Remove, replaced by xstrdup. |
| 423 | (_parseScrollingArgs): Use xstrdup. |
| 424 | (_tuiScrollForward_command): Call tui_enable() to force TUI mode. |
| 425 | (_tuiScrollBackward_command): Likewise. |
| 426 | (_tuiScrollLeft_command): Likewise. |
| 427 | (_tuiScrollRight_command): Likewise. |
| 428 | (_tuiSetFocus): Likewise. |
| 429 | (_tuiSetFocus_command): Likewise. |
| 430 | (_tuiRefreshAll_command): Likewise. |
| 431 | (_tuiSetTabWidth_command): Likewise. |
| 432 | (_tuiSetWinHeight): Likewise. |
| 433 | (_tuiSetWinHeight_command): Likewise. |
| 434 | (_tuiXDBsetWinHeight): Likewise. |
| 435 | (_tui_vSetFocus): Remove. |
| 436 | (_tui_vSetWinHeight): Remove. |
| 437 | (_tui_vXDBsetWinHeight): Remove. |
| 438 | |
| 439 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 440 | |
| 441 | * tuiCommand.h: Remove unused declarations. |
| 442 | * tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences. |
| 443 | (tuiIncrCommandCharCountBy): Remove. |
| 444 | (tuiDecrCommandCharCountBy): Remove. |
| 445 | (tuiSetCommandCharCountTo): Remove. |
| 446 | (tuiClearCommandCharCount): Remove. |
| 447 | |
| 448 | 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 449 | |
| 450 | * tuiWin.c (_initialize_tuiWin): Always define the tui commands; |
| 451 | create the tui class help. |
| 452 | * tuiLayout.c (_initialize_tuiLayout): Always define the tui commands. |
| 453 | * tuiRegs.c (_initialize_tuiRegs): Likewise. |
| 454 | * tuiStack.c (_initialize_tuiStack): Likewise. |
| 455 | |
| 456 | 2001-07-19 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 457 | |
| 458 | * tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR. |
| 459 | (tuiVerticalDisassemScroll): Likewise. |
| 460 | (tuiShowDisassemAndUpdateSource): Check for null symtab to |
| 461 | prevent a crash. |
| 462 | |
| 463 | 2001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 464 | |
| 465 | * tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll. |
| 466 | (tuiRead, tui_vread): Remove. |
| 467 | |
| 468 | * tui.c (va_catch_errors, tuiDo, tuiDoAndReturnToTop): Remove. |
| 469 | (vcatch_errors, _tui_vDo): Remove. |
| 470 | * tui.h (tuiDo, tuiDoAndReturnToTop): Remove. |
| 471 | |
| 472 | * tuiLayout.c (tuiSetLayout): Remove vcatch_errors. |
| 473 | (tui_set_layout): Rename of _tuiSetLayoutTo, public. |
| 474 | (_tuiToggleLayout_command): Merge with _tui_vToggleLayout_command. |
| 475 | (_tuiToggleSplitLayout_command): Merge with _tui_vToggleSplitLayout_command. |
| 476 | (_tuiLayout_command): Call tui_set_layout. |
| 477 | |
| 478 | * tuiRegs.c (_tuiScrollRegsBackward_command): Call tui_scroll. |
| 479 | (_tuiScrollRegsForward_command): Likewise. |
| 480 | (_tuiShowFloat_command): Call _tui_vShowRegisters_commandSupport. |
| 481 | (_tuiShowGeneral_command): Likewise. |
| 482 | (_tuiShowSpecial_command): Likewise. |
| 483 | (_tuiToggleFloatRegs_command): Call tuiToggleFloatRegs. |
| 484 | * tuiWin.c (tui_scroll): Rename of tui_vScroll, update parameters. |
| 485 | (_tuiScrollForward_command): Call tui_scroll. |
| 486 | (_tuiScrollBackward_command): Likewise. |
| 487 | (_tuiScrollLeft_command): Likewise. |
| 488 | (_tuiScrollRight_command): Likewise. |
| 489 | (_tuiSetFocus_command): Call _tuiSetFocus. |
| 490 | (_tuiRefreshAll_command): Call tuiRefreshAll. |
| 491 | (_tuiSetWinHeight_command): Call _tuiSetWinHeight. |
| 492 | (_tuiXDBsetWinHeight_command): Call _tuiXDBsetWinHeight. |
| 493 | * tuiWin.h (tui_scroll): Rename of tui_vScroll, update parameters. |
| 494 | |
| 495 | 2001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 496 | |
| 497 | * tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member. |
| 498 | (TuiLineOrAddress): Likewise. |
| 499 | * tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify |
| 500 | an address. |
| 501 | (tuiSetDisassemContent): Likewise. |
| 502 | (tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise. |
| 503 | * tuiLayout.c (_extractDisplayStartAddr): Likewise. |
| 504 | (tuiSetLayout): Likewise. |
| 505 | * tuiSourceWin.c (tuiDisplayMainFunction): Likewise. |
| 506 | (tuiUpdateSourceWindowsWithAddr): Likewise. |
| 507 | (tuiUpdateSourceWindowsWithLine): Likewise. |
| 508 | (tuiSetHasBreakAt): Likewise. |
| 509 | * tuiStack.c (tuiSetLocatorInfo): Likewise. |
| 510 | (tuiSwitchFilename): Likewise. |
| 511 | (tuiUpdateLocatorInfoFromFrame): Likewise. |
| 512 | (tuiSetLocatorContent): Likewise. |
| 513 | (tuiShowFrameInfo): Likewise. |
| 514 | * tuiDisassem.h: Update prototypes to use CORE_ADDR. |
| 515 | * tuiSourceWin.h: Likewise. |
| 516 | * tuiStack.h: Likewise. |
| 517 | |
| 518 | 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 519 | |
| 520 | * tuiWin.c: Add missing includes. |
| 521 | (_makeVisibleWithNewHeight): Fix call to find_line_pc. |
| 522 | * tuiLayout.c: Add missing includes. |
| 523 | (_initAndMakeWin): Don't put curses in echo mode. |
| 524 | (_extractDisplayStartAddr): Fix calls to find_line_pc. |
| 525 | (_tuiLayout_command): Missing ',' in warning call. |
| 526 | * tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to |
| 527 | find_line_pc. |
| 528 | (tuiSetHasBreakAt): Check for null source file. |
| 529 | |
| 530 | 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 531 | |
| 532 | * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare. |
| 533 | * tuiLayout.c (_tuiSetLayoutTo): Likewise. |
| 534 | * tui.c (_tui_vToggle_command): Likewise. |
| 535 | |
| 536 | 2001-07-17 Elena Zannoni <ezannoni@redhat.com> |
| 537 | |
| 538 | * tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered. |
| 539 | |
| 540 | 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 541 | |
| 542 | * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in |
| 543 | each register window. |
| 544 | (tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size |
| 545 | of the register to check. |
| 546 | (_tuiRegValueHasChanged): Likewise. |
| 547 | (_tuiRegisterName): Use REGISTER_NAME. |
| 548 | (tui_restore_gdbout): New function. |
| 549 | (_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected |
| 550 | to a string. |
| 551 | (START_SPECIAL_REGS): Define. |
| 552 | (_tuiGetRegisterRawValue): Use get_saved_register. |
| 553 | (_tuiDisplayRegister): Fix clearing of register window. |
| 554 | |
| 555 | 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 556 | |
| 557 | * tui-file.h (fputs_unfiltered_hook): Remove. |
| 558 | * tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook. |
| 559 | (tui_file_fputs): Likewise; simplify |
| 560 | |
| 561 | 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 562 | |
| 563 | * tuiStack.c: Add missing includes. |
| 564 | (tuiShowFrameInfo): Don't crash when there is no symbol table |
| 565 | associated with the pc. |
| 566 | * tuiSource.c (_hasBreak): Check for null source file. |
| 567 | * tuiWin.c (tuiRefreshAll): Check for null winList[type]. |
| 568 | (_tuiSetFocus): Check for null dataWin. |
| 569 | * tuiGeneralWin.c (refreshAll): Check for null list[type]. |
| 570 | |
| 571 | 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 572 | |
| 573 | * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info |
| 574 | to disassemble in the curses window. |
| 575 | |
| 576 | 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 577 | |
| 578 | * tui.h: Cleanup to avoid inclusion of curses includes. |
| 579 | (TuiGenWinInfo, TuiGenWinInfoPtr): Move from here. |
| 580 | * tuiData.h: To here; include curses includes here. |
| 581 | (setTermHeightTo): Rename of setTermHeight to follow reality. |
| 582 | (setTermWidthTo): Likewise with setTermWidth. |
| 583 | |
| 584 | 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 585 | |
| 586 | * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype. |
| 587 | tuiIO.c, tuiData.c: Likewise. |
| 588 | tuiDataWin.c, tuiDisassem.c: Likewise. |
| 589 | tuiGeneralWin.c, tuiLayout.c: Likewise. |
| 590 | tuiRegs.c, tuiSource.c: Likewise. |
| 591 | tuiSouceWin.c, tuiStack.c: Likewise. |
| 592 | |
| 593 | 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 594 | |
| 595 | * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright. |
| 596 | tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise. |
| 597 | tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise. |
| 598 | tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise. |
| 599 | tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise. |
| 600 | tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise. |
| 601 | |
| 602 | 2001-03-08 Andrew Cagney <ac131313@redhat.com> |
| 603 | |
| 604 | * tuiRegs.c: Use NUM_REGS, not ARCH_NUM_REGS. |
| 605 | |
| 606 | 2001-03-06 Kevin Buettner <kevinb@redhat.com> |
| 607 | |
| 608 | * tui-file.h: Update/correct copyright notice. |
| 609 | |
| 610 | Wed Feb 7 19:54:27 2001 Andrew Cagney <cagney@redhat.com> |
| 611 | |
| 612 | * tui-file.c: Add __FILE__ and __LINE__ parameter to calls to |
| 613 | internal_error. |
| 614 | |
| 615 | 2000-12-14 Kevin Buettner <kevinb@redhat.com> |
| 616 | |
| 617 | * tui-file.c, tui.c, tuiData.c, tuiLayout.c: Replace occurrences |
| 618 | of free() with xfree(). |
| 619 | |
| 620 | 2000-06-22 Kevin Buettner <kevinb@redhat.com> |
| 621 | |
| 622 | * tuiSourceWin.h: Eliminate use of PARAMS from this file. |
| 623 | |
| 624 | 2000-06-20 Kevin Buettner <kevinb@redhat.com> |
| 625 | |
| 626 | * tuiLayout.c: Eliminate use of PARAMS from this file. |
| 627 | |
| 628 | 2000-06-17 Kevin Buettner <kevinb@redhat.com> |
| 629 | |
| 630 | * tuiIO.c: Eliminate use of PARAMS from this file. |
| 631 | |
| 632 | Thu May 25 14:46:20 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 633 | |
| 634 | * tui-file.c: Include "tui.h", "tuiData.h", "tuiIO.h" and |
| 635 | "tuiCommand.h". |
| 636 | (tui_file_fputs): Pass ``file'' and not ``stream'' to |
| 637 | tui_file_adjust_strbuf. |
| 638 | |
| 639 | Thu May 25 16:58:01 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 640 | |
| 641 | * tui.h: Include <ncurses.h> when available. |
| 642 | * tui.c, tuiGeneralWin.c: Do not include <curses.h>. |
| 643 | |
| 644 | Mon May 15 17:16:10 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 645 | |
| 646 | * Makefile.in: Delete. |
| 647 | |
| 648 | Tue Apr 18 15:32:15 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 649 | |
| 650 | * Makefile.in (distclean, maintainer-clean, realclean, |
| 651 | mostlyclean): New targets. |
| 652 | |
| 653 | Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 654 | |
| 655 | * tui-file.c, tui-file.h, tuiDisassem.c, tuiIO.c, tuiIO.h, |
| 656 | tuiRegs.c: Update to reflect rename of gdb-file / GDB_FILE to |
| 657 | ui-file / ``struct ui_file''. |
| 658 | |
| 659 | Mon Jan 31 18:12:43 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 660 | |
| 661 | * tui-file.c (enum streamtype, struct tui_stream, tui_file_new, |
| 662 | tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty, |
| 663 | tui_file_rewind, tui_file_put, tui_file_fputs, |
| 664 | tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush, |
| 665 | fputs_unfiltered_hook): Move to here from ../utils.c |
| 666 | |
| 667 | * tui-file.h, tui-file.c: New files. |
| 668 | |
| 669 | Mon Nov 8 17:47:37 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 670 | |
| 671 | * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c |
| 672 | (tuiSetDisassemContent): Replace gdb_file_init_astring with |
| 673 | tui_sfileopen. Replace gdb_file_get_strbuf with |
| 674 | tui_file_get_strbuf. |
| 675 | |
| 676 | Mon Nov 8 16:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 677 | |
| 678 | * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c |
| 679 | (tuiSetDisassemContent): Repace gdb_file_deallocate with |
| 680 | gdb_file_delete. Replace gdb_file_init_astring with tui_sfileopen. |
| 681 | |
| 682 | Fri Sep 17 19:34:38 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 683 | |
| 684 | * tuiSource.c: Include "source.h". |
| 685 | (open_source_file, find_source_lines): Delete declarations. |
| 686 | |
| 687 | 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com) |
| 688 | |
| 689 | * tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish |
| 690 | system. |
| 691 | |
| 692 | Thu Dec 31 12:08:32 1998 David Taylor <taylor@texas.cygnus.com> |
| 693 | |
| 694 | The following changes were made by Jim Blandy <jimb@cygnus.com>, |
| 695 | Edith Epstein <eepstein@cygnus.com>, Elena Zannoni |
| 696 | <ezannoni@cygnus.com> Stan Shebs <shebs@cygnus.com>, and David |
| 697 | Taylor <taylor@cygnus.com>, as part of the project to merge in |
| 698 | changes originally made by HP; HP did not create ChangeLog |
| 699 | entries. |
| 700 | |
| 701 | * Makefile.in: New file; we're merging HP's changes into GDB, and |
| 702 | we've moved the TUI files into a subdirectory, so we need a new |
| 703 | Makefile. |
| 704 | |
| 705 | * tui.c: |
| 706 | #include <term.h>, if we have it, to get declarations for |
| 707 | the termcap functions on Solaris. |
| 708 | (tgoto): Add external K&R declaration for this; Solaris doesn't |
| 709 | bother to actually declare it in their header files. |
| 710 | (_tuiReset): Ignore the #definition of TIOCGETC if USG is defined; |
| 711 | we'd rather use the USG mechanisms than the Berkeley mechanisms |
| 712 | (TIOCGETC is one of the Berkeley terminal control ioctls). |
| 713 | Apologies if this causes trouble later; this should all be handled |
| 714 | by autoconf... |
| 715 | (strcat_to_buf, strcat_to_buf_with_fmt): New functions, moved here |
| 716 | from ../utils.h. |
| 717 | (tuiFree): replace safe_free with free. |
| 718 | (strcat_to_buf): new function, copied from utils.c. |
| 719 | (tuiInit): Add ignored `argv0' argument, to match the type that |
| 720 | init_ui_hook expects; updated declaration. Call the |
| 721 | initialize_tui_files function constructed above. Initialize |
| 722 | flush_hook to NULL. |
| 723 | (tuiInitWindows): Call tuiSetLocatorContent, to get the first |
| 724 | element of the locator window's content allocated. This seems |
| 725 | wrong, because it must have been initialized somehow in HP's |
| 726 | sources, and we should do it the same way now. But we do get |
| 727 | further before it segfaults. [Postscript: HP didn't bother to |
| 728 | initialize it; they compile |
| 729 | (va_catch_errors, vcatch_errors): Functions moved here from |
| 730 | ../utils.c in HP's sources. They're not used anywhere else. |
| 731 | (xdb_style): Delete this variable, and remove all references to |
| 732 | it. It's always true. |
| 733 | (tuiInit, _tui_vDo): References removed. |
| 734 | |
| 735 | * tui.h: Add prototypes. |
| 736 | Don't #include "gendefs.h"; it's only used in the TUI. |
| 737 | Integrate its contents into this file: |
| 738 | #include <ansidecl.h> here. |
| 739 | (Opaque, OpaqueFuncPtr): Typedefs moved to here. |
| 740 | |
| 741 | * tuiCommand.c: #include "defs.h", so we get the appropriate |
| 742 | definition of GDB_FILE. |
| 743 | |
| 744 | * tuiData.c |
| 745 | (freeWindow): replace safe_free with free. |
| 746 | (tui_version): don't define it here; it's defined in main.c now. |
| 747 | |
| 748 | * tuiDisassem.c |
| 749 | (tuiSetDisassemContent): Call strcat_address_numeric instead of |
| 750 | strcat_address. Simplify the control structure. Use predefined |
| 751 | GDB function to print asm inst address. Use GDB_FILE to collect |
| 752 | output into buffers. |
| 753 | |
| 754 | * tuiIO.c |
| 755 | (tgoto): Add external K&R declaration for this here too. |
| 756 | (tuiGetc, tuiTermSetup, tuiTermUnsetup): Same. |
| 757 | (tuiPuts_unfiltered): change FILE to GDB_FILE. |
| 758 | (tui_tputs): fix prototype for 3rd argument. |
| 759 | |
| 760 | * tuiIO.h (tuiPuts_unfiltered): change declaration. |
| 761 | |
| 762 | * tuiLayout.c |
| 763 | (_tuiSetLayoutTo): for displaying registers, hook up the HP code |
| 764 | that decides which registers to display (i.e. single precision |
| 765 | float, double precision float, general, special). Previously, |
| 766 | only handled TUI_GENERAL_REGS. Now that the code is hooked up, |
| 767 | compiling with -z poses a problem. When the first layout command |
| 768 | is 'layout regs', dataWin->detail is a NULL pointer, and gdb |
| 769 | core dumps. |
| 770 | |
| 771 | * tuiLayout.c (_tuiSetLayoutTo): replace safe_free with free. |
| 772 | |
| 773 | * tuiRegs.c #include "defs.h" earlier, to avoid problems in |
| 774 | <stdarg.h>. No idea exactly what's conflicting with what, but the |
| 775 | errors went away... |
| 776 | (_tuiRegisterFormat): Change so that function creates a GDB_FILE |
| 777 | object, calls pa_do_strcat_registers_info, copies the register |
| 778 | info into a buffer, and deallocates the GDB_FILE object. Remove |
| 779 | some code that is not executed. Also, call to |
| 780 | pa_do_strcat_registers_info has an additional parameter, |
| 781 | precision. This code requires some new per-target functions that |
| 782 | we don't want to merge. Dyke it out, with #ifdef |
| 783 | TUI_EXTENDED_FORMATTERS. |
| 784 | (_tuiSetSpecialRegsContent): this function was ifdefed out. |
| 785 | Hooked this up. |
| 786 | (_tuiSetGeneralAndSpecialRegsContent): this function was ifdefed |
| 787 | out. Hooked it up. |
| 788 | (IS_64BIT): Just define this to be zero; we're not merging in the |
| 789 | 64-bit support. |
| 790 | (tuiShowRegisters): Comment out all references to the "special" |
| 791 | regs; we don't have a distinction between the "special" and |
| 792 | "non-special" regs in most of our machine descriptions. This code |
| 793 | is PA-specific in other ways as well, and needs to be redesigned |
| 794 | to be portable to other processors. |
| 795 | |
| 796 | * tuiWin.c: #include <string.h>, to get a declaration for |
| 797 | strchr. |
| 798 | |
| 799 | * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c, tuiDisassem.c, |
| 800 | tuiGeneralWin.c, tuiIO.c, tuiLayout.c, tuiRegs.c, tuiSource.c, |
| 801 | tuiSourceWin.c, tuiStack.c, tuiWin.c: New files (from HP). Changed |
| 802 | bool to int throughout. Re-indented, GNU style. |
| 803 | |
| 804 | * tui.h, tuiCommand.h, tuiData.h, tuiDataWin.h, tuiDisassem.h, |
| 805 | tuiGeneralWin.h, tuiIO.h, tuiLayout.h, tuiRegs.h, tuiSource.h, |
| 806 | tuiSourceWin.h, tuiStack.h, tuiWin.h: new files (from HP). |
| 807 | Changed bool to int throughout. |