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