| 1 | Fri Apr 28 23:30:00 1995 Stu Grossman (grossman@cygnus.com) |
| 2 | |
| 3 | * array-rom.c (_initialize_array array_open): Move baud_rate |
| 4 | initialization from _initxxx to array_open to fix bug with |
| 5 | overriding -b command line option. |
| 6 | |
| 7 | Thu Apr 27 20:29:34 1995 Doug Evans <dje@canuck.cygnus.com> |
| 8 | |
| 9 | * Makefile.in (RUNTEST): Fix reference of `srcdir'. |
| 10 | |
| 11 | Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com> |
| 12 | |
| 13 | * remote-hms.c: Rewrite to use new monitor conventions. |
| 14 | |
| 15 | Tue Apr 25 11:27:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 16 | |
| 17 | * dbxread.c: Add comment explaining lowest_text_address. |
| 18 | Add comment regarding stringtab_global and psymtabs. |
| 19 | |
| 20 | Sat Apr 22 01:26:29 1995 Jeff Law (law@snake.cs.utah.edu) |
| 21 | |
| 22 | * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix. |
| 23 | |
| 24 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly |
| 25 | handle "short", "int" and small structures returned in registers. |
| 26 | |
| 27 | Fri Apr 21 12:57:53 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 28 | |
| 29 | * minsyms.c: add new function lookup_minimal_symbol_text, to look |
| 30 | for text symbol only. |
| 31 | * breakpoint.c (create_longjmp_breakpoint): call |
| 32 | lookup_minimal_symbol_text instead of lookup_minimal_symbol. |
| 33 | * symtab.h: add lookup_minimal_symbol_text prototype. |
| 34 | |
| 35 | Fri Apr 21 12:03:44 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 36 | |
| 37 | * sh-tdep.c (sh-opc.h): Don't include. |
| 38 | (gdbcore.h): Include. |
| 39 | (frame_find_saved_regs): Remove unused local. |
| 40 | |
| 41 | Thu Apr 20 10:12:21 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 42 | |
| 43 | * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc), |
| 44 | mdebugread.c (struct symloc), hpread.c (struct symloc): Clean |
| 45 | up comments. |
| 46 | |
| 47 | Wed Apr 19 16:58:11 1995 Stu Grossman (grossman@andros.cygnus.com) |
| 48 | |
| 49 | * hppa-tdep.c (deposit_17): New routine to deposit 17 bit |
| 50 | constants into PA instructions. |
| 51 | * Put #ifdefs around all signal handling code. Not generally |
| 52 | needed for embedded boards. |
| 53 | * (hppa_fix_call_dummy): Parameterize offsets into call dummy to |
| 54 | allow different dummys to be used by this code. Use |
| 55 | INSTRUCTION_SIZE instead of REGISTER_SIZE for things. |
| 56 | Conditionalize setup of _sr4export fixup. Improve comments. |
| 57 | * config/pa/tm-hppa.h: Define INSTRUCTION_SIZE. Use a different |
| 58 | call dummy if PA_LEVEL_0 is defined. Better comments for call |
| 59 | dummys. Define offsets for LDIL/LDO instructions which load |
| 60 | function addresses. |
| 61 | * config/pa/tm-pro.h: Get rid of signal handling stuff. Define |
| 62 | PA_LEVEL_0 to disable mucking with space regs and such. |
| 63 | |
| 64 | Mon Apr 17 15:37:08 1995 Stu Grossman (grossman@andros.cygnus.com) |
| 65 | |
| 66 | * cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c |
| 67 | w89k-rom.c: Remove loadtypes, loadprotos and baudrates. |
| 68 | * op50-rom.c: Fix copyrights and add load routine to op50n_cmds. |
| 69 | * rom68k-rom.c (_initialize_rom68k): Don't set baud rate. |
| 70 | * w89k-rom.c: Fix copyrights. |
| 71 | |
| 72 | Sun Apr 16 14:00:55 1995 Stu Grossman (grossman@andros.cygnus.com) |
| 73 | |
| 74 | * monitor.c: Move all xmodem stuff into xmodem.[ch]. Remove |
| 75 | unnecessary remoteloadprotocol and remoteloadtype support. |
| 76 | * (expect expect_prompt): Change names to monitor_expect and |
| 77 | monitor_expect_prompt. Make them global. |
| 78 | * (printf_monitor): Change name to monitor_printf. Make global. |
| 79 | * (monitor_read_memory): Flush command echo to avoid parsing |
| 80 | ambiguity with CPU32Bug monitor. |
| 81 | * (monitor_load): Remove remoteloadprotocol and remoteloadtype |
| 82 | support. Call target_ops->load_routine, default to |
| 83 | monitor_load_srec. |
| 84 | * (monitor_load_srec): Remove everything but S-record support. |
| 85 | * monitor.h (monitor_ops): Add load_routine to provide monitor |
| 86 | specific download capability. |
| 87 | * remote-est.c: Clean up copyrights and comments. |
| 88 | * w89k-rom.c: Use new xmodem support. |
| 89 | * xmodem.c xmodem.h: New files to support xmodem downloads. |
| 90 | * rom68k-rom.c remote-est.c: Fix copyrights, add load_routine |
| 91 | entry to monitor_ops. |
| 92 | * cpu32bug-rom.c: New file to support Moto BCC debuggers. |
| 93 | * config/m68k/est.mt (TDEPFILES): Add cpu32bug.o. |
| 94 | * config/pa/hppapro.mt (TDEPFILES): Add xmodem.o. |
| 95 | |
| 96 | Sat Apr 15 18:00:15 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 97 | |
| 98 | * rem-multi.shar: Removed; superceded by gdbserver. |
| 99 | |
| 100 | Fri Apr 14 12:10:24 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 101 | |
| 102 | * xcoffread.c (xcoff_sym_fns): Revise comment about merging this |
| 103 | with coffread.c. |
| 104 | |
| 105 | * breakpoint.c (fixup_breakpoints): Removed. |
| 106 | * rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints. |
| 107 | (vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set. |
| 108 | |
| 109 | * coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX |
| 110 | sections, not just SECT_OFF_MAX-1. |
| 111 | |
| 112 | * rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets |
| 113 | to be indexed by SECT_OFF_* instead of xcoff section numbers. |
| 114 | * objfiles.c, remote.c: Remove comments regarding SECT_OFF_*. |
| 115 | * symtab.h: Revise comment about block_line_section. |
| 116 | * rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections. |
| 117 | |
| 118 | Sat Apr 15 14:15:14 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 119 | |
| 120 | * mpw-make.in (init.c): Don't try to do symbolic {o} in sed |
| 121 | command, not allowed by some version of MPW Make. |
| 122 | * ser-mac.c (mac-setbaudrate): Make it actually set baud rates. |
| 123 | |
| 124 | Sat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 125 | |
| 126 | * alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE -> |
| 127 | VALUE_TYPE). Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR, |
| 128 | TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT. |
| 129 | |
| 130 | Sat Apr 15 14:04:32 1995 Per Bothner <bothner@cygnus.com> |
| 131 | |
| 132 | * alpha-tdep.c (alpha_push_arguments): Only cast to long for |
| 133 | TYPE_CODE_INT. |
| 134 | |
| 135 | start-sanitize-gdbtk |
| 136 | Sat Apr 15 13:52:24 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 137 | |
| 138 | * gdbtk.c (gdb_disassemble): Read from inferior if connected |
| 139 | to a VxWorks target. |
| 140 | |
| 141 | Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com) |
| 142 | |
| 143 | * README.GDBTK: New file. Contains the obvious. |
| 144 | end-sanitize-gdbtk |
| 145 | |
| 146 | Thu Apr 13 16:17:04 1995 Rob Savoye <rob@darkstar.cygnus.com> |
| 147 | |
| 148 | * remote-array.c: New file for Array Tech LSI33k based controller |
| 149 | board. |
| 150 | |
| 151 | Thu Apr 13 12:23:31 1995 Kung Hsu <kung@rtl.cygnus.com> |
| 152 | |
| 153 | * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with |
| 154 | extract_address. |
| 155 | * remote-vxsparc.c: New file, preliminary check in, this configuration |
| 156 | not supported yet. |
| 157 | * remote-vxmips.c: ditto. |
| 158 | |
| 159 | Thu Apr 13 12:10:14 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
| 160 | |
| 161 | * rs6000-tdep.c (xcoff_add_toc_to_loadinfo): Don't use a prototype |
| 162 | to declare the function. |
| 163 | |
| 164 | Wed Apr 12 16:40:20 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 165 | |
| 166 | * monitor.h (init_monitor_ops): Declare. |
| 167 | * rom68k-rom.c: Clarify some comments. |
| 168 | (rom68k_open): Define as static, to match decl. |
| 169 | |
| 170 | Wed Apr 12 16:36:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 171 | |
| 172 | * gdb.gdb: New file. |
| 173 | * .gdbinit: Move list-objfiles to gdb.gdb. |
| 174 | |
| 175 | * values.c (set_internalvar): Set modifiable flag of newval. |
| 176 | |
| 177 | Wed Apr 12 14:34:31 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 178 | |
| 179 | * xcoffread.c: Call complain() rather than error() or printing a |
| 180 | warning. |
| 181 | |
| 182 | start-sanitize-arc |
| 183 | Wed Apr 12 08:15:27 1995 Doug Evans <dje@canuck.cygnus.com> |
| 184 | |
| 185 | * arc-tdep.c: #include "gdbcmd.h". |
| 186 | (codestream_seek): Pass CORE_ADDR. |
| 187 | (arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals. |
| 188 | (debug_pipeline_p): Likewise. |
| 189 | (X_...): Instruction field access macros. |
| 190 | (BUILD_INSN): Define. |
| 191 | (codestream_tell): Allow for stream elements > 1 byte. |
| 192 | (codestream_fill): Likewise. |
| 193 | (setup_prologue_scan): New function. |
| 194 | (arc_get_frame_setup): Call it. Update to current spec |
| 195 | regarding prologues. Use BUILD_INSN. |
| 196 | (skip_prologue): New argument `frameless_p'. Use BUILD_INSN. |
| 197 | (arc_frame_saved_pc): New function. |
| 198 | (frame_find_saved_regs): Use BUILD_INSN. |
| 199 | (get_insn_type, single_step): New functions. |
| 200 | (one_stepped): New global. |
| 201 | (arc_set_cpu_type_command, arc_show_cpu_type_command): New functions. |
| 202 | (arc_set_cpu_type): New function. |
| 203 | (_initialize_arc_tdep): Define new `set' commands `cpu', |
| 204 | `displaypipeline', and `debugpipeline'. |
| 205 | * remote-arc.c (break_insn): Add bi-endian support. |
| 206 | (arc_insert_breakpoint): Likewise. |
| 207 | (arc_remove_breakpoint): Likewise. |
| 208 | (switch_command): Delete. |
| 209 | * arc/tm-arc.h (TARGET_BYTE_ORDER): Delete. |
| 210 | (TARGET_BYTE_ORDER_SELECTABLE): Define. |
| 211 | (DEFAULT_ARC_CPU_TYPE): Define. |
| 212 | (SKIP_PROLOGUE_FRAMELESS_P): Define. |
| 213 | (BREAKPOINT): Delete. |
| 214 | (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define. |
| 215 | (DECR_PC_AFTER_BREAK): Change to 8. |
| 216 | (NO_SINGLE_STEP): Define. |
| 217 | (ARC_PC_TO_REAL_ADDRESS): Define. |
| 218 | (SAVED_PC_AFTER_CALL): Use it. |
| 219 | (NUM_REGS, REGISTER_BYTES): Fix. |
| 220 | (FRAME_SAVED_PC): Call arc_frame_saved_pc. |
| 221 | (FRAME_LOCALS_ADDRESS): Fix. |
| 222 | end-sanitize-arc |
| 223 | |
| 224 | Tue Apr 11 16:42:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 225 | |
| 226 | * top.c, utils.c, defs.h: Remove error_hook. It is currently |
| 227 | unused and would need to hook into error_begin()/return_to_top_level(), |
| 228 | instead of error(), if it were to be used. |
| 229 | |
| 230 | Tue Apr 11 13:46:25 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 231 | |
| 232 | * utils.c, defs.h (warning_begin): Renamed from warning_setup, for |
| 233 | consistency with error_begin. Also print warning_pre_print. |
| 234 | Document it better. |
| 235 | * utils.c (warning): Use it. |
| 236 | * utils.c (error_begin): Doc fix. |
| 237 | * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the |
| 238 | symfile_objfile, nuke it. |
| 239 | |
| 240 | Tue Apr 11 09:35:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 241 | |
| 242 | * printcmd.c (print_address_numeric): Pass use_local to |
| 243 | print_longest, rather than always passing 1. |
| 244 | |
| 245 | * nlm/Makefile.in: Remove comments discussing munch. |
| 246 | |
| 247 | start-sanitize-gdbtk |
| 248 | Tue Apr 11 11:07:12 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
| 249 | |
| 250 | * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but |
| 251 | F_SETOWN is, use that. |
| 252 | end-sanitize-gdbtk |
| 253 | |
| 254 | Mon Apr 10 18:31:57 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 255 | |
| 256 | Merge in support for Mac MPW as a host. |
| 257 | (Old change descriptions retained for informational value.) |
| 258 | |
| 259 | * mpw-config.in (i386-unknown-go32): Change from aout. |
| 260 | (sh-hitachi-hms): New target. |
| 261 | * mpw-make.in (BISON): Use byacc instead of bison. |
| 262 | (VERSION): Bump to 4.14.1. |
| 263 | (*-pinsn.*): Remove mentions everywhere. |
| 264 | (all): Don't build MacGDB. |
| 265 | (gdb, SiowGDB): Depend on Version.r. |
| 266 | (Version.r): Generate from version info. |
| 267 | * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS. |
| 268 | (main) [MPW]: Remove debugging hook. |
| 269 | * mac-xdep.c (debug_openp): New flag. |
| 270 | (mac_init): Set flag if env variable defined. |
| 271 | * ser-mac.c (mac_open): Clarify error message. |
| 272 | (mac_readchar): Call PROGRESS while looping. |
| 273 | (mac_write): Call sleep instead of sec_sleep. |
| 274 | (sec_sleep): Remove. |
| 275 | * source.c (openp) [MPW]: Only print debugging info if debugging. |
| 276 | * utils.c (query) [MPW]: Clarify that behavior is a bug. |
| 277 | |
| 278 | * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace. |
| 279 | |
| 280 | * main.c, source.c: Remove hacks that replace long strings |
| 281 | with shorter ones, now solved portably. |
| 282 | |
| 283 | * config/m68k/xm-mpw.h (spin.h): Include. |
| 284 | (ALMOST_STDC): Only define if MPW_C. |
| 285 | * config/m68k/tm-mac.h: New file, Mac target definitions. |
| 286 | |
| 287 | * mpw-config.in (m68k-apple-macos, ppc-apple-macos, |
| 288 | i386-unknown-aout): New targets. |
| 289 | (mk.tmp): Add *DEPFILES definitions. |
| 290 | * mpw-make.in: Remove gC rules, clean up definitions for other |
| 291 | include files, bump version, fix bogus \ that should be \Option-d. |
| 292 | (init.c): Build correctly. |
| 293 | |
| 294 | * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h |
| 295 | (ALLDEPFILES): Add somsolib.c. |
| 296 | (somsolib.o): Add some dependencies. |
| 297 | |
| 298 | * mpw-config.in: Use nm-empty.h if host is not target. |
| 299 | (xdepfiles): Add mac-xdep.c.o. |
| 300 | (xm_file): Remove. |
| 301 | * mpw-make.in: Add Fortran files. |
| 302 | (XDEPFILES): Remove. |
| 303 | |
| 304 | * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h. |
| 305 | * ser-mac.c (MacSerial.h): Include instead of Serial.h. |
| 306 | |
| 307 | * mpw-make.in: Use {s} instead of {srcdir} everywhere. |
| 308 | (bindir, libdir): Remove extra colon. |
| 309 | (source.c): Compile with C instead of gC. |
| 310 | (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}. |
| 311 | (install-only): Don't install MacGDB. |
| 312 | * source.c (openp) [MPW]: Add a debugging display. |
| 313 | (open_source_file) [MPW]: Use MPW basename finders. |
| 314 | [MPW_C]: Briefer versions of help for line and list commands. |
| 315 | |
| 316 | * mpw-make.in: Change references from paread.c to somread.c |
| 317 | |
| 318 | * mpw-make.in (VERSION): Update to 4.12.3. |
| 319 | (SiowGDB): New target, GDB using SIOW library. |
| 320 | (init-new.c): New target, attempt to generate init.c from sources. |
| 321 | (main.c.o, top.c.o): Put each in its own segment. |
| 322 | * main.c (main) [MPW]: Always call mac_init. |
| 323 | * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output |
| 324 | an extra newline otherwise. |
| 325 | * mac-xdep.c: More comments in various places, remove junk. |
| 326 | (mac_init): Add tests for MPW and SIOW. |
| 327 | (use_wne, has_color_qd): Renamed. |
| 328 | (use_color_qd): New variable. |
| 329 | (grow_window): Only do console resizing to console window, |
| 330 | call resize_console_window. |
| 331 | (zoom_window): Call resize_console_window. |
| 332 | (resize_console_window, scroll_text): New functions. |
| 333 | (adjust_console_sizes): Always align viewrect to even multiples of |
| 334 | text lines. |
| 335 | (adjust_console_text): Always scroll by whole lines. |
| 336 | (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a |
| 337 | recalculation of scroll positions if a newline was output. |
| 338 | (hacked_fflush): Similarly, for flushing. |
| 339 | (hacked_fgetc): New function, aborts if called in MacGDB. |
| 340 | * ser-mac.c (mac_readchar): Rename starttime to start_time, |
| 341 | remove debugging printf. |
| 342 | (mac_write): Sleep on first 4 writes. |
| 343 | (sec_sleep): New function, works like standard sleep. |
| 344 | * macgdb.r: Adjust positioning and contents of About box. |
| 345 | Set minimum size to 2000K, preferred size to 5000K. |
| 346 | * config/m68k/xm-mpw.h (fgetc): Define as a macro. |
| 347 | |
| 348 | * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_. |
| 349 | (top.c.o, annotate.c.o): Add build rules. |
| 350 | * macgdb.r (SysTypes.r): Include. |
| 351 | ('vers'): New resource, version info. |
| 352 | (mFile, mEdit, mDebug): Enable all menu items. |
| 353 | (mDebug): Add key equivalents for continue, step, next. |
| 354 | (wConsole): Add zoom and close boxes to window. |
| 355 | * mac-xdep.c (new_console_window): New function, code taken from |
| 356 | mac_init. |
| 357 | (mac_command_loop): Use GetCaretTime for wait interval, call |
| 358 | do_idle on null events. |
| 359 | (do_idle): New function. |
| 360 | (zoom_window): Implement zooming. |
| 361 | (v_scroll_proc): New function, handles vertical scrolling. |
| 362 | (activate_window): Do activation of console window. |
| 363 | (do_menu_command): Implement items of file, edit, and debug menus. |
| 364 | (do_keyboard_command): Fix command extraction. |
| 365 | (adjust_console_sizes, adjust_console_text): New functions. |
| 366 | (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc, |
| 367 | hacked_putc): Don't call draw_console. |
| 368 | * ser-mac.c (mac_open): Add an error message for invalid ports. |
| 369 | (first_mac_write): New global. |
| 370 | (mac_write): Use first_mac_write to sleep on first several writes. |
| 371 | |
| 372 | * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir. |
| 373 | (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment. |
| 374 | (TSOBS): Don't compile inflow.c. |
| 375 | (all, install): Add MacGDB. |
| 376 | * main.c (main): Do Mac-specific init and command loop if a |
| 377 | standalone app, skip full option help message if compiling |
| 378 | with MPW C. |
| 379 | (gdb_readline): If MPW, add a newline after the (gdb) prompt. |
| 380 | * utils.c (_initialize_utils): If MPW, don't try to use termcap to |
| 381 | compute the window size. |
| 382 | * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc, |
| 383 | fflush): Define as macros that expand into hacked_... versions. |
| 384 | (StandAlone, mac_app): Declare. |
| 385 | * macgdb.r (SIZE): Set the default partition to 4000K. |
| 386 | * mac-xdep.c (readline.h, history.h): Include. |
| 387 | (terminal.h): Don't include. |
| 388 | (mac_app): Define. |
| 389 | (gdb_has_a_terminal): Define Mac-specific version. |
| 390 | (do_keyboard_command): Simplify search for command string. |
| 391 | (readline): Define as gdb_readline. |
| 392 | Add other history/readline stubs to make main gdb link. |
| 393 | (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs, |
| 394 | hacked_fputc, hacked_fflush): New functions, intercept output to |
| 395 | stdout and stderr, send to console window. |
| 396 | |
| 397 | * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb. |
| 398 | (XDEPFILES): Define. |
| 399 | (main.c.o): Compile with gC instead of C. |
| 400 | * mac-defs.h: New file, menu etc definitions shared between |
| 401 | C and Rez files. |
| 402 | * macgdb.r: New file, Rez (resource compiler) resource |
| 403 | definitions. |
| 404 | * mac-xdep.c: New file, Mac host interface code. |
| 405 | * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to |
| 406 | DIRNAME_SEPARATOR. |
| 407 | (PATHNAME_SEPARATOR_STRING): Remove. |
| 408 | (SIGQUIT, SIGHUP): Define. |
| 409 | (fileno, R_OK): Define. |
| 410 | |
| 411 | * mpw-config.in: New file, MPW configuration fragment. |
| 412 | * mpw-make.in: New file, MPW makefile fragment. |
| 413 | * config/m68k/xm-mpw.h: New file, MPW host definitions. |
| 414 | * ser-mac.c: New file, Mac serial interface. |
| 415 | |
| 416 | Mon Apr 10 16:47:57 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 417 | |
| 418 | * valprint.c (print_longest): Fix a syntax error in #ifdef |
| 419 | PRINTF_HAS_LONG_LONG. |
| 420 | |
| 421 | * config/mips/xm-irix5.h: turn on CC_HAS_LONG_LONG and |
| 422 | PRINTF_HAS_LONG_LONG. |
| 423 | * config/mips/tm-irix5.h: turn on FORCE_LONG_LONG. |
| 424 | |
| 425 | Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 426 | |
| 427 | * mdebugread.c (parse_symbol): Use new variable |
| 428 | nodebug_var_symbol_type as type of variables which don't have any |
| 429 | ecoff debug info associated with them. |
| 430 | (parse_symbol, parse_procedure): Use heuristics to determine if |
| 431 | functions were compiled without debugging info and change their |
| 432 | type to nodebug_function_symbol_type. |
| 433 | (_initialize_mdebugread): Initialize nodebug_*_symbol_type. |
| 434 | |
| 435 | * source.c (line_info): Clear sal.pc for `info line' without |
| 436 | arguments. |
| 437 | |
| 438 | Fri Apr 7 17:43:01 1995 Stu Grossman (grossman@andros.cygnus.com) |
| 439 | |
| 440 | * monitor.c: make_xmodem_packet and print_xmodem_packet go away. |
| 441 | send_xmodem_packet shows up to do the obvious. Lots of fixes to |
| 442 | xmodem downloads including resetting of block number at start of |
| 443 | new transfers, fix for buffer overrun problem, addition of CRC |
| 444 | generation code. |
| 445 | * (monitor_open): loadtype_str and loadproto_str now default to |
| 446 | first entry in monitor_ops->loadtypes. |
| 447 | * (monitor_wait): Lengthen register dump buf, because of verbose |
| 448 | Winbond monitor. |
| 449 | * (monitor_fetch_register): Report unimplemented registers as 0. |
| 450 | * (monitor_read_memory): Only do 16 byte aligned transfers |
| 451 | because of formatting weirdness with the Winbond monitor. Also, |
| 452 | ignore non-hex, non-whitespace formatting between bytes (same |
| 453 | monitor). |
| 454 | * (monitor_load): Clean up logic. |
| 455 | * (monitor_load_srec): Re-do xmodem support. Move lots of it |
| 456 | into send_xmodem_packet. |
| 457 | * (getacknak): Get rid of polls and timeouts. Handle CRC |
| 458 | requests from receiver. |
| 459 | * (monitor_make_srec): Efficiency improvements. Don't call |
| 460 | sprintf to output two digit hex numbers. |
| 461 | * (crcinit, docrc): New, CRC-16 support routines. |
| 462 | * (send_xmodem_packet): New routine to generate either CRC-16 or |
| 463 | checksummed xmodem packets. |
| 464 | |
| 465 | * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes): |
| 466 | Reduce tables down to only the load types supported by each |
| 467 | monitor. |
| 468 | |
| 469 | * w89k-rom.c (w89k_supply_register): Parses output of Winbond |
| 470 | register dumps. |
| 471 | * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem. |
| 472 | * (w89k_cmds): Add clear all breakpoints, memory fill, and dump |
| 473 | registers commands. |
| 474 | |
| 475 | * config/pa/tm-hppa.h: Define lots register offsets needed by |
| 476 | w89k-rom.c. |
| 477 | |
| 478 | |
| 479 | Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
| 480 | |
| 481 | * Makefile.in (X11_INCLUDES): Define as empty. |
| 482 | (X11_CFLAGS): Define as including $(X11_INCLUDES). |
| 483 | (X11_LIB_SWITCHES): Define as empty. |
| 484 | (X11_LIBS): Define as -lX11. |
| 485 | |
| 486 | start-sanitize-gdbtk |
| 487 | * configure.in (enable_gdbtk): If gdbtk, support the --x-includes |
| 488 | and --x-libraries switches, setting the X11_INCLUDES and |
| 489 | X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11 |
| 490 | in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables. |
| 491 | |
| 492 | * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use |
| 493 | it. This means that the stop button doesn't work, but is better |
| 494 | than nothing. |
| 495 | end-sanitize-gdbtk |
| 496 | |
| 497 | Wed Apr 5 19:57:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 498 | |
| 499 | * mips-tdep.c (mips_print_register): Remove unused variable |
| 500 | our_type and call to init_type. Fixes memory leak. Reindent function. |
| 501 | |
| 502 | * mips-tdep.c (mips_print_register), findvar.c |
| 503 | (write_register_bytes): Make buffer char[] instead of unsigned |
| 504 | char[]. |
| 505 | |
| 506 | Mon Apr 3 19:28:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 507 | |
| 508 | * top.c, utils.c, main.c, defs.h: Replace error_pre_print with two |
| 509 | variables: error_pre_print (for RETURN_ERROR) and quit_pre_print |
| 510 | (for RETURN_QUIT). Fixes a bug whereby typing ^C (e.g. in "maint |
| 511 | print sym") could output extraneous stuff. |
| 512 | * objfiles.c: Don't declare error_pre_print; defs.h does it. |
| 513 | |
| 514 | Mon Apr 3 13:48:28 1995 Stu Grossman (grossman@andros.cygnus.com) |
| 515 | |
| 516 | * monitor.h: Add MO_GETMEM_NEEDS_RANGE flag. |
| 517 | * monitor.c (monitor_read_memory): Use previously mentioned flag |
| 518 | to send proper format memory examine commands to the w89k monitor. |
| 519 | Also, try to handle bizarre format of memory dump... |
| 520 | |
| 521 | * op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions. |
| 522 | |
| 523 | Sat Apr 1 03:22:20 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 524 | |
| 525 | * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: |
| 526 | Handle relocated symbol address. |
| 527 | * partial-stab.h, case N_SO, SOFUN_ADDRESS_MAYBE_MISSING: |
| 528 | Do not relocate a zero address. |
| 529 | |
| 530 | Thu Mar 30 19:46:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 531 | |
| 532 | * config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; it |
| 533 | is nowhere used. |
| 534 | |
| 535 | * stabsread.c (read_range_type): Remove FIXME comment about |
| 536 | type-id (I presume this meant a number followed by = followed by a |
| 537 | type) versus type number; Per fixed it. |
| 538 | |
| 539 | Wed Mar 29 09:56:04 1995 Jason Molenda (crash@phydeaux.cygnus.com) |
| 540 | |
| 541 | * configure.in: sparc-*-sunos5* is same as sparc-*-solaris2*. |
| 542 | |
| 543 | Wed Mar 29 18:30:03 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 544 | |
| 545 | * remote-e7000.c (why_stop): Add new kinds of strings to expect |
| 546 | from the emulator. |
| 547 | (e7000_wait): Add interpretations for more stop reasons, |
| 548 | including warnings for write protect and cycle address errors. |
| 549 | |
| 550 | Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com) |
| 551 | |
| 552 | start-sanitize-gdbtk |
| 553 | * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate |
| 554 | locations (per-host) for X11 include files. |
| 555 | * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force |
| 556 | the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs |
| 557 | of the R5 include files. |
| 558 | end-sanitize-gdbtk |
| 559 | * monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of |
| 560 | support for interrupting target. |
| 561 | * monitor.c (monitor_open): Send stop command before doing |
| 562 | anything else. |
| 563 | * (monitor_load_srec): Fix record size calculation to prevent end |
| 564 | of segment from getting trashed. |
| 565 | * rom68k-rom.c: Update to latest version of struct monitor_ops. |
| 566 | * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order |
| 567 | problems. Makes DOS hosted function calling work. |
| 568 | * sparclite/crt0.s: Define _start to make COFF happy. |
| 569 | |
| 570 | Wed Mar 29 09:11:51 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
| 571 | |
| 572 | * defs.h (atof): Don't provide an external declaration if atof is |
| 573 | a macro. |
| 574 | |
| 575 | Wed Mar 29 00:01:07 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 576 | |
| 577 | * rs6000-tdep.c (skip_prologue): Skip saving of LR and CR in |
| 578 | the stack frame, fix typos in `st rx,NUM(r1)' and `stu r1,NUM(r1)' |
| 579 | tests. |
| 580 | |
| 581 | Tue Mar 28 17:04:04 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 582 | |
| 583 | * gdbtypes.c (create_range_type): If indextype has TYPE_FLAG_STUB |
| 584 | set, set TYPE_FLAG_TARGET_STUB. |
| 585 | (check_stub_type): Recalculate TYPE_LENGTH for range type. |
| 586 | * stabsread.c (read_range_type): If index type number is followed |
| 587 | by '=', back up, call read_type. and assume we have a true range. |
| 588 | * gdbtypes.h (TYPE_FLAG_TARGET_STUB): Update comment. |
| 589 | |
| 590 | Mon Mar 27 22:51:54 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 591 | |
| 592 | * alpha-nat.c, irix4-nat.c, irix5-nat.c, mipsv4-nat.c, |
| 593 | sparc-tdep.c (supply_gregset, supply_fpregset): Fill inaccessible |
| 594 | registers with zero to handle recent read_register_bytes change. |
| 595 | * irix4-nat.c, irix5-nat.c, mipsv4-nat.c (supply_gregset, |
| 596 | fill_gregset): Fix handling of CAUSE_REGNUM. |
| 597 | * mips-nat.c (store_inferior_registers): Handle unwritable |
| 598 | registers when storing a single register. |
| 599 | * config/mips/tm-irix3.h (CAUSE_REGNUM, BADVADDR_REGNUM): |
| 600 | Fix definitions. |
| 601 | |
| 602 | * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Clear |
| 603 | allocated mips_extra_func_info, if the debug info is corrupt, |
| 604 | the PDR to fill it in might be missing. |
| 605 | |
| 606 | Mon Mar 27 14:43:00 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 607 | |
| 608 | * vx-share/regPacket.h: a new file interfacing with vxworks. |
| 609 | |
| 610 | Sun Mar 26 13:22:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 611 | |
| 612 | * breakpoint.c (bpstat_do_actions): Once we've executed the |
| 613 | commands, set bs->commands to NULL. |
| 614 | |
| 615 | Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 616 | |
| 617 | * buildsym.c (patch_subfile_name): Update last_source_file |
| 618 | with the real source file name. |
| 619 | * dbxread.c (end_psymtab): Handle static functions in the |
| 620 | SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename |
| 621 | to lookup_minimal_symbol. |
| 622 | (process_one_symbol): Ignore extra outermost context from |
| 623 | SunPRO cc and acc. |
| 624 | * stabsread.c (define_symbol): Do not complain for SunPRO |
| 625 | static variable encoding if STATIC_TRANSFORM_NAME is defined. |
| 626 | * sparc-tdep.c, config/sparc/tm-sun4sol2.h |
| 627 | (sunpro_static_transform_name): Renamed from |
| 628 | solaris_static_transform_name. |
| 629 | * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME): |
| 630 | Define to sunpro_static_transform_name for acc 3.0 compiled |
| 631 | executables. |
| 632 | * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS): |
| 633 | Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults |
| 634 | if defined. |
| 635 | * procfs.c (info_proc_siginfo): Cast sip->si_addr to |
| 636 | `unsigned long' and use `lx' format for printing it. |
| 637 | |
| 638 | Fri Mar 24 15:45:42 1995 Stu Grossman (grossman@cygnus.com) |
| 639 | |
| 640 | * configure.in: Move test for m68*-est-* before m68*-*-coff*. |
| 641 | * findvar.c: Move default def of CANNOT_STORE_REGISTER closer to |
| 642 | the beginning of the code. |
| 643 | * (write_register_gen): New routine. Analogous to |
| 644 | read_register_gen. |
| 645 | * (write_register_bytes): Another rewrite! Make it smarter about |
| 646 | not updating regs with the same value. |
| 647 | * monitor.c (printf_monitor readchar): Use stderr instead of |
| 648 | stdout to output debug info. Also cleanup readchar a little. |
| 649 | * (expect): Make sure that excessive responses are null |
| 650 | terminated. |
| 651 | * (monitor_open): Check for magic number in monitor_ops struct. |
| 652 | Allow multiple commands as init strings. Also, clear all |
| 653 | breakpoints. |
| 654 | * (monitor_resume monitor_wait): Send a command to dump all the |
| 655 | regs for those targets which don't do so when waking up after a |
| 656 | continue command. |
| 657 | * (monitor_wait): Handle excessive response output better. |
| 658 | * (monitor_write_memory): Use block fill, word, and long word |
| 659 | commands (if they exist) to write memory more efficiently. |
| 660 | * General cleanups to use flag bits instead of individual flag |
| 661 | words in monitor_ops struct. |
| 662 | * (monitor_command): Return output from command. |
| 663 | * (monitor_load_srec): Allocate buffer only once. Use alloca. |
| 664 | Wait for load response string instead of using a timeout to start |
| 665 | sending S-records. Fix bug where value of srec_frame shrinks. If |
| 666 | hashmark is set, print `-' for retransmissions. General cleanups. |
| 667 | * (monitor_make_srec): Get rid of S-record default type kludge. |
| 668 | * monitor.h: Use seperate struct for memory and register |
| 669 | read/write commands. Memory commands can come in byte, word, |
| 670 | long, and longlong forms. |
| 671 | * (monitor_ops): Change lots of fields. Generalize some stuff. |
| 672 | Put all flags into flags word. Allow init to be a list of commands. |
| 673 | Add command for clearing all breakpoints, block fill, dumping all |
| 674 | registers. |
| 675 | * remote-est.c: Rewrite to use new monitor conventions. |
| 676 | * config/m68k/est.mt (TDEPFILES): Add monitor.o. |
| 677 | * config/m68k/tm-est.h: Set NUM_REGS to 18. |
| 678 | * testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test |
| 679 | more thoroughly. |
| 680 | |
| 681 | Thu Mar 23 23:20:00 1995 Jeff Law (law@snake.cs.utah.edu) |
| 682 | |
| 683 | * somsolib.c (som_solib_add): Handle case where a shared library |
| 684 | referenced by a core file has sections without the SEC_ALLOC bit |
| 685 | set (eg stabs sections). |
| 686 | |
| 687 | Thu Mar 23 15:07:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 688 | |
| 689 | * breakpoint.c (bpstat_do_actions): For each element in the bpstat |
| 690 | chain, do all the commands regardless of whether they run the |
| 691 | inferior. |
| 692 | |
| 693 | Wed Mar 22 19:17:06 1995 Doug Evans <dje@cygnus.com> |
| 694 | |
| 695 | * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as |
| 696 | BREAKPOINT if mono-endian. |
| 697 | (break_insn): Deleted. |
| 698 | (big_break_insn, little_break_insn): Define. |
| 699 | (memory_insert_breakpoint): Handle bi-endian cpus. |
| 700 | (BREAKPOINT_LEN): Define. |
| 701 | (memory_remove_breakpoint): Use it. |
| 702 | (memory_breakpoint_size): Likewise. |
| 703 | |
| 704 | Tue Mar 21 17:03:17 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 705 | |
| 706 | * sparc-stub.c: add nop after 'bg good_wim'. |
| 707 | * sparcl-stub.c: ditto. |
| 708 | |
| 709 | Tue Mar 21 13:34:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 710 | |
| 711 | * infrun.c (handle_command): Don't print TARGET_SIGNAL_0, |
| 712 | TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT. |
| 713 | |
| 714 | Mon Mar 20 10:09:59 1995 Jeff Law (law@snake.cs.utah.edu) |
| 715 | |
| 716 | * hppab-nat.c (store_inferior_registers): Sync with HPUX version. |
| 717 | |
| 718 | Mon Mar 20 07:34:48 1995 Stu Grossman (grossman@cygnus.com) |
| 719 | |
| 720 | * hppah-nat.c (store_inferior_registers): Move check for |
| 721 | CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors |
| 722 | found by test suite during function calls, which attempts to write |
| 723 | unwritable registers. |
| 724 | |
| 725 | Sat Mar 18 02:02:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 726 | |
| 727 | * mdebugread.c (parse_symbol): If finishing a function without |
| 728 | known parameter type info, set that from parameter symbols. |
| 729 | Remove commented-out add_param_to_type support. |
| 730 | |
| 731 | Thu Mar 16 16:38:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 732 | |
| 733 | * xcoffread.c (process_linenos): Make sure filename we pass to |
| 734 | start_subfile will cause deduce_language_from_filename to return |
| 735 | the correct thing. Reindent function to GNU standards. |
| 736 | |
| 737 | Thu Mar 16 15:54:00 1995 J.T. Conklin <jtc@rtl.cygnus.com> |
| 738 | |
| 739 | * nlm/gdbserve.c (handle_exception): #if out call to StopBell, |
| 740 | as it is not available on NetWare 3 or PIN. |
| 741 | * nlm/ppc.c (StopBell): Removed. |
| 742 | |
| 743 | Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 744 | |
| 745 | * xcoffread.c (read_xcoff_symtab): When creating a dummy parameter |
| 746 | inferred from the traceback tags, give its type the name |
| 747 | "<non-float parameter>". |
| 748 | |
| 749 | * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34. |
| 750 | |
| 751 | Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com) |
| 752 | |
| 753 | * findvar.c (read_register_bytes write_register_bytes): Make |
| 754 | these routines much smarter about updating registers from the |
| 755 | target, only doing so when absolutely necessary. This really |
| 756 | speeds up register modification on some remote targets. |
| 757 | |
| 758 | * monitor.c: More cleanups. Get rid of monitor_load_ascii_srec. |
| 759 | BFD makes this unnecessary. Lots of debugging speedups. |
| 760 | * (expect): NULL terminate return string. |
| 761 | * (monitor_open monitor_supply_register parse_register_dump |
| 762 | monitor_wait monitor_fetch_register): Switch to using GNU regexp |
| 763 | library to parse multi-register displays. |
| 764 | * (monitor_read_memory): Read multiple bytes (up to 16) at once. |
| 765 | * (monitor_create_inferior): Call clear_proceed_status to make run |
| 766 | command notice first breakpoint. |
| 767 | * (monitor_load): Clean up. Reset inferior_pid, set pc to start |
| 768 | address and reset symbol table stuff to make loads put things into |
| 769 | a fresh state. |
| 770 | * (monitor_load_srec): Lower sleep time to 1 second. |
| 771 | |
| 772 | * monitor.h (struct monitor_ops): Add register_pattern and |
| 773 | supply_register to monitor_ops. |
| 774 | |
| 775 | * rom68k-rom.c: Add new support for handling register dumps. |
| 776 | * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register |
| 777 | dump handling. |
| 778 | |
| 779 | Wed Mar 15 15:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 780 | |
| 781 | * utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make |
| 782 | argument be an int, not a char. Using a prototype followed by an |
| 783 | old-style function definition in a case where an argument is |
| 784 | widened is a GCC-ism not supported by the native AIX compiler. |
| 785 | |
| 786 | Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com> |
| 787 | |
| 788 | * nlmstub.def: Removed, this was moved to nlm/gdbserve.def |
| 789 | long ago. |
| 790 | |
| 791 | * configure.in (alpha-*-netware*): Removed configuration. |
| 792 | * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed. |
| 793 | * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h, |
| 794 | alpha.c, alpha.h, altdebug.h}: Removed. |
| 795 | |
| 796 | * nlm/gdbserve.c (main): Add support for processing BOARD= |
| 797 | argument, deprecate NODE=. |
| 798 | |
| 799 | Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 800 | |
| 801 | * c-exp.y (yylex): Make an empty character constant an error. |
| 802 | |
| 803 | Tue Mar 14 15:00:54 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 804 | |
| 805 | * valops.c (value_arg_coerce): Do possible value_coerce_array |
| 806 | before determining type argument to value_cast. |
| 807 | |
| 808 | Tue Mar 14 10:41:41 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 809 | |
| 810 | * remote-es.c: Replace ignore with 0. |
| 811 | |
| 812 | Tue Mar 14 05:52:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 813 | |
| 814 | * valops.c (value_repeat), eval.c (evaluate_subexp_standard): |
| 815 | If VALUE_REPEATED is already set, just error out. |
| 816 | |
| 817 | * valops.c (value_cast, value_slice), parse.c (follow_types): Add |
| 818 | FIXME-type-allocation comments. |
| 819 | |
| 820 | * gdbtypes.h (struct type): Fix comment about what units the |
| 821 | TYPE_LENGTH is in. |
| 822 | |
| 823 | Mon Mar 13 18:27:25 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 824 | |
| 825 | * ch-valprint.c (annotate.h): Include. |
| 826 | * eval.c (evaluate_subexp_standard): Remove unused variable. |
| 827 | (calc_f77_array_dims): Add parens to expression. |
| 828 | * f-exp.y (yylex): Add parens to expression, remove unused label. |
| 829 | * f-lang.h (calc_f77_array_dims): Declare. |
| 830 | * f-valprint.c (f_val_print): Remove unused variables. |
| 831 | |
| 832 | Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 833 | |
| 834 | * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't |
| 835 | use the PDR, just examine prologues instead. |
| 836 | |
| 837 | start-sanitize-arc |
| 838 | Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 839 | |
| 840 | * config/tm-arc.h: Change arc register names. |
| 841 | end-sanitize-arc |
| 842 | |
| 843 | Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 844 | |
| 845 | Fix problems with infinite recursion when printing a class |
| 846 | that contains a static instance of the class. |
| 847 | * cp-valprint.c (dont_print_vb_obstack): Renamed from |
| 848 | dont_print_obstack, made static. |
| 849 | (dont_print_statmem_obstack): New obstack, controls printing |
| 850 | of static member classes. |
| 851 | (_initialize_cp_valprint): Initialize it. |
| 852 | (cp_print_static_field): New function, handles printing of |
| 853 | static members. |
| 854 | (cp_print_value_fields): New parameter dont_print_statmem to |
| 855 | handle recursive printing of static member classes, use |
| 856 | cp_print_static_field to handle printing of static members. |
| 857 | * c-valprint.c (cp_print_value_fields): Update prototype and |
| 858 | call to include additional dont_print_statmem parameter. |
| 859 | * c-valprint.c, f-valprint.c (dont_print_obstack): Remove unused |
| 860 | extern declaration. |
| 861 | |
| 862 | * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>. |
| 863 | |
| 864 | * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call |
| 865 | alpha_find_saved_regs if fi->saved_regs is still NULL. |
| 866 | |
| 867 | * elfread.c (elf_symtab_read): Ensure that the filename field |
| 868 | of a minsym is nonempty. Ignore solib trampoline symbols from |
| 869 | the main symbol table, they might have a bogus value. |
| 870 | |
| 871 | * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh: |
| 872 | Fix typos in comments. |
| 873 | |
| 874 | Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 875 | |
| 876 | * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize |
| 877 | pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way |
| 878 | we know whether the PDR ever got set. |
| 879 | * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't |
| 880 | use the PDR, just examine prologues instead. |
| 881 | |
| 882 | Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu) |
| 883 | |
| 884 | * somsolib.c (som_solib_section_offsets): Get offset of text |
| 885 | section right. |
| 886 | |
| 887 | Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com) |
| 888 | |
| 889 | start-sanitize-gdbtk |
| 890 | * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint |
| 891 | type is not bp_breakpoint. |
| 892 | end-sanitize-gdbtk |
| 893 | |
| 894 | * source.c (forward_search_command reverse_search_command): Set |
| 895 | convenience variable $_ to be the line # of the match. |
| 896 | * symtab.c (decode_line_1): Allow convenience variables to be |
| 897 | used in line specs (for breakpoints and such). |
| 898 | |
| 899 | Wed Mar 8 12:51:00 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 900 | |
| 901 | * Makefile.in (VERSION): Bump to 4.14.1. |
| 902 | * NEWS, README: Update for 4.14. |
| 903 | * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration. |
| 904 | (i386_insert_nonaligned_watchpoint): Call aligned instead of |
| 905 | generic watchpoint insertion. |
| 906 | |
| 907 | Tue Mar 7 19:26:10 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 908 | |
| 909 | * valops.c (value_slice): Do COERCE_VARYING_ARRAY. |
| 910 | |
| 911 | Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com) |
| 912 | |
| 913 | * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops |
| 914 | into monitor.c. |
| 915 | * monitor.c (monitor_create_inferior): Allow run command to start |
| 916 | program. |
| 917 | |
| 918 | * monitor.c (monitor_load): Set PC to start address when done |
| 919 | loading. |
| 920 | |
| 921 | * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops. |
| 922 | Remove ref to monitor_create_inferior. |
| 923 | |
| 924 | * monitor.c: More general cleanups. Add prototypes, remove |
| 925 | unused routines. Fix bug with wrong number of args to error(). |
| 926 | |
| 927 | * main.c (main): Don't start up GUI when running under gdb mode |
| 928 | in emacs. |
| 929 | |
| 930 | * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make |
| 931 | Sun make (with VPATH) work... |
| 932 | |
| 933 | * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP |
| 934 | (rom68k) target work right. |
| 935 | * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new |
| 936 | monitor.c interface. More work needs to be done here. |
| 937 | * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to |
| 938 | match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no |
| 939 | floating-point for this card. |
| 940 | |
| 941 | * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c, |
| 942 | ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits |
| 943 | (needed for IDP board?!?!?). |
| 944 | |
| 945 | * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c: Fix defs |
| 946 | and usage of fputc_unfiltered and putchar_unfiltered. Eliminate |
| 947 | putc_unfiltered (it's superfluous). |
| 948 | |
| 949 | * command.h, command.c, top.c: Add var_enum command type. It's |
| 950 | like var_string but allows only only one of the specified strings. |
| 951 | |
| 952 | Mon Mar 6 15:03:59 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 953 | |
| 954 | * valops.c (value_cast): Don't use backslash newline--pre-ANSI |
| 955 | compilers (such as SunOS4 /bin/cc) don't generally support it |
| 956 | except in some contexts. |
| 957 | |
| 958 | Fri Mar 3 17:42:48 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 959 | |
| 960 | * valops.c (value_cast): Check for cast to array type *before* |
| 961 | we coerce array to pointer (in case arg2 is already array). |
| 962 | |
| 963 | * valops.c (call_function_by_hand): Set using_gcc to 2 if using |
| 964 | gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc. |
| 965 | Also check REG_STRUCT_HAS_ADDR for union, array and string types. |
| 966 | |
| 967 | * valops.c (call_function_by_hand): Re-arrange code for pushing |
| 968 | paramaters on the stack so we can do better STACK_ALIGN. |
| 969 | |
| 970 | * valops.c (call_function_by_hand): Call error if the number |
| 971 | of arguments is fewer than parameter types in function type. |
| 972 | |
| 973 | Fri Mar 3 17:13:05 1995 Doug Evans <dje@canuck.cygnus.com> |
| 974 | |
| 975 | * sparc-tdep.c (sparc_extract_struct_value_address): Move |
| 976 | sparc64 support to here. |
| 977 | (sparc64_extract_struct_value_address): Deleted. |
| 978 | (dump_ccreg): Add a prototype so long long arg -> int. |
| 979 | * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define. |
| 980 | (EXTRACT_STRUCT_VALUE_ADDRESS): Delete. |
| 981 | |
| 982 | Fri Mar 3 15:12:12 1995 Jeff Law (law@snake.cs.utah.edu) |
| 983 | |
| 984 | * hpread.c (hpread_record_lines): New argument "offset". All |
| 985 | callers changed. Use it to handle dynamic address relocation. |
| 986 | (hpread_build_psymtabs): Adjust texthigh as we read each function |
| 987 | debug symbol. Fix computation of texthigh. |
| 988 | (hpread_read_subrange_type): Work around macro bugs in HP's |
| 989 | compilers. |
| 990 | (hpread_process_one_debug_symbol): Correctly map source lines. |
| 991 | |
| 992 | * somread.c (check_strange_names): Filter names emitted by the HP |
| 993 | compiler when generating PIC code. |
| 994 | |
| 995 | * valops.c (value_struct_elt_for_reference): Work around macro |
| 996 | bugs in HP's compilers. |
| 997 | * c-exp.y (block): Likewise. |
| 998 | |
| 999 | Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 1000 | |
| 1001 | * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to |
| 1002 | store_address. |
| 1003 | |
| 1004 | * utils.c [_AIX]: Include stddef.h instead of #defining size_t. |
| 1005 | |
| 1006 | Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
| 1007 | |
| 1008 | * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved |
| 1009 | registers that GCC emits on the PowerPC by default in addition to |
| 1010 | the store multiple instruction used on the Power series. |
| 1011 | |
| 1012 | Fri Mar 3 00:54:58 1995 Doug Evans <dje@canuck.cygnus.com> |
| 1013 | |
| 1014 | * sparc-tdep.c (decode_asi): New function. |
| 1015 | (sparc_print_register_hook): Pretty print more v9 registers. |
| 1016 | * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos. |
| 1017 | |
| 1018 | Thu Mar 2 22:20:22 1995 Doug Evans <dje@canuck.cygnus.com> |
| 1019 | |
| 1020 | * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc. |
| 1021 | (target_to_host): Change result type to CORE_ADDR. |
| 1022 | |
| 1023 | Thu Mar 2 15:13:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1024 | |
| 1025 | * rs6000-tdep.c: Fix byte-swapping sins. |
| 1026 | |
| 1027 | Thu Mar 2 16:48:45 1995 Michael Meissner <meissner@cygnus.com> |
| 1028 | |
| 1029 | * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share |
| 1030 | code between branch unconditional and branch conditional cases. |
| 1031 | |
| 1032 | Wed Mar 1 09:41:26 1995 Doug Evans <dje@canuck.cygnus.com> |
| 1033 | |
| 1034 | Various changes for sparc64. |
| 1035 | * sparc-tdep.c (NUM_SPARC_FPREGS): Define. |
| 1036 | (SPARC_INTREG_SIZE): Define. |
| 1037 | (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg) |
| 1038 | where appropriate. |
| 1039 | (enum branch_type): New value `done_retry'. |
| 1040 | (isbranch): Renamed from isannulled. All callers changed. |
| 1041 | Support new sparc64 branch insns. |
| 1042 | (single_step): Handle done_retry. |
| 1043 | (sparc_extract_struct_value_address): Don't assume 4 byte regs. |
| 1044 | (get_saved_register): Likewise. |
| 1045 | (sparc_push_dummy_frame): Likewise. |
| 1046 | (sparc_frame_find_saved_regs): Likewise. |
| 1047 | (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM, |
| 1048 | or PS_REGNUM if not sparc64. sparc64 has 64 fp regs. |
| 1049 | (sparc64_extract_struct_value_address): New function. |
| 1050 | (dump_ccreg, sparc_print_register_hook): Likewise. |
| 1051 | * sp64-tdep.c: Deleted. |
| 1052 | * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define. |
| 1053 | (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg. |
| 1054 | (CC_HAS_LONG_LONG): Define. |
| 1055 | (REGISTER_NAMES): Delete cle/tle and reorganize. |
| 1056 | (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of |
| 1057 | sparc-tdep.c now. |
| 1058 | (REGISTER_BYTES): Update. |
| 1059 | (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete. |
| 1060 | (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h. |
| 1061 | (NO_SINGLE_STEP): Likewise. |
| 1062 | * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs. |
| 1063 | * sparc/sp64.mt: Move simulator support ... |
| 1064 | * sparc/sp64sim.mt: ... to here. |
| 1065 | |
| 1066 | Wed Mar 1 13:14:42 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 1067 | |
| 1068 | * remote-vx960.c: new file for target specific register packaging. |
| 1069 | * remote-vx68.c: ditto. |
| 1070 | * config/i960/vxworks960.mt: add remote-vx960.o. |
| 1071 | * config/m68k/vxworks68.mt: add remote-vx68.o. |
| 1072 | |
| 1073 | Wed Mar 1 13:42:49 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
| 1074 | |
| 1075 | * remote.c (remote_wait): Make calls to strtol be type correct by |
| 1076 | passing the address of a char * pointer instead of an unsigned |
| 1077 | char *. |
| 1078 | |
| 1079 | * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling |
| 1080 | write_memory to make things type correct. |
| 1081 | |
| 1082 | Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com> |
| 1083 | |
| 1084 | * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the |
| 1085 | standard Linux yacc by adding more names to be redefined with a |
| 1086 | prefix. |
| 1087 | |
| 1088 | Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1089 | |
| 1090 | * hppa-tdep.c (pa_print_registers), monitor.c: Use |
| 1091 | extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST. |
| 1092 | * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c. |
| 1093 | Rename it to SWAP_FLOATING to make it clear it is no longer for |
| 1094 | integers. |
| 1095 | |
| 1096 | Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 1097 | |
| 1098 | * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not |
| 1099 | compile time. |
| 1100 | |
| 1101 | start-sanitize-arc |
| 1102 | * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to |
| 1103 | processor. |
| 1104 | * remote-arc.c (arc_wait): when a processor stops, stop other two |
| 1105 | processors too. |
| 1106 | * remote-arc.c (switch_command): switch tm_print_insn. |
| 1107 | end-sanitize-arc |
| 1108 | |
| 1109 | * vx-share/ptrace.h: merge in WRS new ptrace requests. |
| 1110 | |
| 1111 | * defs.h: fix a syntax error. |
| 1112 | |
| 1113 | * a29k-tdep.c (get_longjmp_target): add this function, from WRS. |
| 1114 | * remote-vx.c: move read_register and write_register out to |
| 1115 | target specific files. |
| 1116 | * remote-vx29k.c (get_fp_contnets): add this function, from WRS. |
| 1117 | |
| 1118 | * defs.h: define SWAP_TARGET_AND_HOST macro. |
| 1119 | * findvar.c, monitor.c, hppa-tdep.c: remove definition of |
| 1120 | SWAP_TARGET_AND_HOST. |
| 1121 | |
| 1122 | Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1123 | |
| 1124 | * alpha-tdep.c (find_proc_desc): Only attempt to set |
| 1125 | PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL. |
| 1126 | |
| 1127 | Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1128 | |
| 1129 | * monitor.c: General gcc -Wall lint cleanup and reformat. |
| 1130 | (monitor_command): If no args, send an empty command. |
| 1131 | |
| 1132 | Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com) |
| 1133 | |
| 1134 | * monitor.c (monitor_load_ascii_srec): Add a one second sleep |
| 1135 | after send LOAD_CMD to prevent loss of first S-record. |
| 1136 | |
| 1137 | Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1138 | |
| 1139 | * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2. |
| 1140 | Call error if too few arguments. |
| 1141 | If REG_STRUCT_HAS_ADDR (structs passed by invisible reference), |
| 1142 | copy and convert to reference *before* we calculate alignment. |
| 1143 | Also, make sure structs allocated for return values and invisible |
| 1144 | reference don't violate STACK_ALIGN. |
| 1145 | |
| 1146 | Tue Feb 21 23:29:59 1995 Per Bothner <bothner@rtl.cygnus.com> |
| 1147 | |
| 1148 | * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)' |
| 1149 | (same as C's '(TYPE[])EXPR') |
| 1150 | |
| 1151 | Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1152 | |
| 1153 | * top.c (print_gdb_version): Update the year. |
| 1154 | |
| 1155 | Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com> |
| 1156 | |
| 1157 | * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in |
| 1158 | `..' not in `../..'. |
| 1159 | |
| 1160 | Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1161 | |
| 1162 | * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL |
| 1163 | in addition to a PIOCSSIG to kill the inferior. |
| 1164 | |
| 1165 | Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1166 | |
| 1167 | * parse.c (follow_types): Given (TYPE[]) (i.e. with no length), |
| 1168 | create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED. |
| 1169 | * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array |
| 1170 | of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length. |
| 1171 | * c-typeprint.c (c_type_print_varspec_suffix): If array length |
| 1172 | is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED. |
| 1173 | |
| 1174 | Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
| 1175 | |
| 1176 | * dcache.c (insque, remque): Rewrite Linux support. |
| 1177 | |
| 1178 | Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
| 1179 | |
| 1180 | * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1. |
| 1181 | |
| 1182 | * dcache.c (insque, remque): If compiling in standard C on Linux, |
| 1183 | protect insque and remque with macros to cast the pointer |
| 1184 | arguments to the proper type. |
| 1185 | |
| 1186 | Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com) |
| 1187 | |
| 1188 | * annotate.c, breakpoint.c, defs.h, top.c: Replace |
| 1189 | enable/disable_breakpoint_hook with modify_breakpoint_hook. |
| 1190 | start-sanitize-gdbtk |
| 1191 | * gdbtk.c: Ditto. |
| 1192 | * gdbtk.c: General cleanups, get rid of unused variables. Redo |
| 1193 | handling of stdout/stderr to just return output as the result of |
| 1194 | the tcl command that caused the output. Cleanup -Wall stuff. |
| 1195 | * (breakpoint_notify): Now returns just action and breakpoint |
| 1196 | number. |
| 1197 | * (gdb_get_breakpoint_list): New routine. Does the obvious. |
| 1198 | * (gdb_get_breakpoint_info): Mostly derived from the old |
| 1199 | breakpoint_notify, but returns lots more info. |
| 1200 | * (dsprintf_append_element): Helper routine, works like printf, |
| 1201 | but appends a tcl element onto the specified DString. Good for |
| 1202 | building up lists as return values. |
| 1203 | * (gdbtk_enable/disable_breakpoint): Go away. Replaced with |
| 1204 | gdbtk_modify_breakpoint. |
| 1205 | * (*many routines*): Use new result protocol. |
| 1206 | * (call_wrapper): Make sure that recursive calls don't trash results. |
| 1207 | * gdbtk.tcl: New windows, autocmd, and breakpoints. |
| 1208 | * (gdbtk_tcl_fputs): Don't use $current_output_win redirection |
| 1209 | anymore. It's not needed (in fact, this routine may not be needed |
| 1210 | anymore). |
| 1211 | * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint |
| 1212 | notification protocol. |
| 1213 | * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove |
| 1214 | catches. |
| 1215 | * (interactive_cmd): Use this wrapper around button invocations |
| 1216 | of many commands. This will catch errors and put the results into |
| 1217 | the command window. It also updates all the other windows. |
| 1218 | * Also, change reliefs of most things to sunken. This actually |
| 1219 | looks better. |
| 1220 | * (create_file_win): Fix margin binding to allow breakpoints to |
| 1221 | work again. |
| 1222 | * (create_asm_win): Use return value of gdb_disassemble instead |
| 1223 | of implicit I/O to the command window. |
| 1224 | * (create_command_window): Use new result protocol to get output |
| 1225 | from commands. |
| 1226 | end-sanitize-gdbtk |
| 1227 | |
| 1228 | Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1229 | |
| 1230 | * expression.h: Move declaration of evaluate_subexp_with_coercion |
| 1231 | from here... |
| 1232 | * value.h: ...to here. |
| 1233 | * expression.h: Don't include value.h |
| 1234 | |
| 1235 | Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1236 | |
| 1237 | * expression.h: Move include of value.h until after declaration of |
| 1238 | enum exp_opcode. |
| 1239 | |
| 1240 | Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1241 | |
| 1242 | * remote-e7000.c: Comprehensive cleanup; removal of dead code, |
| 1243 | simplify code, declare things, format to standards. |
| 1244 | (inferior.h, value.h, command.h, remote-utils.h): Include. |
| 1245 | (e7000_login): Rename to e7000_login_command. |
| 1246 | (e7000_ftp): Rename to e7000_ftp_command. |
| 1247 | (e7000_drain): Rename to e7000_drain_command. |
| 1248 | |
| 1249 | * irix5-nat.c (string.h): Include near beginning of file. |
| 1250 | |
| 1251 | Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1252 | |
| 1253 | * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on |
| 1254 | arg, it is a value not a symbol. |
| 1255 | |
| 1256 | gcc -Wall lint: |
| 1257 | * eval.c: Move declaration of evaluate_subexp_with_coercion from here.. |
| 1258 | * expression.h: ..to here. |
| 1259 | * expression.h: Include value.h. |
| 1260 | * ch-lang.c (evaluate_subexp_chill): Add default case in switch. |
| 1261 | |
| 1262 | Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1263 | |
| 1264 | * language.h (struct language_defn): New field evaluate_exp. |
| 1265 | * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn), |
| 1266 | f-lang.c (f_language_defn), language.c (unknown_language_defn, |
| 1267 | auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn): |
| 1268 | Set evaluate_exp to evaluate_subexp_standard. |
| 1269 | * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific |
| 1270 | support for MULTI_SUBSCRIPT. |
| 1271 | (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill. |
| 1272 | * eval.c (enum noside): Move from here .... |
| 1273 | * expression.h (enum noside): ... to here. |
| 1274 | (evaluate_subexp_standard): New prototype. |
| 1275 | * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard. |
| 1276 | Removed lo-longer-needed test for chill_varying_type. |
| 1277 | (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp. |
| 1278 | |
| 1279 | * ch-exp.y (maybe_expression_list): New non-terminal. |
| 1280 | (primitive_value): Allow empty parameter list. |
| 1281 | |
| 1282 | Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com> |
| 1283 | |
| 1284 | * buildsym.c (finish_block): If finishing a function without known |
| 1285 | parameter type info, set that from parameter symbols. |
| 1286 | * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC, |
| 1287 | print parameter types, if available. |
| 1288 | * ch-typeprint.c (chill_type_print_base): Likewise. |
| 1289 | |
| 1290 | * gdbtypes.h (struct type): Remove function type field. |
| 1291 | (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use |
| 1292 | function types now that we're also storing parameter types. |
| 1293 | And the payoff is much less. |
| 1294 | * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE. |
| 1295 | (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE. |
| 1296 | * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE. |
| 1297 | |
| 1298 | * valops.c (value_arg_coerce): Now takes param_type argument. |
| 1299 | (call_function_by_hand): Convert arguments with value_arg_coerce |
| 1300 | early, and overwrite original args with converted args. |
| 1301 | No longer need multiple calls to value_arg_coerce. |
| 1302 | (value_arg_push): Removed. |
| 1303 | * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce. |
| 1304 | * mips-tdep.c (mips_push_arguments): Likewise. |
| 1305 | * alpha-tdep.c (alpha_push_arguments): Likewise. |
| 1306 | * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments): |
| 1307 | Likewise. |
| 1308 | * value.h (value_arg_coerce): Remove declaration. (It's now static.) |
| 1309 | |
| 1310 | * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF. |
| 1311 | |
| 1312 | * symtab.c (add_param_to_type): Remove (commented-out) function, |
| 1313 | since that functionality has been re-written. |
| 1314 | * coffread.c: Remove commented-out add_param_to_type support. |
| 1315 | * mdebugread.c (parse_symbol): Likewise. |
| 1316 | * stabsread.c (define_symbol): Likewise. |
| 1317 | |
| 1318 | Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1319 | |
| 1320 | * buildsym.c (start_subfile): Set language for f2c like for cfront. |
| 1321 | |
| 1322 | Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com> |
| 1323 | |
| 1324 | * op50n-rom.c: Add the control registers. |
| 1325 | |
| 1326 | Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1327 | |
| 1328 | * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to |
| 1329 | after, any host/target/native libraries. |
| 1330 | * dcache.c (insque, remque): Remove declarations. |
| 1331 | * gdbtypes.h (type_code): Remove trailing comma. |
| 1332 | |
| 1333 | From Peter Schauer: |
| 1334 | * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef |
| 1335 | STATIC_NODEBUG_VARS inside case. |
| 1336 | |
| 1337 | Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 1338 | |
| 1339 | * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME. |
| 1340 | * partial-stab.h: Call it. |
| 1341 | * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call |
| 1342 | STATIC_TRANSFORM_NAME to get the name and use minimal symbols to |
| 1343 | get the address. |
| 1344 | * sparc-tdep.c (solaris_static_transform_name): New function. |
| 1345 | |
| 1346 | Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu) |
| 1347 | |
| 1348 | * somread.c (som_symtab_read): Handle dynamic relocation for both |
| 1349 | text and data symbols. |
| 1350 | (som_symfile_offsets): If objfile is a shared library, then get |
| 1351 | text and data offsets from the shared library structures. |
| 1352 | * somsolib.c (som_solib_add): Copy the bfd pointer from the |
| 1353 | objfile rather than reopening the file again. |
| 1354 | (som_solib_section_offsets): New function. |
| 1355 | * somsolib.h (som_solib_section_offsets): Declare. |
| 1356 | |
| 1357 | Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 1358 | |
| 1359 | * config/sparc/tm-sun4sol2.h, dbxread.c: Rename |
| 1360 | N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING. |
| 1361 | * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add |
| 1362 | filename field. |
| 1363 | * elfread.c (record_minimal_symbol_and_info), |
| 1364 | minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return |
| 1365 | newly created symbol. |
| 1366 | * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]: |
| 1367 | Set filename field of minimal symbol. |
| 1368 | * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]: |
| 1369 | Print filename field. |
| 1370 | * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile. |
| 1371 | * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y, |
| 1372 | m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c, |
| 1373 | os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c, |
| 1374 | printcmd.c, dbxread.c: Change callers to pass NULL for sfile. |
| 1375 | * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: |
| 1376 | Find address of function from minimal symbols. |
| 1377 | * partial-stab.h, case 'f', 'F': Call find_stab_function_addr |
| 1378 | instead of getting pst->textlow from the stab. |
| 1379 | * minsyms.c (find_stab_function_addr): New function. |
| 1380 | |
| 1381 | Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com> |
| 1382 | |
| 1383 | * monitor.c: Fix so all the output shows up in the GUI command |
| 1384 | window. |
| 1385 | |
| 1386 | Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1387 | |
| 1388 | * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate |
| 1389 | line, so init.c generation works correctly. |
| 1390 | start-sanitize-arc |
| 1391 | * arc-tdep.c (_initialize_arc_tdep): Ditto. |
| 1392 | end-sanitize-arc |
| 1393 | |
| 1394 | Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com> |
| 1395 | |
| 1396 | * config/mips/idt.mt: Add support for the lsi33k target. |
| 1397 | * config/sparc/sun4sol2.mh: Add support for ser-tcp. |
| 1398 | * array-rom.c: Finish the rest of the support commands needed by |
| 1399 | GDB. |
| 1400 | * mips-tdep.c: Add LSI33k register names and processor type. |
| 1401 | |
| 1402 | start-sanitize-gdbtk |
| 1403 | Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1404 | |
| 1405 | * gdbtk.c (gdb_disassemble): Deference pointer to function before |
| 1406 | calling it (pre-ANSI compilers generally require this). |
| 1407 | |
| 1408 | end-sanitize-gdbtk |
| 1409 | Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1410 | |
| 1411 | * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o. |
| 1412 | |
| 1413 | Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 1414 | |
| 1415 | * ser-go32-para.c (dos_read): fix syntax errors. |
| 1416 | |
| 1417 | Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com) |
| 1418 | |
| 1419 | * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of |
| 1420 | dis_asm_read_memory_hook. We can now call the disassemblers |
| 1421 | directly and have no need for this hook anymore. |
| 1422 | start-sanitize-gdbtk |
| 1423 | * gdbtk.c (gdb_disassemble): Ditto. |
| 1424 | end-sanitize-gdbtk |
| 1425 | * defs.h, printcmd.c: Make print_insn be static. |
| 1426 | |
| 1427 | * ser-go32.c (dos_comisr): Make this 8 bit clean. |
| 1428 | * (dos_open dos_close): Allow multiple opens to the same device. |
| 1429 | Use a ref count to prevent unwanted deallocations. |
| 1430 | * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32 |
| 1431 | happy. |
| 1432 | * (sparclite_ops): Switch to download_stratum. |
| 1433 | * target.h (enum strata): Move download_stratum before |
| 1434 | process_stratum so that executable targets get pushed on top of |
| 1435 | download targets. |
| 1436 | |
| 1437 | Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com> |
| 1438 | |
| 1439 | * array-rom.c: Remove the non GDB remote protocol config stuff. |
| 1440 | |
| 1441 | * monitor.c: All reading/writing functions for memory and |
| 1442 | registers work. |
| 1443 | |
| 1444 | Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 1445 | |
| 1446 | start-sanitize-arc |
| 1447 | * config/arc/arc.mt: new target makefile for arc processor. |
| 1448 | * config/arc/tm-arc.h: new target header for arc processor. |
| 1449 | * config/arc/go32.mh: new go32 host makefile for arc processor. |
| 1450 | * config/arc/xm-go32.h: new go32 host header for arc processor. |
| 1451 | * arc-tdep.c: new target dependent codes for arc processor. |
| 1452 | * remote-arc.c: new file for arc-specific protocol through |
| 1453 | parallel line. |
| 1454 | end-sanitize-arc |
| 1455 | * ser-go32-para.c: new file for go32 parallel port communication. |
| 1456 | |
| 1457 | Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1458 | |
| 1459 | * Makefile.in (VERSION): Bump to 4.13.2. |
| 1460 | |
| 1461 | Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1462 | |
| 1463 | Fix compiler warnings: |
| 1464 | * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug |
| 1465 | and have the caller do the sprintf. Saves us from varargs hell. |
| 1466 | (normal): Define before use. |
| 1467 | * remote-e7000.c: Reindent a few things. |
| 1468 | |
| 1469 | Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1470 | |
| 1471 | * f-typeprint.c (f_type_print_varspec_suffix): Print array index |
| 1472 | ranges in reverse order. |
| 1473 | * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation. |
| 1474 | |
| 1475 | * eval.c (evaluate_subscript): Don't call value_subscript, since |
| 1476 | it adjusts for lower bound and enforces ranges. |
| 1477 | |
| 1478 | * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR. |
| 1479 | * eval.c, parse.c: Removed uses of removed opcodes. |
| 1480 | * eval.c (evaluate_subexp): Clean up handling of |
| 1481 | OP_UNDETERMINED_ARGLIST (no backtracking, more general). |
| 1482 | |
| 1483 | * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using |
| 1484 | LA_PRINT_STRING, and not val_print_string (which reads from inferior). |
| 1485 | |
| 1486 | * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function |
| 1487 | duplicate function made redundant by chill_varying_type. |
| 1488 | |
| 1489 | Re-write of f77 string and complex number support: |
| 1490 | |
| 1491 | * language.h (struct language_defn): New fields string_lower_bound |
| 1492 | and string_char_type. |
| 1493 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn), |
| 1494 | language.c (unknown_language_defn, auto_language_defn, |
| 1495 | local_language_defn), m2-lang.c (m2_language_defn), f-lang.c |
| 1496 | (f_language_defn), ch-lang.c (chill_language_defn): Set new fields. |
| 1497 | * gdbtypes.c (create_string_type): Use new string_char_type field. |
| 1498 | * valops.c (value_string): Use new string_lower_bound field. |
| 1499 | |
| 1500 | * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed. |
| 1501 | * f-lang.c (f_create_fundamental_type, _initialize_f_language), |
| 1502 | m2-lang.c (m2_create_fundamental_type), |
| 1503 | gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex |
| 1504 | types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX. |
| 1505 | * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex): |
| 1506 | Removed. Use builtin_type_complex and builtin_type_double_complex. |
| 1507 | |
| 1508 | * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING |
| 1509 | and TYPE_CODE_LITERAL_COMPLEX. |
| 1510 | * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of |
| 1511 | TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX. |
| 1512 | * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type, |
| 1513 | f77_create_literal_string_type): Removed. |
| 1514 | * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR, |
| 1515 | VALUE_SUBSTRING_MYADDR): Removed. |
| 1516 | |
| 1517 | * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to |
| 1518 | OP_COMPLEX. |
| 1519 | * parse.c: Update accordingly. |
| 1520 | |
| 1521 | * f-valprint.c (f77_print_cmplx): Removed. |
| 1522 | (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating. |
| 1523 | |
| 1524 | * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY. |
| 1525 | * eval.c (evaluate_subexp): For case OP_ARRAY, don't call |
| 1526 | f77_value_literal_string. |
| 1527 | * valops.c, value.h (f77_value_literal_string, f77_value_substring, |
| 1528 | f77_assign_from_literal_string, f77_assign_from_literal_complex): |
| 1529 | Removed. |
| 1530 | (value_assign): No longer need to handle literal types. |
| 1531 | * valops.c (f77_value_literal_complex), value.h: Re-written and |
| 1532 | renamed to value_literal_complex. Last arg is now a (complex) type. |
| 1533 | * valops.c (f77_cast_into_complex): Re-written and renamed to |
| 1534 | cast_into_complex. |
| 1535 | * eval.c (evaluate_subexp): Update accordingly. |
| 1536 | |
| 1537 | * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't |
| 1538 | print address for non-'s'-formats. |
| 1539 | * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead |
| 1540 | of chill_is_varying_struct. |
| 1541 | |
| 1542 | Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1543 | |
| 1544 | gcc -Wall lint. |
| 1545 | * alpha-tdep.c (alpha_in_lenient_prologue): Comment out. |
| 1546 | (after_prologue): Remove unused local b. |
| 1547 | * procfs.c (thread.h): Include. |
| 1548 | (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use |
| 1549 | nested braces in initializer. |
| 1550 | * top.c (initialize_targets, initialize_utils): Declare. |
| 1551 | (locate_arg, insert_args): Add parens around tested assignments. |
| 1552 | * remote-utils.c (sr_scan_args): Remove decl of strtol. |
| 1553 | * remote.c (thread.h): Include. |
| 1554 | (remote_wait): Remove unused local p2. |
| 1555 | * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of |
| 1556 | registers array. |
| 1557 | |
| 1558 | defs.h (stdlib.h): Include. |
| 1559 | (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare. |
| 1560 | (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr, |
| 1561 | strtok, strerror): Don't specify parameter types in declaration. |
| 1562 | |
| 1563 | Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1564 | |
| 1565 | * ch-exp.y (value_string_element, string_primitive_value, |
| 1566 | start_element, left_element, right_element, slice_size, |
| 1567 | lower_element, upper_element, first_element): Removed. |
| 1568 | (value_string_slice, value_array_slice): Replaced by ... |
| 1569 | (slice): New non-terminal, with working slice support. |
| 1570 | (primitive_value_lparen, rparen): New non-terminals. |
| 1571 | (maybe_tuple_elements): New non-terminal, to allow empty tuples. |
| 1572 | (idtokentab): Added "up". |
| 1573 | |
| 1574 | * value.h (COERCE_VARYING_ARRAY): New macro. |
| 1575 | * valarith.c (value_subscript): Use it. |
| 1576 | * valops.c (value_cast): Likewise. Also, do nothing if already |
| 1577 | correct type, and allow converting from/to range to/from scalar. |
| 1578 | |
| 1579 | * valops.c, value.h (varying_to_slice, value_slice): New functions. |
| 1580 | * eval.c (OP_ARRAY): Add cast for array element. |
| 1581 | * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes. |
| 1582 | * valops.c (chill_varying_type): Moved function frp, here ... |
| 1583 | * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here. |
| 1584 | * parse.c (length_of_subexp, prefixify_subexp): Add support |
| 1585 | for TERNOP_SLICE, TERNOP_SLICE_COUNT. |
| 1586 | * expprint.c (print_subexp, dump_expression): Likewise. |
| 1587 | * eval.c (evaluate_subexp): Likewise. |
| 1588 | |
| 1589 | * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call |
| 1590 | value_x_binop on a Chill varying string. |
| 1591 | |
| 1592 | Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1593 | |
| 1594 | * config/m68k/monitor.mt, |
| 1595 | config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put |
| 1596 | depfiles in TDEPFILES not REMOTE_O. |
| 1597 | |
| 1598 | Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat> |
| 1599 | |
| 1600 | From nigel@algor.co.uk. |
| 1601 | * ser-go32.c (dos_close): Don't crash if scb null. |
| 1602 | (dos_sendbreak): New function. |
| 1603 | (dos_ops): Point to dos_sendbreak. |
| 1604 | (dos_info): Calculate COM number correctly. |
| 1605 | |
| 1606 | Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1607 | |
| 1608 | * xcoffread.c (process_xcoff_symbol): Use new variables |
| 1609 | func_symbol_type and var_symbol_type as type of functions and |
| 1610 | variables which don't have any stabs associated with them. |
| 1611 | Reindent most of function. |
| 1612 | (_initialize_xcoffread): Initialize *_symbol_type. |
| 1613 | |
| 1614 | * xcoffread.c (read_xcoff_symtab): Reindent most of function. |
| 1615 | Put C_HIDEXT symbols in the minimal symbols, rather than ignoring |
| 1616 | them (this part commented out as I didn't quite get it to work). |
| 1617 | (cs_to_section, find_targ_sec): New functions, to support above code. |
| 1618 | * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is |
| 1619 | actually present. |
| 1620 | |
| 1621 | Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com) |
| 1622 | start-sanitize-gdbtk |
| 1623 | * gdbtk.tcl (create_file_win): Disable old popup menu for source |
| 1624 | window. |
| 1625 | end-sanitize-gdbtk |
| 1626 | * sparcl-tdep.c: Add `sparclite' target for doing serial and udp |
| 1627 | downloads to SPARClite demo boards. |
| 1628 | |
| 1629 | Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1630 | |
| 1631 | * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had |
| 1632 | no hope of working as is for a long time (in particular, shebs' 27 |
| 1633 | Jan 95 change confuses the issue further--target_read_memory and |
| 1634 | xfer_core_file do *not* do the same thing in this context). |
| 1635 | Revise comment. |
| 1636 | |
| 1637 | Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1638 | |
| 1639 | * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for |
| 1640 | procedure linkage table symbols, it is no longer set due to the |
| 1641 | Jan 6 BFD change in bfd/elfcode.h. |
| 1642 | |
| 1643 | Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1644 | |
| 1645 | * top.c (use_windows): Clarify comments. |
| 1646 | |
| 1647 | * convex-tdep.c (xfer_core_file): Comment out. |
| 1648 | * config/convex/tm-convex.h (XFER_CORE_FILE): Remove. |
| 1649 | * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file |
| 1650 | references to target_read_memory. |
| 1651 | * gdbcore.h (xfer_core_file, core_open, core_detach): Remove |
| 1652 | declarations. |
| 1653 | * corelow.c (core_open, core_detach): Make static. |
| 1654 | |
| 1655 | * arm-tdep.c: Make it compile. |
| 1656 | (exec_file_command, xfer_core_file): Comment out. |
| 1657 | (arm_print_insn): Remove, now in libopcodes. |
| 1658 | (skip_prologue): Comment out most of body. |
| 1659 | (arm_frame_find_saved_regs): Move here from tm-arm.h. |
| 1660 | (_initialize_arm_tdep): Set tm_print_insn. |
| 1661 | * config/arm/tm-arm.h: Remove old refs to first_object_file_end. |
| 1662 | (XFER_CORE_FILE): Remove. |
| 1663 | (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs. |
| 1664 | |
| 1665 | Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1666 | |
| 1667 | * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in. |
| 1668 | |
| 1669 | Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 1670 | |
| 1671 | * symtab.c (find_pc_line): When subtracting one to get a line |
| 1672 | number, make sure not to end up with zero. |
| 1673 | |
| 1674 | * remote-vx.c: Revert all of Kung's changes of 16 Jan. The |
| 1675 | problems with those changes were (a) the file didn't compile, (b) |
| 1676 | they changed memset to bzero--memset is correct, (c) they took out |
| 1677 | code to deal with boards lacking floating point, (d) who knows |
| 1678 | what I didn't discover in a quick read. |
| 1679 | |
| 1680 | Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com) |
| 1681 | |
| 1682 | * sparcl-tdep.c: Clean up formatting and indentation. |
| 1683 | |
| 1684 | Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat> |
| 1685 | |
| 1686 | * remote-hms.c (hms_ops): Change ref of hr_load_image |
| 1687 | to gr_load_image. |
| 1688 | (dcache_flush, dcache_hit, dcache_value, dcache_fetch, |
| 1689 | dcache_poke, dcache_init): Deleted. |
| 1690 | (hms_open, hms_resume, hms_fetch_word, hms_store_word): |
| 1691 | Use dcache routines provided by remote-util.h |
| 1692 | |
| 1693 | Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com> |
| 1694 | |
| 1695 | * configure.in: Add support for powerpc-*-eabi. |
| 1696 | |
| 1697 | * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for |
| 1698 | PowerPC support. |
| 1699 | |
| 1700 | Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1701 | |
| 1702 | * language.h (struct language_defn): New field c_style_arrays. |
| 1703 | * language.c (unknown_language_defn, auto_language_defn, |
| 1704 | local_language_defn), c-lang.c (c_language_defn, cplus_language_defn, |
| 1705 | asm_language_defn): Set c_style_arrays to true. |
| 1706 | * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn), |
| 1707 | f-lang.c (f_language_defn): Set c_style_arrays to false. |
| 1708 | * valops.c (value_string): If c_style_array is not set, |
| 1709 | allocate string in gdb (not inferior) using allocate_value. |
| 1710 | |
| 1711 | * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce): |
| 1712 | Only call value_coerce_array if current_language->c_style_arrays. |
| 1713 | * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.) |
| 1714 | |
| 1715 | * valops.c (chill_varying_type): New predicate. |
| 1716 | * valops.c (value_cast): Support assigning a fixed string or array |
| 1717 | to a variable string/array structure. |
| 1718 | |
| 1719 | * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound. |
| 1720 | Check index>=lowerbound, and then add lowerbound to index here, |
| 1721 | instead of in caller. Generalize to arbitrary lval_types. |
| 1722 | (value_subscript): Use enhanced value_subscripted_rvalue if |
| 1723 | c_style_arrays is false (and index is in range). |
| 1724 | |
| 1725 | start-sanitize-gdbtk |
| 1726 | Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com) |
| 1727 | |
| 1728 | * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be |
| 1729 | found. |
| 1730 | * gdbtk.tcl: Initialize expr_update_list() to prevent errors when |
| 1731 | popping up expression window for the first time. |
| 1732 | end-sanitize-gdbtk |
| 1733 | |
| 1734 | Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1735 | |
| 1736 | * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset: |
| 1737 | TYPE_LENGTH is length in bytes, not bits. |
| 1738 | |
| 1739 | Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1740 | |
| 1741 | * infrun.c (proceed): Flush stdout before resuming inferior. |
| 1742 | * infcmd.c (step_1), annotate.c (annotate_starting): |
| 1743 | Don't bother to flush here. |
| 1744 | |
| 1745 | Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu) |
| 1746 | |
| 1747 | * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled |
| 1748 | by an ill-advised global search and replace. |
| 1749 | |
| 1750 | Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com) |
| 1751 | |
| 1752 | * gdbtk.tcl (create_registers_window): Work around a radiobutton |
| 1753 | widget bug to make Options|Natural button work. |
| 1754 | |
| 1755 | * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and |
| 1756 | g++ caused by out-of-order pc's. |
| 1757 | * gdbtk.tcl (files_command): Remove duplicate file names. Also, |
| 1758 | add scrollbar. |
| 1759 | |
| 1760 | Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com) |
| 1761 | |
| 1762 | * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the |
| 1763 | doc! |
| 1764 | |
| 1765 | Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1766 | |
| 1767 | Add support for Chill bitstring literals (e.h. H'FF00'). |
| 1768 | * ch-exp.y (match_bitstring_literal): Fix for proper endianness. |
| 1769 | * expprint.c (print_subexp): Don't call error on OP_BITSTRING, |
| 1770 | just print B'<unimlemented>'. |
| 1771 | * gdbtypes.c (create_set_type): Fix bug in length calculation. |
| 1772 | * valops.c, value.h (value_bitstring): New function. |
| 1773 | * eval.c (evaluate_subexp): Implement support for OP_BITSTRING. |
| 1774 | |
| 1775 | * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC, |
| 1776 | check that return type is non-void, and print in proper Chill syntax. |
| 1777 | |
| 1778 | Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com> |
| 1779 | |
| 1780 | * Makefile.in: Remove references to remote-mon.c. |
| 1781 | * remote-mon.c: remove. Replaced by rom68k-rom.c. |
| 1782 | * rom68k-rom.c: Support for Rom68k monitor. |
| 1783 | |
| 1784 | Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1785 | |
| 1786 | * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to |
| 1787 | gcc/ch/runtime not chillrt, since that is where the chill runtime |
| 1788 | lives now. |
| 1789 | |
| 1790 | Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat> |
| 1791 | |
| 1792 | * remote-hms.c (hms_load): Delete. |
| 1793 | (target_ops): Use hr_load_image. |
| 1794 | |
| 1795 | * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops): |
| 1796 | Define memory_insert/remove_breakpoint. |
| 1797 | * xm-go32.h: Remove redundant SIGs. |
| 1798 | |
| 1799 | Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat> |
| 1800 | |
| 1801 | * ser-go32.c: Rewritten by nigel@algor.co.uk. |
| 1802 | |
| 1803 | Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1804 | |
| 1805 | * expression.h (OP_LABELED): New operator, for Chill |
| 1806 | labeled structre tuples. |
| 1807 | * ch-exp.y (tuple_element, named_record_element, tuple_elements): |
| 1808 | New non-terminals, to handle labeled structure tuples. |
| 1809 | (tuple): Re-define using tuple_elements. |
| 1810 | * eval.c (evaluate_labeled_field_init): New function, to handle |
| 1811 | initialization of structure fields, possibly using OP_LABELED. |
| 1812 | (evaluate_subexp): Use it. |
| 1813 | * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax |
| 1814 | for Chill. Handled OP_LABELED. |
| 1815 | * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED. |
| 1816 | |
| 1817 | * eval.c (evaluate_subexp): Handle Chill Powerset tuples. |
| 1818 | * valarith.c (value_bit_index): Just treat bitstring as represented |
| 1819 | by an array of bytes. Alignment is handled by compiler. |
| 1820 | |
| 1821 | Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1822 | |
| 1823 | * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info). |
| 1824 | * sh-tdep.c (gdb_print_insn_sh): Ditto. |
| 1825 | |
| 1826 | Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 1827 | |
| 1828 | * remote-os9k.c (rombug_open): Fix a bug in exception handling |
| 1829 | command. |
| 1830 | * remote-os9k.c (rombug_write_inferior_memory): reset buffer after |
| 1831 | write. |
| 1832 | |
| 1833 | Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
| 1834 | |
| 1835 | * parse.c (_initialize_parse): Improve wording of names of |
| 1836 | msym_*_symbol_type. |
| 1837 | |
| 1838 | Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> |
| 1839 | |
| 1840 | * config/mips/tm-mips.h (enum mips_fpu_type): New enum. |
| 1841 | (mips_fpu): Change type to enum mips_fpu_type. |
| 1842 | (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE. |
| 1843 | * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type. |
| 1844 | Don't initialize. |
| 1845 | (mips_fpu_string): New static variable. |
| 1846 | (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE. |
| 1847 | (mips_pop_frame): Likewise. |
| 1848 | (mips_extract_return_value): Likewise. |
| 1849 | (mips_store_return_value): Likewise. |
| 1850 | (mips_set_fpu_command): New static function. |
| 1851 | (mips_show_fpu_command): New static function. |
| 1852 | (_initialize_mips_tdep): Change handling of set/show mipsfpu. |
| 1853 | |
| 1854 | Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
| 1855 | |
| 1856 | * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info). |
| 1857 | |
| 1858 | * parse.c (write_exp_msymbol): Use new variables |
| 1859 | msym_*_symbol_type as type of msymbol expression. |
| 1860 | (_initialize_parse): Initialize them. |
| 1861 | |
| 1862 | Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1863 | |
| 1864 | General cleanup and simplication of disassembler interface. |
| 1865 | * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c, |
| 1866 | hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c, |
| 1867 | m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c, |
| 1868 | rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove. |
| 1869 | * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files, |
| 1870 | had been -pinsn.c files. |
| 1871 | * Makefile.in (ALLDEPFILES): Remove removed files. |
| 1872 | (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o, |
| 1873 | hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o, |
| 1874 | m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o, |
| 1875 | rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o): |
| 1876 | Remove compile actions. |
| 1877 | * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o, |
| 1878 | vax-tdep.o: Add compile actions. |
| 1879 | * defs.h (tm_print_insn): New global. |
| 1880 | * a29k-tdep.c (gdb_print_insn_a29k): New function. |
| 1881 | (_initialize_a29k_tdep): Rename from _initialize_29k, |
| 1882 | set tm_print_insn. |
| 1883 | * alpha-tdep.c (print_insn): Remove. |
| 1884 | (_initialize_alpha_tdep): Set tm_print_insn. |
| 1885 | * arm-tdep.c (arm_print_insn): New function, was print_insn |
| 1886 | in arm-pinsn.c. |
| 1887 | * convex-tdep.c (convex_print_insn): New function, was print_insn |
| 1888 | in convex-pinsn.c. |
| 1889 | * h8300-tdep.c (print_insn): Remove. |
| 1890 | (gdb_print_insn_h8300): New function. |
| 1891 | (_initialize_h8300_tdep): New function. |
| 1892 | * h8500-tdep.c (print_insn): Remove. |
| 1893 | (_initialize_h8500_tdep): New function. |
| 1894 | * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn. |
| 1895 | * i386-tdep.c (_initialize_i386_tdep): New function. |
| 1896 | * i960-tdep.c (mem, next_insn): New functions, were in |
| 1897 | i960-pinsn.c. |
| 1898 | (_initialize_i960_tdep): Set tm_print_insn. |
| 1899 | * m68k-tdep.c (_initialize_m68k_tdep): New function. |
| 1900 | * m88k-tdep.c (_initialize_m88k_tdep): New function. |
| 1901 | * mips-tdep.c (gdb_print_insn_mips): New function. |
| 1902 | (_initialize_mips_tdep): Set tm_print_insn. |
| 1903 | * pyr-tdep.c (pyr_print_insn): New function, was print_insn |
| 1904 | in pyr-pinsn.c. |
| 1905 | * rs6000-tdep.c (_initialize_rs6000_tdep): New function. |
| 1906 | * sh-tdep.c (print_insn): Remove. |
| 1907 | (gdb_print_insn_sh): New function. |
| 1908 | (_initialize_sh_tdep): Set tm_print_insn. |
| 1909 | * sparc-tdep.c (_initialize_sparc_tdep): New function. |
| 1910 | * w65-tdep.c (print_insn): Remove. |
| 1911 | (_initialize_w65_tdep): New function. |
| 1912 | * z8k-tdep.c (print_insn): Remove. |
| 1913 | (gdb_print_insn_z8k): New function. |
| 1914 | (_initialize_z8k_tdep): Set tm_print_insn. |
| 1915 | * printcmd.c (print_insn): New function, generic disassembler. |
| 1916 | * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. |
| 1917 | |
| 1918 | Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 1919 | |
| 1920 | * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h, |
| 1921 | and config/a29k/vx29k.mt. |
| 1922 | * configure.in: add new configuration a29k-*-vxworks. |
| 1923 | * remote-vx29k.c: new file merged from WRS. |
| 1924 | * remote-vx.c: merge changes from WRS. |
| 1925 | * config/a29k/vx29k.mt: new file for new configuration. |
| 1926 | * config/a29k/tm-vx29k.h: new header file for newconfiguration. |
| 1927 | |
| 1928 | Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat> |
| 1929 | |
| 1930 | * breakpoint.h (disable_breakpoint, enable_breakpoint): |
| 1931 | New declarations. |
| 1932 | (enum bpdisp): Change name of 'delete' member to 'del'. |
| 1933 | (struct bpstat): Changed name to 'bpstats'. |
| 1934 | * breakpoint.c (disable_breakpoint, enable_breakpoint, |
| 1935 | breakpoint_chain): Made globally visible. |
| 1936 | (bpstat_stop_status): Use new name for bpstat. |
| 1937 | (break_command_1, watch_command_1, catch_command_1, |
| 1938 | breakpoint_auto_delete, denable_delete_breakpoint): Use 'del' |
| 1939 | instead of 'delete'. |
| 1940 | (set_breakpoint_sal): New function. |
| 1941 | * defs.h (registers_changed_hook): New declaration. |
| 1942 | * infcmd.c (run_stack_dummy): 'delete' is now 'del'. |
| 1943 | * inflow.c (new_tty): Treat WIN32 in same way as __GO32__ |
| 1944 | * main.c (main): Don't scan options when in WIN32 and exit |
| 1945 | without entering main loop. |
| 1946 | * m2-exp.y (m2_elx): Member 'class' is now 'aclass'. |
| 1947 | * symtab.h (struct symbol, struct partial_symbol): Changed name of |
| 1948 | member 'class' to 'aclass'. |
| 1949 | (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change. |
| 1950 | * top.c (registers_changed_hook): New definition. |
| 1951 | * utils.c (quit, notice_quit, initialize_utils): Treate WIN32 |
| 1952 | in same way as __GO32__. |
| 1953 | * value.h (c_typedef_print): Rename 'new' argument. |
| 1954 | |
| 1955 | * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files. |
| 1956 | * configure.in: Suppprt for w65, |
| 1957 | |
| 1958 | |
| 1959 | Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
| 1960 | |
| 1961 | * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1, |
| 1962 | not stop_pc, to proceed. |
| 1963 | |
| 1964 | * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL. |
| 1965 | |
| 1966 | Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
| 1967 | |
| 1968 | * infcmd.c (signal_command): Accept "signal 0"; the change to not |
| 1969 | accept it was accidental. "handle 0" and "info signal 0" remain |
| 1970 | illegal, though. |
| 1971 | |
| 1972 | Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 1973 | |
| 1974 | * Makefile.in (all): Don't make libgdb-files. |
| 1975 | (libgdb): New action, makes libgdb-files. |
| 1976 | |
| 1977 | Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 1978 | |
| 1979 | * stabsread.c (read_enum_type): When pending enum symbols are |
| 1980 | put into the enum type, they must be inserted in "backwards |
| 1981 | order, in case we've overflowed a struct pending buffer. |
| 1982 | |
| 1983 | start-sanitize-gdbtk |
| 1984 | Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com) |
| 1985 | |
| 1986 | * gdbtk.c, gdbtk.tcl: Update/add copyright. |
| 1987 | * gdbtk.tcl (build_framework): Several fixes for filespec widget, |
| 1988 | including dismiss button, and better error handling. |
| 1989 | * (create_command_win): Bind button 2 to retrieve selection. |
| 1990 | end-sanitize-gdbtk |
| 1991 | |
| 1992 | Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1993 | |
| 1994 | * README: Add note about SPARCworks cc release 3.0 and higher. |
| 1995 | |
| 1996 | Add procfs support for Alpha OSF/1-2.x. |
| 1997 | * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic |
| 1998 | OSF/1 native support. |
| 1999 | * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly. |
| 2000 | (MUNCH_DEFINE): Removed. |
| 2001 | * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files |
| 2002 | for procfs support. |
| 2003 | * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1 |
| 2004 | release 2.x and higher, else alpha-osf1.mh, as the procfs support |
| 2005 | in release 1.x is incomplete. |
| 2006 | * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh. |
| 2007 | * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset, |
| 2008 | fill_fpgregset): New routines for procfs support. |
| 2009 | * inftarg.c (_initialize_inftarg): Don't add ptrace support |
| 2010 | if we have an optional procfs and /proc is accessible. |
| 2011 | * procfs.c: Include sys/fault.h and sys/syscall.h before |
| 2012 | including sys/procfs.h. |
| 2013 | (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL |
| 2014 | is defined, additionally perform a PIOCSSIG to really terminate |
| 2015 | the inferior. |
| 2016 | (create_procinfo): Always return a result. |
| 2017 | (create_procinfo, do_attach): Don't trace T_IFAULT faults if |
| 2018 | PROCFS_DONT_TRACE_IFAULT is defined. |
| 2019 | (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as |
| 2020 | argument to startup_inferior if it is defined. |
| 2021 | (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead |
| 2022 | of tracing exits from exec system calls. Needed for the user level |
| 2023 | loader under Alpha OSF/1. |
| 2024 | (do_detach): Clear any pending signal if we want to detach from |
| 2025 | a process without a signal. |
| 2026 | (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined, |
| 2027 | don't issue a PIOCSSIG if pr_cursig already contains the signal we |
| 2028 | intend to set. |
| 2029 | (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the |
| 2030 | pending signals are numbered from 1 instead of 0. |
| 2031 | (info_proc_mappings): Increase size of output format for addresses |
| 2032 | if BFD_HOST_64_BIT is defined. |
| 2033 | (procfs_stop): Renamed from child_stop. |
| 2034 | (_initialize_procfs): Don't add procfs support if we have an |
| 2035 | optional procfs and /proc is not accessible. |
| 2036 | |
| 2037 | start-sanitize-gdbtk |
| 2038 | Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com) |
| 2039 | |
| 2040 | * gdbtk.tcl: Add button to control mixed source disassembly. |
| 2041 | Use text widgets in expr window. The give me more control over |
| 2042 | layout. |
| 2043 | Add auto-updating of exprs in expression window. |
| 2044 | Handle expressions out of scope a bit better. |
| 2045 | Make selected window pop up to the top when invoked via the |
| 2046 | menubar. |
| 2047 | Make copyright message have raised relief. |
| 2048 | |
| 2049 | * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl |
| 2050 | during startup. |
| 2051 | end-sanitize-gdbtk |
| 2052 | |
| 2053 | Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com> |
| 2054 | |
| 2055 | * array-rom.c: Add support for most commands. |
| 2056 | |
| 2057 | * monitor.c: Add GDB remote protocol for the hybrid environment on |
| 2058 | the Array board. |
| 2059 | |
| 2060 | Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu) |
| 2061 | |
| 2062 | * command.c (show_user_1): Use print_command_line to show a user |
| 2063 | defined command (including control structures). |
| 2064 | |
| 2065 | * top.c (init_main): Change documentation for user defined |
| 2066 | commands to indicate they may accept up to ten arguments. |
| 2067 | |
| 2068 | Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
| 2069 | |
| 2070 | * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for |
| 2071 | `move $s8, $sp' instruction. |
| 2072 | |
| 2073 | Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
| 2074 | |
| 2075 | * target.c, target.h (target_signal_from_command): New function. |
| 2076 | * infrun.c (handle_command, signals_info), infcmd.c |
| 2077 | (signal_command): Use it. |
| 2078 | * infrun.c, infcmd.c: Update docstrings for these commands. |
| 2079 | |
| 2080 | * target.h (enum target_signal), target.c (signals), target.c |
| 2081 | (target_signal_from_host, target_signal_to_host): Add |
| 2082 | TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx. |
| 2083 | * config/tm-lynx.h: Define signal numbers for realtime events. |
| 2084 | |
| 2085 | Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2086 | |
| 2087 | * dbxread.c (process_one_symbol): Handle N_FUN symbols |
| 2088 | for Sun acc 3.0 under SunOS4. |
| 2089 | |
| 2090 | Changes to improve handling of runtime common symbols |
| 2091 | under SunOS4. |
| 2092 | * minsyms.c (get_symbol_leading_char): New routine to determine |
| 2093 | the leading symbol character for an objfile. |
| 2094 | (prim_record_minimal_symbol_and_info, install_minimal_symbols): |
| 2095 | Use it. |
| 2096 | * objfiles.h (rt_common_objfile): New global, points to objfile |
| 2097 | containing the runtime common minimal symbols. |
| 2098 | * objfiles.c (free_objfile): Mark rt_common_objfile as |
| 2099 | unallocated before freeing it. |
| 2100 | * solib.c (allocate_rt_common_objfile): New routine to allocate |
| 2101 | an objfile for the runtime common minimal symbols. |
| 2102 | (solib_add_common_symbols): Allocate an objfile for the runtime |
| 2103 | common symbols if necessary and put common symbols into it. |
| 2104 | Clean up code and comments. |
| 2105 | (solib_add, special_symbol_handling): Cleanup comments regarding |
| 2106 | runtime common symbols. |
| 2107 | * stabsread.c (scan_file_globals_1): New routine, contains |
| 2108 | old scan_file_globals code. Checks if there are any unresolved |
| 2109 | global symbols before starting the expensive minimal symbol table |
| 2110 | search. |
| 2111 | (scan_file_globals): Now calls scan_file_globals_1 for the passed |
| 2112 | objfile and eventually for the runtime common objfile. Complains |
| 2113 | about any unresolved global symbols and removes them from the |
| 2114 | global symbol chain to avoid dangling pointers into the symbol |
| 2115 | table if the symbol table is reread. |
| 2116 | |
| 2117 | Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com) |
| 2118 | |
| 2119 | * Makefile.in (install_only uninstall): Indent for clarity. |
| 2120 | |
| 2121 | * core.c (dis_asm_read_memory): Add call to |
| 2122 | dis_asm_read_memory_hook to provide alternate way for disassembler |
| 2123 | to read memory. |
| 2124 | |
| 2125 | * defs.h: Protect from multiple inclusion. Add decl for |
| 2126 | dis_asm_read_memory_hook. |
| 2127 | |
| 2128 | * top.c: Make window startup be the default. |
| 2129 | * Add dis_asm_read_memory_hook. |
| 2130 | |
| 2131 | start-sanitize-gdbtk |
| 2132 | * gdbtk.c (finish_saving_output): Don't do anything if not saving |
| 2133 | output. |
| 2134 | * (breakpoint_notify): Don't send null filename to tcl. |
| 2135 | * (gdb_eval): New tcl command to eval an expression. |
| 2136 | * (gdb_disassemble): New tcl command to do disassembly. This |
| 2137 | allows tcl code to choose between exec file and target memeory, |
| 2138 | and can also do mixed source and assembly. |
| 2139 | * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure |
| 2140 | that more of the environment is set up. Also, create link between |
| 2141 | gdb and tcl vars disassemble{-_}from{-_}exec. |
| 2142 | |
| 2143 | * gdbtk.tcl: New expression window support. |
| 2144 | * Make assembly window be 80 columns wide. |
| 2145 | * Use new disassembly method. Add menu items to select |
| 2146 | disassembly from exec file or target. |
| 2147 | * Change View menubar item to Options. |
| 2148 | |
| 2149 | * Get rid of Stack, Breakpoints, Signals, and Variables Windows, |
| 2150 | since they don't exist yet. |
| 2151 | |
| 2152 | * Pop up a copyright window on startup. |
| 2153 | end-sanitize-gdbtk |
| 2154 | |
| 2155 | Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu) |
| 2156 | |
| 2157 | * stabsread.c (define_symbol): Handle `a' symbol type used for |
| 2158 | reference parameter passed in a register. |
| 2159 | |
| 2160 | start-sanitize-gdbtk |
| 2161 | Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 2162 | |
| 2163 | * gdbtk.tcl (build_framework): Add standard commands menu, more |
| 2164 | windows to standard windows menu. |
| 2165 | (not_implemented_yet): Clarify message. |
| 2166 | end-sanitize-gdbtk |
| 2167 | |
| 2168 | Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com> |
| 2169 | |
| 2170 | * defs.h: move include tm.h up, so that the type LONGEST can |
| 2171 | also based on the target requirement to determine. In this case |
| 2172 | target mips64. |
| 2173 | |
| 2174 | * remote-os9k.c (rombug_open): catch exception e in rombug. |
| 2175 | * remote-os9k.c (rombug_wait): print message before register display |
| 2176 | from rombug. |
| 2177 | |
| 2178 | Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2179 | |
| 2180 | * top.c (locate_arg): Call strchr not index. |
| 2181 | |
| 2182 | Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com> |
| 2183 | |
| 2184 | * ch-exp.y (literal): Recognize NULL. |
| 2185 | (tuple): Parse simple unlabelled tuples. |
| 2186 | * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to |
| 2187 | evaluate brace-initializer-expressions depending on context. |
| 2188 | (evaluate_subexp case UNOP_CAST): Pass the target type as |
| 2189 | expected type when evaluating the expression. |
| 2190 | |
| 2191 | * ch-typeprint.c (chill_type_print_base): Get names of PTR and |
| 2192 | BOOL from TYPE_NAME. |
| 2193 | * ch-valprint.c (chill_print_type_scalar): New function, to handle |
| 2194 | TYPE_CODE_RANGE better than print_type_scalar does. |
| 2195 | (chill_val_print_array_elements): Use above new function. |
| 2196 | |
| 2197 | Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com> |
| 2198 | |
| 2199 | * remote-udi.c (udi_load): Tell symbol_file_add that the |
| 2200 | program being loaded is the main program. |
| 2201 | |
| 2202 | For older changes see ChangeLog-94 |
| 2203 | \f |
| 2204 | Local Variables: |
| 2205 | mode: indented-text |
| 2206 | left-margin: 8 |
| 2207 | fill-column: 74 |
| 2208 | version-control: never |
| 2209 | End: |