| 1 | Mon Aug 1 01:36:13 1994 Jeff Law (law@snake.cs.utah.edu) |
| 2 | |
| 3 | * hppa-tdep.c (compare_unwind_entries): Add "const" to both |
| 4 | argument types to shut up GCC. |
| 5 | |
| 6 | * hppa-tdep.c (saved_pc_after_call): If the saved PC is in a |
| 7 | linker stub, then return the address the stub will return to. |
| 8 | (frame_saved_pc): Correctly restart the search for the saved |
| 9 | pc when a linker stub is encountered. |
| 10 | |
| 11 | * hppa-tdep.c (inst_saves_gr): Handle 16 and 8 bit instruction |
| 12 | register stores emitted by the version 9 HP compilers. |
| 13 | (inst_saves_fr): Relax test for a specific base register (%r1); |
| 14 | this avoids losing with the version 9 HP compilers. |
| 15 | (skip_prologue): Try to skip argument stores emitted by the HP |
| 16 | compilers. It's not perfect, but it's better than before. |
| 17 | |
| 18 | Fri Jul 29 23:20:30 1994 Stu Grossman (grossman@cygnus.com) |
| 19 | |
| 20 | * findvar.c (write_pc write_pc_pid): Remove casts to long when |
| 21 | calling write_register_pid. |
| 22 | * (write_register_pid): Add prototype. |
| 23 | |
| 24 | Fri Jul 29 21:56:23 1994 Steve Chamberlain (sac@jonny.cygnus.com) |
| 25 | |
| 26 | * remote.c (read_frame): Split readchar/checksum calculation into |
| 27 | two parts since evaluation order is undefined. |
| 28 | |
| 29 | Fri Jul 29 13:46:08 1994 Fred Fish (fnf@cygnus.com) |
| 30 | |
| 31 | From Kevin A. Buettner (kev@cujo.geg.mot.com). |
| 32 | * Makefile.in (coredep.o): Add inferior.h as dependency. |
| 33 | * inflow.c: Add F_SETOWN to list of defines to check |
| 34 | around code that uses F_SETOWN. |
| 35 | |
| 36 | Fri Jul 29 09:59:05 1994 J.T. Conklin (jtc@phishhead.cygnus.com) |
| 37 | |
| 38 | * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): If using newlib, |
| 39 | set the -L and -B directory prefixes so we can link with it. |
| 40 | |
| 41 | Thu Jul 28 14:37:36 1994 Stu Grossman (grossman@cygnus.com) |
| 42 | |
| 43 | * Makefile.in (INSTALLED_LIBS, CLIBS, DEPFILES): Add support for |
| 44 | --enable-xxx configure option by adding ENABLE_{CLIBS DEPFILES} |
| 45 | where appropriate. |
| 46 | |
| 47 | * General hackery to support alternate user-interface. |
| 48 | * breakpoint.c (mention, delete_breakpoint, enable_breakpoint, |
| 49 | disable_breakpoint): Call hooks for alternate user-interface. |
| 50 | * defs.h: Add declarations for alternate user-interface hooks. |
| 51 | * main.c (main): Add --nw (and --nowindows) options to disable |
| 52 | the GUI. |
| 53 | * (near call to command_loop): Call command_loop_hook if set. |
| 54 | * (fputs_unfiltered): Call fputs_unfiltered_hook if set. |
| 55 | * stack.c: Call print_frame_info_listing_hook if set. |
| 56 | * top.c (gdb_init): Initialize targets.c and utils.c prior to |
| 57 | other files to make sure that calls to error and warning will |
| 58 | work. Call init_ui_hook after everything else. |
| 59 | * utils.c (query): Call query_hook if set. |
| 60 | * (gdb_flush): Call flush_hook if set. |
| 61 | * Change _initialize_utils to initialize_utils cuz we don't use |
| 62 | automatic initialization of utils.c anymore. |
| 63 | |
| 64 | * Support for TK GUI. |
| 65 | * Makefile.in: Add rule for gdbtk.o. |
| 66 | * configure.in: Add support for --enable-gdbtk. |
| 67 | * gdbtk.c: New file. Contains support routines for TK interface. |
| 68 | * gdbtk.tcl: New file. Implements GUI policy. |
| 69 | |
| 70 | * remote.c: Get rid of #ifdef DONT_USE_REMOTE. It's no longer |
| 71 | necessary. |
| 72 | |
| 73 | Thu Jul 28 14:52:01 1994 J.T. Conklin (jtc@phishhead.cygnus.com) |
| 74 | |
| 75 | * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is |
| 76 | there and we are using the gcc from the tree. |
| 77 | (LD_FOR_TARGET): Look for ld in ../ld/ld.new. |
| 78 | |
| 79 | Thu Jul 28 10:43:36 1994 Fred Fish (fnf@cygnus.com) |
| 80 | |
| 81 | * Makefile.in (annotate.o): Add dependencies. |
| 82 | |
| 83 | Wed Jul 27 14:34:42 1994 J.T. Conklin (jtc@phishhead.cygnus.com) |
| 84 | |
| 85 | * sparclite/aload.c: Added new -q (quiet) option. |
| 86 | return 0 exit status if file was successfully downloaded. |
| 87 | |
| 88 | * nlm/gdbserve.c: merge in command line argument parsing changes |
| 89 | and bug fixes made to i386-nlmstub.c. |
| 90 | |
| 91 | * i386-nlmstub.c: The returnLength field must be initialized |
| 92 | before portConfig is passed to AIOGetPortConfiguration. |
| 93 | Compare command line arguments with strnicmp(); args are |
| 94 | case insensitive on netware. |
| 95 | |
| 96 | Wed Jul 27 09:24:19 1994 Fred Fish (fnf@cygnus.com) |
| 97 | |
| 98 | * Makefile.in (DISTSTUFF): Add definition. |
| 99 | (diststuff): Add for new distribution support. |
| 100 | (gdb.tar.Z, make-proto-gdb.dir, setup-to-dist, |
| 101 | gdb-$(VERSION).tar.Z, make-proto-gdb-1, make-proto-testsuite.dir): |
| 102 | Remove old distribution building rules, now uses standard |
| 103 | distribution support in parent directory Makefile.in. |
| 104 | |
| 105 | Tue Jul 26 14:15:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 106 | |
| 107 | * target.c (push_target): Cast result from xmalloc. |
| 108 | |
| 109 | Tue Jul 26 18:20:46 1994 Paul Flinders (ptf@smee) |
| 110 | |
| 111 | * elfread.c (elf_symtab_read): Discard compiler labels generated |
| 112 | by the Solaris 2.1/Intel SunPro compiler. |
| 113 | |
| 114 | Mon Jul 25 18:19:24 1994 Stu Grossman (grossman@cygnus.com) |
| 115 | |
| 116 | * target.c (nomemory): Fix prototype and routine to take correct |
| 117 | args. |
| 118 | |
| 119 | Mon Jul 25 15:38:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 120 | |
| 121 | * Makefile.in (clean): Remove libgdb-files. |
| 122 | |
| 123 | Mon Jul 25 11:50:57 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 124 | |
| 125 | * coredep.c: Include inferior.h. |
| 126 | |
| 127 | Mon Jul 25 11:36:02 1994 J.T. Conklin (jtc@phishhead.cygnus.com) |
| 128 | |
| 129 | * i386-nlmstub.c: Add support for NODE, PORT and BAUD command |
| 130 | line arguments. |
| 131 | |
| 132 | Sat Jul 23 14:36:09 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 133 | |
| 134 | * symfile.c (deduce_language_from_filename): Recognize .S as asm, |
| 135 | .cp as C++, alphabetize better. |
| 136 | |
| 137 | * breakpoint.c (ignore, condition): Move usage note into body of |
| 138 | help text, so first line can be one-line summary. |
| 139 | |
| 140 | Sat Jul 23 00:58:15 1994 Stu Grossman (grossman@cygnus.com) |
| 141 | |
| 142 | * target.c (unpush_target): Fix handling of removal of top target. |
| 143 | |
| 144 | Fri Jul 22 17:30:39 1994 Stu Grossman (grossman@cygnus.com) |
| 145 | |
| 146 | * Makefile.in: Add stuff to build nlmstub. |
| 147 | * Add rule for annotate.o to keep Sun make happy. |
| 148 | * configure.in: Add config for powerpc/Netware. |
| 149 | |
| 150 | * partial-stab.h (near N_SO): Don't call START_PSYMTAB with null |
| 151 | filename. This speeds up handling of trailing N_SO stabs (they |
| 152 | mark the end of a .o file). |
| 153 | |
| 154 | * target.c, target.h: Change the way pushing and popping of |
| 155 | targets work to support target overlays and inheritance. |
| 156 | * corelow.c, hppa-tdep.c, inflow.c, remote-nindy.c, utils.c: |
| 157 | Fixup references to current_target, due to previous changes. |
| 158 | |
| 159 | * config/i386/tm-i386nw.h: Enable longjmp support. More work is |
| 160 | needed to get the address of longjmp out of the target. |
| 161 | |
| 162 | Tue Jul 19 13:25:06 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 163 | |
| 164 | * main.c: Include <ctype.h>. |
| 165 | |
| 166 | Mon Jul 18 15:32:17 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 167 | |
| 168 | * remote-mips.c (mips_readchar): Fix a bug in checking <IDT> |
| 169 | prompt. |
| 170 | |
| 171 | Mon Jul 18 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 172 | |
| 173 | * solib.c (look_for_base): Don't deref exec_bfd if NULL. |
| 174 | |
| 175 | Sun Jul 17 15:38:36 1994 Fred Fish (fnf@cygnus.com) |
| 176 | |
| 177 | * Makefile.in (VERSION): Bump to 4.12.4. |
| 178 | |
| 179 | Sun Jul 17 12:20:35 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 180 | |
| 181 | Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com). |
| 182 | * configure.in (m88*-harris-cxux*): New configuration. |
| 183 | * cxux-nat.c, config/m88k/cxux.mh, config/m88k/cxux.mt, |
| 184 | config/m88k/xm-cxux.h, config/m88k/tm-cxux.h, config/m88k/nm-cxux.h: |
| 185 | New files. |
| 186 | * config/m88k/tm-m88k.h: Add comment about Harris OS. |
| 187 | (TARGET_WRITE_PC): Pass pid through to register writers. |
| 188 | |
| 189 | * configure.in (m68*): Put vendor-only-specified host configs |
| 190 | after vendor-and-os-specified configs. |
| 191 | (m68*-atari-sysv4*, m68*-cbm-sysv4*): Replace with m68*-*-sysv4. |
| 192 | |
| 193 | * config/m88k/delta88.mh (MUNCH_DEFINE): Remove. |
| 194 | * config/m88k/delta88.mt, config/m88k/delta88v4.mh: Format |
| 195 | consistently. |
| 196 | |
| 197 | Sat Jul 16 23:39:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 198 | |
| 199 | * elfread.c (elf_symtab_read): Handle error return from |
| 200 | bfd_get_dynamic_symtab_upper_bound gracefully. |
| 201 | |
| 202 | Sat Jul 16 14:43:17 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 203 | |
| 204 | * inferior.h (ARCH_NUM_REGS): New macro, actual number of |
| 205 | registers in use by the inferior. |
| 206 | * coredep.c (fetch_core_registers, register_addr): Use it. |
| 207 | * findvar.c (registers_changed, registers_fetched, |
| 208 | read_register_bytes): Ditto. |
| 209 | * infcmd.c (do_registers_info, registers_info): Ditto. |
| 210 | * infptrace.c (fetch_inferior_registers, |
| 211 | store_inferior_registers): Ditto. |
| 212 | * stack.c (frame_info): Ditto. |
| 213 | |
| 214 | * coredep.c (CORE_REGISTER_ADDR): New macro. |
| 215 | (fetch_core_registers): Use it. |
| 216 | |
| 217 | * breakpoint.c (ignore, condition): Add usage notes to help strings. |
| 218 | * symfile.c (add-symbol-file): Add usage note to help string. |
| 219 | (add_shared_symbol_files_command): New command. |
| 220 | |
| 221 | gcc -Wall lint. |
| 222 | * inferior.h (read_pc_pid): Declare. |
| 223 | * breakpoint.c (watchpoint_check): Cache breakpoint in local |
| 224 | variable b, remove unused variable other_type_used. |
| 225 | * main.c (inferior.h, call-cmds.h): Include. |
| 226 | (gdb_init): Declare. |
| 227 | * remote.c (remote_wait): Return 0 by default. |
| 228 | |
| 229 | Fri Jul 15 16:43:33 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 230 | |
| 231 | Stop printing at null char option, from Oliver Meyer |
| 232 | (omeyer@i3.informatik.rwth-aachen.de). |
| 233 | * valprint.h, valprint.c (stop_print_at_null): New global. |
| 234 | * valprint.c (_initialize_valprint): New print set subcommand |
| 235 | "null-stop". |
| 236 | * c-valprint.c (c_val_print): If stop_print_at_null is on, and |
| 237 | printing a char array, adjust the number of chars to print. |
| 238 | |
| 239 | Fri Jul 15 14:33:40 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 240 | |
| 241 | From Kevin A. Buettner (kev@cujo.geg.mot.com). |
| 242 | * m88k-tdep.c (examine_prologue): Modified to handle prologues for |
| 243 | pic code in addition to prologues where an instruction from the |
| 244 | prologue gets moved into the delay slot of a branch instruction |
| 245 | immediately following the prologue. A table of potential prologue |
| 246 | instructions (prologue_insn_tbl) is now used for picking apart a |
| 247 | function prologue. |
| 248 | (frame_find_saved_regs): Changed the way in which limit gets set |
| 249 | so that the delay slot of branch instructions immediately |
| 250 | following the prologue gets examined. |
| 251 | (pushed_size, store_parm_word, store_parm, push_parameters, |
| 252 | collect_returned_value): Deleted. |
| 253 | |
| 254 | Fri Jul 15 01:06:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 255 | |
| 256 | * infrun.c (wait_for_inferior): Handle stepping into leaf |
| 257 | functions whose prologue consists of gp loading code only. |
| 258 | |
| 259 | Thu Jul 14 14:22:12 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 260 | |
| 261 | * dbxread.c: Don't include libbfd.h. |
| 262 | * dwarfread.c, elfread.c somread.c: Don't include libbfd.h, |
| 263 | <time.h>, or <sys/types.h>. |
| 264 | * elfread.c (elf_symfile_read): Use only standard BFD functions to |
| 265 | collect information about the stab and stab string sections. |
| 266 | |
| 267 | Thu Jul 14 13:17:39 1994 Kung Hsu (kung@x1.cygnus.com) |
| 268 | |
| 269 | * stabsread.c (read_huge_number): handle large unsigned number |
| 270 | for stabs generated by os9k C compiler. |
| 271 | |
| 272 | Wed Jul 13 18:58:15 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 273 | |
| 274 | Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com). |
| 275 | * breakpoint.h (hit_count): New breakpoint field. |
| 276 | * breakpoint.c (show_breakpoint_hit_counts): New variable. |
| 277 | (clear_breakpoint_hit_counts): New function. |
| 278 | (bpstat_stop_status): Increment the hit count. |
| 279 | (breakpoint_1): Display the hit count. |
| 280 | * infcmd.c (run_command): Reset breakpoint hit counts. |
| 281 | * target.c (generic_mourn_inferior): Don't clear ignore counts if |
| 282 | displaying hit counts. |
| 283 | |
| 284 | Tue Jul 12 12:23:15 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 285 | |
| 286 | * elfread.c (elf_symfile_read): Unconditionally add dynamic |
| 287 | symbols for all symbol files. Makes skipping over the |
| 288 | trampoline code work when stepping from a function in a shared |
| 289 | library into a function in a different shared library for Irix 5. |
| 290 | Other ELF targets do not have enough information in their |
| 291 | dynamic symbol tables to make this work. |
| 292 | (elf_symtab_read): Relocate mst_solib_trampoline address. |
| 293 | |
| 294 | Mon Jul 11 16:38:49 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 295 | |
| 296 | Atari support, from Uwe Seimet (seimet@chemie.uni-kl.de). |
| 297 | * configure.in (m68*-atari-sysv4*): New configuration. |
| 298 | (m68*-cbm-sysv4*): Use m68kv4 instead of amix. |
| 299 | * m68k-tdep.c (R_PS): Define as R_SR if necessary. |
| 300 | * config/m68k/m68kv4.mh, config/m68k/m68kv4.mt, |
| 301 | config/m68k/tm-m68kv4.h, config/m68k/xm-m68kv4.h: New files. |
| 302 | * config/m68k/amix.mh, config/m68k/amix.mt, |
| 303 | config/m68k/tm-amix.h, config/m68k/xm-amix.h: Removed, superseded |
| 304 | by m68kv4 files. |
| 305 | |
| 306 | Sat Jul 9 16:28:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 307 | |
| 308 | * symtab.c (find_function_start_sal): New function to find |
| 309 | the start of a function from a function symbol. |
| 310 | (decode_line_1, decode_line_2): Use it instead of open coded |
| 311 | partial copies of the code. |
| 312 | (list_symbols): Quote symbol name before passing it to |
| 313 | break_command to enable proper handling of mangled symbols. |
| 314 | |
| 315 | Wed Jul 6 20:22:07 1994 Per Bothner (bothner@kalessin.cygnus.com) |
| 316 | |
| 317 | * ch-exp.y (match_simple_name_string): Don't lower-case here. |
| 318 | * ch-exp.y (yylex): First try name lookup using exact name |
| 319 | typed by user; if that fails, try lower-cased name. |
| 320 | |
| 321 | Wed Jul 6 00:48:57 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 322 | |
| 323 | * dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c: |
| 324 | Move "no debugging symbols found" test to symfile.c. |
| 325 | * symfile.c (syms_from_objfile, reread_symbols): Add |
| 326 | "no debugging symbols found" test. |
| 327 | * coffread.c (init_stringtab): Handle stripped files with a |
| 328 | stringtab offset of zero gracefully. |
| 329 | * osfsolib.c (solib_create_inferior_hook): Use DYNAMIC flag from |
| 330 | BFD instead of stop_pc heuristic to determine if it is a dynamically |
| 331 | linked object file. |
| 332 | * procfs.c (wait_fd): Handle ENOENT error return from PIOCWSTOP |
| 333 | ioctl, it indicates that the process has exited. |
| 334 | |
| 335 | Mon Jul 4 19:28:56 1994 Jeff Law (law@snake.cs.utah.edu) |
| 336 | |
| 337 | * hppa-tdep.c (read_unwind_info): ELF unwind information is in the |
| 338 | .PARISC.unwind section now. |
| 339 | |
| 340 | Mon Jul 4 17:06:26 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 341 | |
| 342 | * breakpoint.c (mention): Always show breakpoint address if no |
| 343 | source file. |
| 344 | |
| 345 | Sat Jul 2 01:51:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 346 | |
| 347 | * solib.c (bfd_lookup_symbol, look_for_base): Reinstate to reenable |
| 348 | handling of shared libraries for non-ELF executables, but only if |
| 349 | HANDLE_SVR4_EXEC_EMULATORS is defined. |
| 350 | (locate_base): Try to find debug_base in the dynamic linker |
| 351 | for non-ELF executables if HANDLE_SVR4_EXEC_EMULATORS is defined. |
| 352 | * config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS): |
| 353 | Define to enable handling of shared libraries for a.out executables, |
| 354 | run under Solaris BCP. |
| 355 | |
| 356 | Thu Jun 30 13:59:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 357 | |
| 358 | * infrun.c (wait_for_inferior): Print "Program exited normally" |
| 359 | regardless of batch_mode. |
| 360 | * defs.h, top.c (batch_mode): Removed. |
| 361 | |
| 362 | Wed Jun 29 18:53:36 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 363 | |
| 364 | * Makefile.in (dcache_h): Remove redundant definition. |
| 365 | (init.c): Add a comment. |
| 366 | (top.c): Remove explicit compile action. |
| 367 | * breakpoint.c (mention): Share code indicating location of |
| 368 | break/watchpoints, don't print address if addressprint is off. |
| 369 | * breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h |
| 370 | (demangle): Remove redundant declarations. |
| 371 | * eval.c: Remove redundant function declarations. |
| 372 | * objfiles.h: Cosmetic and grammatical improvements. |
| 373 | * TODO: Various updates. |
| 374 | |
| 375 | * remote-mips.c: Replace all \r chars with \015. |
| 376 | (mips_receive_header): Display control characters readably. |
| 377 | (mips_xfer_memory): Add a simple progress display. |
| 378 | |
| 379 | Wed Jun 29 13:11:45 1994 Steve Chamberlain (sac@cirdan.cygnus.com) |
| 380 | |
| 381 | * remote-e7000.c (e7000_open): Don't try a tcp open if we're |
| 382 | using go32. |
| 383 | * remote-hms.c (flush): New function. |
| 384 | (expect): Get edge case right. |
| 385 | (hms_read_inferior_memory): Be more tolerant of line noise. |
| 386 | |
| 387 | Tue Jun 28 14:17:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 388 | |
| 389 | * configure.in: Use i386m3.mh and i386m3.mt as names of host and |
| 390 | target files, not non-existent mach3.mh and mach3.mt. |
| 391 | |
| 392 | Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 393 | |
| 394 | * dbxread.c (dbx_symfile_read): Unconditionally add dynamic |
| 395 | symbols for all symbol files. Makes skipping over the |
| 396 | trampoline code work when stepping from a function in a shared |
| 397 | library into a function in a different shared library. |
| 398 | (read_dbx_dynamic_symtab): Relocate mst_solib_trampoline address. |
| 399 | |
| 400 | Tue Jun 28 15:28:01 1994 Stu Grossman (grossman@cygnus.com) |
| 401 | |
| 402 | * dbxread.c, partial-stab.h (near N_SO): SO stabs with blank |
| 403 | names mean end of .o file. |
| 404 | * infrun.c (wait_for_inferior): Clean up multi-thread logic near |
| 405 | top of routine. Handle new thread notification cleanly. |
| 406 | * lynx-nat.c (child_wait): General cleanups, handle new LynxOS |
| 407 | thread notification scheme. |
| 408 | * (child_resume): General cleanups, handle resumption of all |
| 409 | threads properly. |
| 410 | |
| 411 | Mon Jun 27 09:57:23 1994 Steve Chamberlain (sac@cirdan.cygnus.com) |
| 412 | |
| 413 | * ser-go32.c: Rewrite to run under windows. |
| 414 | * ser-e7kpc.c: New file to support the E7000 with the PC ISA |
| 415 | bus interface. |
| 416 | * serial.c (serial_open): Notice device "pc". |
| 417 | * remote-e7000.c: Fix copyright date. |
| 418 | (expect): Compare \n and \r the same. |
| 419 | (e7000_open): Allow pc as a serial port |
| 420 | * sh/sh.mt: Add ser-e7kpc. |
| 421 | * h8300/h8300hms.mt: Add ser-e7kpc. |
| 422 | * main.c (proc_wait): Don't wait if using go32. |
| 423 | |
| 424 | Mon Jun 27 00:35:51 1994 Jeff Law (law@snake.cs.utah.edu) |
| 425 | |
| 426 | * somread.c: Simplify by using stabsect_build_psymtabs. |
| 427 | * dbxread.c (stabsect_build_psymtabs): New argument "text_name" |
| 428 | corresponding to the name of the text section. All references |
| 429 | changed. |
| 430 | (somstab_build_psymtabs): Delete function, no longer needed. |
| 431 | |
| 432 | Sun Jun 26 23:54:08 1994 Jeff Law (law@snake.cs.utah.edu) |
| 433 | |
| 434 | * somread.c: Renamed from paread.c. Changed function names and |
| 435 | comments to reflect that this file deals with SOM (an object file |
| 436 | format), rather than the PA (a cpu). |
| 437 | (Makefile.in): Chaned appropriately. |
| 438 | (config/pa/hppabsd.mh, config/pa/hppahpux.mh): Likewise. |
| 439 | * dbxread.c (somstab_build_psymtabs): Renamed from |
| 440 | pastab_build_psymtabs. |
| 441 | |
| 442 | Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 443 | |
| 444 | * core-sol2.c: New file to handle ELF and BCP core file flavours. |
| 445 | * config/sparc/sun4sol2.mh (NATDEPFILES): Use it instead of |
| 446 | core-svr4. |
| 447 | * Makefile.in: Updated for core-sol2.c. |
| 448 | * README: Add notes about SPARCworks cc under Solaris 2.x, |
| 449 | from Casper H.S. Dik (casper@fwi.uva.nl). |
| 450 | * config/mips/xm-makeva.h: Removed, no longer necessary. |
| 451 | * Makefile.in, config/mips/xm-irix3.h, config/mips/xm-irix5.h, |
| 452 | config/mips/xm-mips.h, config/mips/xm-news-mips.h, |
| 453 | config/mips/xm-riscos.h: Remove references to xm-makeva.h |
| 454 | |
| 455 | Wed Jun 22 17:48:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 456 | |
| 457 | * gdba.el: Put program input and output in a separate buffer. |
| 458 | |
| 459 | Wed Jun 22 16:54:15 1994 Fred Fish (fnf@cygnus.com) |
| 460 | |
| 461 | * energize-patches, main.c (main), top.c (gdb_init, pwd_command), |
| 462 | top.h: Change all occurances of dirbuf to gdb_dirbuf. Collides |
| 463 | with global variable of same name in libnsl.so on UnixWare. |
| 464 | |
| 465 | Wed Jun 22 14:40:52 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 466 | |
| 467 | * symtab.c (decode_line_1): fix a bug in dealing with '<>' |
| 468 | embedded in template name. |
| 469 | |
| 470 | Tue Jun 21 14:06:46 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 471 | |
| 472 | * config/i386/nm-linux.h: change calling convention of |
| 473 | TARGET_CAN_USE_HARDWARE_WATCHPOINT() and |
| 474 | target_insert_watchpoint() and |
| 475 | target_remove_watchpoint(). |
| 476 | |
| 477 | * config/mips/tm-mips64.h: define FORCE_LONG_LONG to force LONGEST |
| 478 | to be long long in gdb. |
| 479 | * config/mips/tm-bigmips.h: ditto. |
| 480 | |
| 481 | Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 482 | |
| 483 | * c-lang.c (asm_language_defn): New definitions for language_asm, |
| 484 | mostly copied from c_language_defn, to avoid warnings when |
| 485 | switching between c and asm stack frames. |
| 486 | |
| 487 | Mon Jun 20 13:51:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) |
| 488 | |
| 489 | * mdebugread.c (parse_symbol): Don't call ecoff_swap_tir_in or |
| 490 | ecoff_swap_rndx_in directly; use the debug_swap pointer instead. |
| 491 | (upgrade_type, handle_psymbol_enumerators): Likewise. |
| 492 | (has_opaque_xref, cross_ref): Likewise. |
| 493 | (elfmdebug_build_psymtabs): Call swap->read_debug_info to read |
| 494 | debugging information, rather than doing it here. |
| 495 | * mipsread.c (mipscoff_symfile_read): Call read_debug_info entry |
| 496 | point in ecoff_debug_swap backend structure, rather than calling |
| 497 | ecoff_slurp_symbolic_info directly. |
| 498 | |
| 499 | Fri Jun 17 20:58:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 500 | |
| 501 | * breakpoint.c: Include annotate.h. Call annotate_field rather |
| 502 | than printing annotation directly. |
| 503 | |
| 504 | * main.c: Include string.h. |
| 505 | |
| 506 | Thu Jun 16 14:41:37 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 507 | |
| 508 | * fork-child.c (startup_inferior) [STARTUP_INFERIOR]: If defined, |
| 509 | call it instead of doing normal loop. |
| 510 | * infcmd.c (attach_command): Don't call wait_for_inferior if |
| 511 | running Mach 3. |
| 512 | * infrun.c (proceed) [PREPARE_TO_PROCEED]: If defined, call |
| 513 | hook that can decide whether to step over the next breakpoint. |
| 514 | * utils.c (wrap_here): Abort if wrap_buffer not allocated. |
| 515 | (request_quit) [REQUEST_QUIT]: If defined, call it instead of |
| 516 | doing normal quit. |
| 517 | |
| 518 | * configure.in: Improve sorting/formatting of hosts and targets. |
| 519 | (i[34]86-*-mach3*, i[34]86-*-osf1mk*, mips-*-mach3*, |
| 520 | m88*-*-mach3*, ns32k-*-mach3*): Recognize. |
| 521 | * Makefile.in (stop-gdb): New target. |
| 522 | * stop-gdb.c: New file, utility to get attention of waiting GDBs |
| 523 | in Mach 3. |
| 524 | |
| 525 | Wed Jun 15 00:41:03 1994 Tom Lord (lord@rtl.cygnus.com) |
| 526 | |
| 527 | * top.c (gdb_init): Init current_directory in gdb_init. Probably |
| 528 | the identical initialization can be deleted from main.c, but i |
| 529 | haven't done so just in case. |
| 530 | |
| 531 | Tue Jun 14 17:24:41 1994 Tom Lord (lord@x1.cygnus.com) |
| 532 | |
| 533 | * gdba.el: Added menu windows and slightly improved window |
| 534 | handling to gdba.el. Fixed numerous minor bugs that were causing |
| 535 | emacs and gdb to fall out of sync. |
| 536 | |
| 537 | Tue Jun 14 16:18:44 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 538 | |
| 539 | * breakpoint.c: annotate changes lost at merge, put back in. |
| 540 | |
| 541 | Mon Jun 13 17:28:50 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 542 | |
| 543 | * config/i386/i386sco.mh, i386sco4.mh (XDEPFILES): Remove |
| 544 | i387-tdep.o. |
| 545 | |
| 546 | Sun Jun 12 03:51:52 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 547 | |
| 548 | * config/m68k/dpx2.mh (NATDEPFILES): Remove duplicate inclusion |
| 549 | of inftarg.o. |
| 550 | * config/m68k/tm-dpx2.h (CANNOT_STORE_REGISTER): Define to inhibit |
| 551 | writing of floating registers, the dpx2 kernel disallows it. |
| 552 | * irix5-nat.c (LM_ADDR): The loaded address of the shared library |
| 553 | is contained in o_praw. |
| 554 | * irix5-nat.c (solib_map_sections): Adjust sections by the |
| 555 | difference between the loaded address and the prelinked address. |
| 556 | * irix5-nat.c (solib_address): Use LM_ADDR for the loaded start |
| 557 | address. |
| 558 | * mdebugread.c (parse_symbol): Do not relocate stEnd/scText |
| 559 | symbols, their value is absolute. |
| 560 | * mdebugread.c (parse_partial_symbols): Handle Irix 5.2 shared |
| 561 | libraries fh->adr fields of zero. Relocate minimal symbol values |
| 562 | upon readin. Relocate non-stabs symbols upon readin. |
| 563 | * mdebugread.c (psymtab_to_symtab_1): Use pst->textlow for the |
| 564 | start address of the outermost block. |
| 565 | * mdebugread.c (parse_lines, parse_procedure): Pass in pst |
| 566 | instead of section_offsets and use relocated pst->textlow for |
| 567 | line number and procedure address relocations. |
| 568 | |
| 569 | From gmo@MicroUnity.com (Guillermo A. Loyola): |
| 570 | * mdebugread.c (parse_symbol, parse_partial_symbols, cross_ref): |
| 571 | Handle SGI Irix5 stIndirect symbol type. |
| 572 | |
| 573 | Fri Jun 10 14:52:56 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 574 | |
| 575 | * breakpoint.c: fix a syntax error native cc does not like. |
| 576 | |
| 577 | * Makefile.in: change sparclite-tdep.c to sparcl-tdep.c. |
| 578 | * sparclite/Makefile.in: ditto. |
| 579 | * sparcl-tdpe.c: change file name because first 8 chars has to be |
| 580 | unique. |
| 581 | * sparcl-stub.c: ditto. |
| 582 | |
| 583 | * .Sanitize: add sparclite-stub.c sparclite-tdep.c to keep. |
| 584 | |
| 585 | * sparclite/Makefile.in: fix INCLUDE_CFLAGS to have {srcdir}/../config. |
| 586 | |
| 587 | Fri Jun 10 10:38:15 1994 Jeff Law (law@snake.cs.utah.edu) |
| 588 | |
| 589 | * hppa-tdep.c (target_read_pc, target_write_pc): Accept (and |
| 590 | ignore) a PID argument. |
| 591 | (hppa_pop_frame): Pass a PID to target_write_pc. |
| 592 | * config/pa/tm-hppa.h (TARGET_READ_PC, TARGET_WRITE_PC): Accept |
| 593 | and pass through a PID argument. |
| 594 | (target_read_pc, target_write_pc): Update prototypes. |
| 595 | |
| 596 | Thu Jun 9 18:10:44 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 597 | |
| 598 | * Makefile.in: add new file sparclite-tdep.c. |
| 599 | * sparclite/Makefile.in: add new file sparclite-stub.c. |
| 600 | * sparclite/hw_breakpoint.note: note for SPARClite hardware breapoint |
| 601 | support. |
| 602 | * config/sparc/sparclite.mt: add sparclite-tdep.o. |
| 603 | * config/sparc/tm-sparclite.h: add hardware breakpoints support |
| 604 | defiines and code. |
| 605 | * sparclite-tdep.c: new file, contains hardware breakpoint support |
| 606 | code. |
| 607 | * sparclite-stub.c: new file, stub code that add support hardware |
| 608 | breakpoint support. |
| 609 | * breakpoint.c: add hardware breakpoint support. |
| 610 | * breakpoint.h: add new breakpoint type to support hardware |
| 611 | breakpoint. |
| 612 | * config/mips/nm-irix4.h: change interface for target dependent |
| 613 | code supporting watch point. |
| 614 | * config/pa/nm-hppab.h: change interface for target dependent |
| 615 | code supporting watch point. |
| 616 | |
| 617 | Thu Jun 9 14:59:58 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 618 | |
| 619 | * remote-os9k.c (rombuf_command): fix a bug accepting rombug |
| 620 | output. |
| 621 | * stabsread.c (read_struct_fields): os9k nested structure does not |
| 622 | have terminating ';', instead it just get to ',' and bit position |
| 623 | and length. |
| 624 | |
| 625 | Wed Jun 8 23:20:45 1994 Stu Grossman (grossman@cygnus.com) |
| 626 | |
| 627 | * nlmread.c (nlm_symtab_read): Clean up a bit. |
| 628 | * (nlm_symfile_read): Record bounds of main() so that backtrace |
| 629 | command will know where to stop. |
| 630 | * objfiles.c (objfile_relocate): Relocate entry point/func info |
| 631 | for backtrace as well. |
| 632 | * objfiles.h: Define values for invalid PCs for entry point info. |
| 633 | * symfile.c (init_entry_point_info): Initialize invalid values |
| 634 | with aforementioned macros. |
| 635 | * config/alpha/tm-alphanw.h: Turn on FRAME_CHAIN_VALID_ALTERNATE |
| 636 | to cause backtrace to stop when it gets back to main(). |
| 637 | * config/i386/tm-i386nw.h: Ditto. |
| 638 | |
| 639 | Sat Jun 4 18:17:03 1994 Per Bothner (bothner@kalessin.cygnus.com) |
| 640 | |
| 641 | Fix value_print, which used to be ostensibly language-independent, |
| 642 | but would print pointers and arrays in C syntax. Instead, call |
| 643 | a language-specific function. |
| 644 | * language.h (struct language_defn): New functional field |
| 645 | la_value_print. |
| 646 | (LA_VALUE_PRINT): New macro. |
| 647 | * language.c (unk_lang_value_print): New stub/dummy function. |
| 648 | (unknown_language_defn, auto_language_defn, local_language_defn): |
| 649 | Use it. |
| 650 | * c-valprint.c (c_value_print): New function, with code moved from: |
| 651 | * valprint.c (value_print): ... here. Now just invoke |
| 652 | LA_VALUE_PRINT to do language-specific stuff. |
| 653 | * valprint.c (value_print_array_elements): Make non-static. |
| 654 | * c-lang.c (c_language_defn, cplus_language_defn): Add |
| 655 | c_value_print in the la_value_print field. |
| 656 | * m2-lang.c (m2_language_defn): Likewise. |
| 657 | * ch-lang.c (chill_language_defn): But here use chill_value_print. |
| 658 | * ch-valprint.c (chill_val_print): Print null pointer as NULL. |
| 659 | * ch-valprint.c (chill_value_print): New function, based on |
| 660 | c_value_print, but use Chill "look and feel." |
| 661 | * c-lang.h (c_value_print): New prototype. |
| 662 | * ch-lang.h (chill_value_print): New prototype. |
| 663 | * value.h (value_print_array_elements): New prototype. |
| 664 | |
| 665 | * ch-valprint.c (chill_val_print, case TYPE_CODE_BITSTRING |
| 666 | and case TYPE_CODE_SET): Check that the element type isn't a stub. |
| 667 | |
| 668 | Fri Jun 3 09:15:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 669 | |
| 670 | * main.c: Move entire file except for #ifndef MAIN_OVERRIDE code |
| 671 | to new file top.c. Make things extern instead of static and |
| 672 | similar rearrangements to deal with this. |
| 673 | * top.h: New file. |
| 674 | * utils.c: Move fputs_unfiltered to main.c. Remove |
| 675 | FPUTS_UNFILTERED_OVERRIDE ifndef. |
| 676 | * Makefile.in: Change so that gdb uses main.c, utils.c, and top.c, |
| 677 | and libgdb uses utils.c and top.c. |
| 678 | |
| 679 | Thu Jun 2 23:19:10 1994 Jeff Law (law@snake.cs.utah.edu) |
| 680 | |
| 681 | * hppa-tdep.c (skip_trampoline_code): Fix typo. |
| 682 | |
| 683 | Thu Jun 2 18:09:59 1994 Per Bothner (bothner@kalessin.cygnus.com) |
| 684 | |
| 685 | * ch-valprint.c (chill_val_print_array_elements): New function. |
| 686 | A Chill version of val_print_array_elements, it prints the |
| 687 | array index labels, in additions ot the array element values. |
| 688 | (chill_val_print): Use the new function. |
| 689 | |
| 690 | Thu Jun 2 08:50:00 1994 Stu Grossman (grossman@cygnus.com) |
| 691 | |
| 692 | * configure.in: Add nlm subdir to configdirs for alpha-*-netware |
| 693 | target. |
| 694 | * defs.h (enum language): Add language_asm. |
| 695 | * findvar.c (read_register_bytes read_register_gen |
| 696 | write_register_bytes read_register read_register_pid |
| 697 | write_register write_register_pid supply_register): Move multi- |
| 698 | thread handling down into these routines. Create XXX_pid routines |
| 699 | that allow register references to specify the pid. |
| 700 | * findvar.c infcmd.c (read_pc read_pc_pid write_pc write_pc_pid |
| 701 | read_sp write_sp read_fp write_fp): Move these routines from |
| 702 | infcmd to findvar to centralize the whole mess. |
| 703 | * i386-nlmstub.c: Portability fixes. |
| 704 | * infptrace.c (child_resume): Conditionalize to allow other natives |
| 705 | to override it. Remove PIDGET gubbish, it's no longer necessary. |
| 706 | * infrun.c (wait_for_inferior): Put registers_changed() before |
| 707 | target_wait() to speed up remote debugging. |
| 708 | * Replace code that reads registers from other threads with much |
| 709 | nicer looking new function calls (see changes to findvar.c). |
| 710 | * Don't skip prologues if debugging assembly source. |
| 711 | * lynx-nat.c (child_resume): Lynx now needs it's own version of |
| 712 | child_resume to handle multi-thread debugging properly. |
| 713 | * remote.c: Add O response to get console output from target. |
| 714 | * (readchar): Add timeout parameter. Handle SERIAL_EOF and |
| 715 | SERIAL_ERROR here to simplify callers. |
| 716 | * Change static var timeout to remote_timeout. |
| 717 | * (fromhex): Remove unnecessary return -1 at end of routine. |
| 718 | * (remote_wait): Turn this into a big switch statement. Add |
| 719 | support for O response. |
| 720 | * (putpkt): Remove unnecessary handling of SERIAL_EOF/ERROR. |
| 721 | * (getpkt): Split getpkt into two parts. read_frame deals with |
| 722 | all formatting issues, run-length encoding, and framing. getpkt |
| 723 | now handles error recovery, and frame detection. |
| 724 | * ser-tcp.c (tcp_readchar): Handle EINTR from read(). |
| 725 | * ser-unix.c (hardwire_raw): Set CLOCAL so that we ignore modem |
| 726 | control. (hardwire_readchar): Handle EINTR from read(). |
| 727 | * symfile.c (deduce_language_from_filename): Add support for .s |
| 728 | files. |
| 729 | * config/nm-lynx.h: Define CHILD_WAIT so that lynx-nat.c can |
| 730 | override infptrace's child_wait. |
| 731 | * config/rs6000/rs6000lynx.mh: Use xm-rs6000ly.h & nm-rs6000ly.h |
| 732 | instead of XXXlynx.h. |
| 733 | * config/rs6000/rs6000lynx.mt: Use tm-rs6000ly.h instead of |
| 734 | tm-rs6000lynx.h. |
| 735 | * nlm/gdbserve.c: Portability fixes. |
| 736 | |
| 737 | Tue May 31 20:35:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 738 | |
| 739 | * inftarg.c (child_wait): Call proc_wait, not wait. |
| 740 | (child_mourn_inferior): Call proc_remove_foreign. |
| 741 | * main.c (gdb_init): Call init_proc. |
| 742 | * main.c: Provide dummy versions of init_proc, proc_wait, and |
| 743 | proc_remove_foreign for the gdb case (the libgdb case provides its |
| 744 | own versions of these functions). |
| 745 | * Makefile.in (libgdb-files): Add libproc.a. |
| 746 | |
| 747 | Wed Jun 1 11:08:52 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 748 | |
| 749 | Hardware watchpoints for Linux, from Rick Sladkey |
| 750 | (jrs@world.std.com). |
| 751 | * infrun.c (wait_for_inferior) [HAVE_CONTINUABLE_WATCHPOINT]: Add |
| 752 | new hardware breakpoint recovery method. |
| 753 | * i386v-nat.c (i386_insert_watchpoint, |
| 754 | i386_insert_nonaligned_watchpoint, i386_remove_watchpoint, |
| 755 | i386_stopped_by_watchpoint) [TARGET_CAN_USE_HARWARE_WATCHPOINT]: |
| 756 | New functions to support the 386 hardware debugging registers. |
| 757 | * config/i386/nm-linux.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT, |
| 758 | HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, |
| 759 | target_insert_watchpoint, target_remove_watchpoint): Define these |
| 760 | macros to use the hardware debugging functions in i386v-nat.c. |
| 761 | |
| 762 | Wed May 25 17:06:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 763 | |
| 764 | * Makefile.in: Replace libgdb.a with libgdb-files. Make "all" |
| 765 | build it. |
| 766 | |
| 767 | Thu May 19 09:56:20 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 768 | |
| 769 | * target.c, target.h: New variables target_activity_function and |
| 770 | target_activity_fd. |
| 771 | * inflow.c, inferior.h: New functions set_sigio_trap and |
| 772 | clear_sigio_trap. |
| 773 | * inftarg.c (child_wait), procfs.c (wait_fd): Call them. |
| 774 | |
| 775 | Wed May 18 13:01:55 1994 Doug Evans (dje@canuck.cygnus.com) |
| 776 | |
| 777 | * remote-sim.h (sim_verbose): Delete. |
| 778 | Document callbacks needed. |
| 779 | (sim_*): Change result to void where there isn't one. |
| 780 | (sim_open): Clarify argument and error response. |
| 781 | (sim_close): Declare. |
| 782 | (sim_load): Change bfd_handle argument to file name. Clarify result. |
| 783 | (sim_create_inferior): Renamed from sim_set_args. |
| 784 | (sim_set_pc): Delete. |
| 785 | (sim_info): Delete printf_fn argument. |
| 786 | * remote-sim.c (gdbsim_kill): Add comment describing purpose. |
| 787 | (gdbsim_load): Try sim_load first. |
| 788 | (gdbsim_create_inferior): Call sim_create_inferior. |
| 789 | (gdbsim_open): Handle args == NULL. Update call to sim_open. |
| 790 | (gdbsim_close): Call sim_close. |
| 791 | (gdbsim_files_info): Update call to sim_info. |
| 792 | (gdbsim_ops): Realign comments. |
| 793 | |
| 794 | * printcmd.c (decode_format): Allow TARGET_PTR_BIT to be non-constant. |
| 795 | |
| 796 | Tue May 17 16:45:20 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 797 | |
| 798 | * xcoffread.c (read_xcoff_symtab): For C_FILE symbols, only use |
| 799 | the auxent if the symbol's name is ".file". From David Edelsohn |
| 800 | <c1dje@watson.ibm.com>. |
| 801 | |
| 802 | Tue May 17 11:08:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 803 | |
| 804 | * breakpoint.c (breakpoint_1): Fix typo. |
| 805 | |
| 806 | * annotate.c (annotate_field_end): Fix typo. |
| 807 | |
| 808 | * Makefile.in: Move annotate.o from COMMON_OBS to OBS. |
| 809 | |
| 810 | * Makefile.in (TSSTART): Remove; no longer used. |
| 811 | |
| 812 | * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Call |
| 813 | fputs_unfiltered and exit directly, rather than fatal. The latter |
| 814 | calls vfprintf_unfiltered! |
| 815 | |
| 816 | * gdbtypes.h, gdbtypes.c (can_dereference): New function. |
| 817 | * value.h, printcmd.c (print_value_flags): Move from here... |
| 818 | * annotate.c: ...to here, and make it use can_dereference. |
| 819 | |
| 820 | Sat May 14 15:13:52 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 821 | |
| 822 | * inflow.c (job_control, attach_flag, generic_mourn_inferior): |
| 823 | Remove, needed for both native and cross. |
| 824 | * target.c (attach_flag, generic_mourn_inferior): Put here. |
| 825 | * utils.c (job_control): Put here. |
| 826 | (terminal.h): Don't include anymore. |
| 827 | |
| 828 | Sat May 14 09:11:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 829 | |
| 830 | * source.c (find_source_lines): Always use code that was #ifdef |
| 831 | BROKEN_LARGE_ALLOCA. Do the cleanup before returning, rather than |
| 832 | leaving it on the chain. Reindent much of this function. |
| 833 | * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h}, |
| 834 | config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h}, |
| 835 | config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h}, |
| 836 | config/ns32k/xm-ns32km3.h: Remove all references to |
| 837 | BROKEN_LARGE_ALLOCA; with the above change it is no longer needed. |
| 838 | * main.c, fork-child.c, many config files: Remove all |
| 839 | SET_STACK_LIMIT_HUGE code; with the above changes it should no |
| 840 | longer be needed. |
| 841 | |
| 842 | * symtab.c (lookup_partial_symbol): Use if and abort, not assert. |
| 843 | This avoids __eprintf troubles. |
| 844 | |
| 845 | Fri May 13 08:10:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 846 | |
| 847 | * main.c (main): Surround in #ifndef MAIN_OVERRIDE. Move |
| 848 | initialization code which needs to be called even if we bypass the |
| 849 | command line stuff into gdb_init. |
| 850 | * utils.c (fputs_unfiltered): Surround in #ifndef |
| 851 | FPUTS_UNFILTERED_OVERRIDE. |
| 852 | * Makefile.in (libgdb.a): New target. |
| 853 | |
| 854 | * utils.c: Rearrange I/O stuff a bit so that all output goes |
| 855 | through fputs_unfiltered. Use vasprintf; removes arbitrary limit |
| 856 | which made %s not work with arbitrarily large strings. |
| 857 | * printcmd.c (printf_command): Use printf_filtered, not |
| 858 | printf_unfiltered and printf, now that arbitrary limit is gone. |
| 859 | |
| 860 | gcc -Wall lint: |
| 861 | * breakpoint.c (watchpoint_check): Remove unused variable b. |
| 862 | * stack.c (print_frame_info): Move sp and buf inside #if. |
| 863 | * eval.c (evaluate_subexp): Remove unused variables pp, |
| 864 | mangle_ptr, ptr, and mangle_tstr. |
| 865 | * valarith.c (value_x_binop): Remove unused variables mangle_tstr |
| 866 | and mangle_ptr. |
| 867 | * symtab.c (lookup_symtab): Put variable copy inside #if. |
| 868 | (decode_line_1): Put variable q1 inside #if 0. |
| 869 | * target.h: Declare target_link. |
| 870 | * infrun.c (wait_for_inferior): Remove unused variables signame. |
| 871 | * remote.c (remote_resume): Remove unused variable name. |
| 872 | * c-exp.y (parse_number): Parenthesize operand of shift. |
| 873 | * dbxread.c (record_minimal_symbol): Parenthesize operand of && |
| 874 | (this is a semantic change, the warning seems to have detected a bug). |
| 875 | * dbxread.c (end_psymtab): Move variable p1 inside #if. |
| 876 | * coffread.c: Move variable temptype inside #if. |
| 877 | * ch-typeprint.c (chill_type_print_base): Remove unused variable |
| 878 | name. |
| 879 | * ch-valprint.c: #include typeprint.h and ch-lang.h. |
| 880 | (chill_val_print): Remove unused variable in_range. |
| 881 | (chill_val_print): Remove statement "length > TYPE_LENGTH (type);". |
| 882 | (chill_val_print): Add default case for switch. |
| 883 | * stabsread.h: Declare stabsect_build_psymtabs. |
| 884 | * os9kread.c (read_minimal_symbols): Make this return void. |
| 885 | (os9k_symfile_read): Remove unused variables stb_exist and val. |
| 886 | (os9k_symfile_init): Remove unused variable val. |
| 887 | (fill_sym): Remove unused variable id. |
| 888 | (read_os9k_psymtab): Put variable back_to inside #if 0. Remove |
| 889 | unused variable nsl. |
| 890 | Remove unused variable symfile_bfd. |
| 891 | #if 0 unused variables lbrac_unmatched_complaint and |
| 892 | lbrac_mismatch_complaint. |
| 893 | Remove declaration for non-existent function os9k_next_symbol_text. |
| 894 | |
| 895 | * annotate.c, annotate.h: New files, containing a function for |
| 896 | each annotation which outputs it. |
| 897 | * Move breakpoints_changed from breakpoint.c to annotate.c. |
| 898 | * breakpoint.c, blockframe.c, infrun.c, cp-valprint.c, main.c, |
| 899 | printcmd.c, source.c, stack.c, utils.c, valprint.c: |
| 900 | Use annotate.c functions to output annotations. |
| 901 | * Makefile.in (OBS): Add annotate.o. |
| 902 | |
| 903 | Thu May 12 10:46:27 1994 Jeff Law (law@snake.cs.utah.edu) |
| 904 | |
| 905 | * hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and |
| 906 | elf_unwind_entries are always initialized. |
| 907 | |
| 908 | * hppa-tdep.c (skip_trampoline_code): Handle argument relocation |
| 909 | stubs which return directly to the caller rather than to the stub |
| 910 | itself. |
| 911 | |
| 912 | Wed May 11 20:11:51 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 913 | |
| 914 | * c-exp.y (yyerror): Display a more informative error message. |
| 915 | * ch-exp.y (yyerror): Ditto, don't use global yychar. |
| 916 | * m2-exp.y (yyerror): Ditto. |
| 917 | |
| 918 | Tue May 10 11:57:53 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 919 | |
| 920 | * inflow.c (job_control): Move definition to front of file. |
| 921 | |
| 922 | Tue May 10 14:42:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 923 | |
| 924 | * maint.c (print_section_table): Rename SEC_SHARED_LIBRARY to |
| 925 | SEC_COFF_SHARED_LIBRARY to match corresponding change in bfd. |
| 926 | |
| 927 | Fri May 6 13:30:22 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 928 | |
| 929 | * Makefile.in (kdb): Remove old init.c creation commands. |
| 930 | * configure.in (sparclite): Match on sparclite*. |
| 931 | * sparclite/aload.c (main): Only change section addresses for |
| 932 | a.out format object files. |
| 933 | |
| 934 | Fri May 6 13:24:04 1994 Steve Chamberlain (sac@cygnus.com) |
| 935 | |
| 936 | * config/i386/go32.mh: Define CC. |
| 937 | |
| 938 | Fri May 6 11:56:54 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 939 | |
| 940 | * gdbserver/Makefile.in: Remove irrelevant definitions and |
| 941 | comments inherited from the gdb Makefile. |
| 942 | (BFD_DIR, BFD, BFD_SRC, BFD_CFLAGS): Add from gdb Makefile. |
| 943 | (VERSION): Update to 4.12.3. |
| 944 | (gdbserver): Remove any existing executable first. |
| 945 | (distclean, realclean): Remove nm.h. |
| 946 | * gdbserver/low-lynx.c: Add Sparc Lynx support. |
| 947 | * gdbserver/low-sparc.c, gdbserver/low-sun3.c (sys/wait.h): |
| 948 | Don't use absolute pathname. |
| 949 | |
| 950 | Thu May 5 12:00:22 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 951 | |
| 952 | * rs6000-nat.c (vmap_ldinfo): Don't fail if fstat returns an |
| 953 | error. |
| 954 | |
| 955 | Wed May 4 06:56:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 956 | |
| 957 | * infrun.c (proceed, normal_stop, wait_for_inferior), breakpoint.c |
| 958 | (print_it_normal): Add annotations for the inferior starting and |
| 959 | stopping, and for all the various messages related to how it |
| 960 | stopped. |
| 961 | |
| 962 | * printcmd.c (do_one_display): Annotate. |
| 963 | * stack.c (print_frame_info): Annotate printing of stack frames. |
| 964 | |
| 965 | Wed May 4 18:15:51 1994 Stu Grossman (grossman@cygnus.com) |
| 966 | |
| 967 | * remote.c (get_offsets): Handle case where stub doesn't support |
| 968 | qOffsets message. |
| 969 | |
| 970 | Wed May 4 15:30:39 1994 Per Bothner (bothner@kalessin.cygnus.com) |
| 971 | |
| 972 | Add partial support for g++ code compiled with -fvtable-thunks. |
| 973 | * c-valprint.c (c_val_print): Add vtblprint support |
| 974 | when using thunks. |
| 975 | * cp-valprint.c (cp_is_vtbl_member): A vtable can be an array of |
| 976 | pointers (if using thunks) as well as array of structs (otherwise). |
| 977 | * cp-valprint.c (vtbl_ptr_name_old, vtbl_ptr_name): Move to global |
| 978 | level, and make the latter non-static (so define_symbol can use it). |
| 979 | * stabsread.c (define_symbol): If the type being defined is a |
| 980 | pointer type named "__vtbl_ptr_type", set the TYPE_NAME to that name. |
| 981 | * symtab.h (VTBL_PREFIX_P): Allow "_VT" as well as "_vt". |
| 982 | * values.c (value_virtual_fn_field): Handle thunks. |
| 983 | * values.c (value_headof): Minor efficiency hack. |
| 984 | * values.c (value_headof): Incomplete thunk support. FIXME. |
| 985 | |
| 986 | Wed May 4 06:56:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 987 | |
| 988 | * valprint.c (print_longest): Clarify comment about use_local. |
| 989 | * printcmd.c, defs.h (print_address_numeric), callers in |
| 990 | symmisc.c, symfile.c, stack.c, source.c, remote.c, infcmd.c, |
| 991 | cp-valprint.c, core.c, ch-valprint.c, c-valprint.c, breakpoint.c, |
| 992 | exec.c: New argument use_local. |
| 993 | * source.c (identify_source_line): Use filtered output. Use |
| 994 | print_address_numeric. |
| 995 | |
| 996 | * core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1), |
| 997 | language.c (type_error, range_error): Use filtered output. |
| 998 | * utils.c (error_begin): Update comment to tell people to use |
| 999 | filtered output. |
| 1000 | |
| 1001 | * Makefile.in (HFILES_WITH_SRCDIR): List bfd.h. |
| 1002 | (HFILES_NO_SRCDIR): List gdbcore.h not gdbcore_h, so as not to get |
| 1003 | bfd.h. |
| 1004 | |
| 1005 | Tue May 3 07:41:33 1994 Jim Kingdon (kingdon@cygnus.com) |
| 1006 | |
| 1007 | * procfs.c (procfs_wait): Reinstate code which deduces the signal |
| 1008 | from the fault, #ifndef FAULTED_USE_SIGINFO. |
| 1009 | * config/sparc/tm-sun4sol2.h: Define FAULTED_USE_SIGINFO. |
| 1010 | |
| 1011 | Fri Apr 29 18:15:04 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1012 | |
| 1013 | * breakpoint.c (breakpoint_1): Annotate each field of the headers. |
| 1014 | Explicitly annotate each record. |
| 1015 | |
| 1016 | Fri Apr 29 15:56:18 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 1017 | |
| 1018 | * xcoffexec.c: Reformat to standards and lint. |
| 1019 | (language.h): Include. |
| 1020 | (exec_close): Declare arg "quitting". |
| 1021 | (file_command): Declare arg "from_tty". |
| 1022 | (map_vmap): Cast xmalloc result to PTR. |
| 1023 | * rs6000-nat.c: Reformat to standards and lint. |
| 1024 | (exec_one_dummy_insn): Use char array for saved instruction. |
| 1025 | (fixup_breakpoints): Declare. |
| 1026 | (vmap_ldinfo): Be more informative in fatal error messages. |
| 1027 | (xcoff_relocate_symtab): Define to return void. |
| 1028 | * xcoffsolib.h: Reformat to standards, improve comments. |
| 1029 | * config/rs6000/nm-rs6000.h (xcoff_relocate_symtab): Declare. |
| 1030 | |
| 1031 | Thu Apr 28 08:40:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1032 | |
| 1033 | * utils.c, defs.h (error_begin): New function. |
| 1034 | (quit): Print annotation before printing the error message. |
| 1035 | * main.c (return_to_top_level): Print annotation before doing the |
| 1036 | longjmp. |
| 1037 | * symtab.c (decode_line_1): Call error not warning and then |
| 1038 | return_to_top_level. Call error_begin and printf_unfiltered |
| 1039 | rather calling warning (before calls to return_to_top_level). |
| 1040 | * core.c (memory_error): Use error_begin, printf_unfiltered, |
| 1041 | print_address_numeric and return_to_top_level instead of error. |
| 1042 | Cleans up a FIXME-32x64. |
| 1043 | * language.c (type_error, range_error): Call error_begin |
| 1044 | not just target_terminal_ours. |
| 1045 | |
| 1046 | * dbxread.c (stabsect_build_psymtabs): Assign to sym_stab_info |
| 1047 | directly, rather than via DBX_SYMFILE_INFO. A cast on the left |
| 1048 | side of an assignment is non-portable. |
| 1049 | |
| 1050 | * utils.c (query): Change syntax of query annotations to be |
| 1051 | consistent with other input annotations. |
| 1052 | (prompt_for_continue): Likewise for prompt-for-continue annotation. |
| 1053 | |
| 1054 | Thu Apr 28 01:20:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1055 | |
| 1056 | * mdebugread.c (psymtab_to_symtab_1): Do not call sort_blocks |
| 1057 | for stabs symtabs. |
| 1058 | * mips-tdep.c (mips_skip_prologue): Handle prologues for functions |
| 1059 | that have a stack frame size of 32k or larger (from Paul Flinders). |
| 1060 | Remove #if 0'd code. |
| 1061 | |
| 1062 | Wed Apr 27 16:33:51 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 1063 | |
| 1064 | * lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition |
| 1065 | for Lynx platforms that need it. |
| 1066 | * config/nm-lynx.h (__LYNXOS): Define if not already defined. |
| 1067 | |
| 1068 | Wed Apr 27 16:01:37 1994 Jim Kingdon (kingdon@cygnus.com) |
| 1069 | |
| 1070 | * procfs.c (procfs_wait): Use the signal from the pr_info rather |
| 1071 | than trying to deduce it from the fault. |
| 1072 | |
| 1073 | Wed Apr 27 12:22:46 1994 Steve Chamberlain (sac@cygnus.com) |
| 1074 | |
| 1075 | * printcmd.c (print_address_symbolic): Initialize name to empty |
| 1076 | string to avoid core dump if lookup fails. |
| 1077 | * remote-e7000.c (printf_e7000debug): Error if target not open. |
| 1078 | |
| 1079 | Tue Apr 26 22:45:24 1994 Stu Grossman (grossman at cygnus.com) |
| 1080 | |
| 1081 | * i386-nlmstub.c: Update to be more in line with PIN stub. |
| 1082 | * nlm/gdbserve.c (putDebugChar): Install bug fix from i386-nlmstub. |
| 1083 | * (hex2mem): Init ptr. |
| 1084 | * General cleanups to use ConsolePrintf, standard prologues, etc... |
| 1085 | |
| 1086 | Tue Apr 26 10:23:04 1994 Stu Grossman (grossman at cygnus.com) |
| 1087 | |
| 1088 | * i386-nlmstub.c: More changes to be compatible with remote.c. |
| 1089 | |
| 1090 | * dbxread.c: Move a bunch of strncmps out of process_one_symbol |
| 1091 | into (the far less frequently called) dbx_symfile_read. |
| 1092 | |
| 1093 | * i386-nlmstub.c: An interim version till we get PIN for the x86. |
| 1094 | |
| 1095 | Tue Apr 26 09:50:45 1994 Stu Grossman (grossman at cygnus.com) |
| 1096 | |
| 1097 | * dbxread.c (record_minimal_symbol): Record the section |
| 1098 | associated with the symbol to make dynmaic relocation work. |
| 1099 | * (dbx_symfile_read, process_one_symbol): Fixes to work around |
| 1100 | Solaris brain-damage which don't apply to relocatable object |
| 1101 | files. |
| 1102 | * (stabsect_build_psymtabs): New routine to read stabs out of an |
| 1103 | arbitrarily named section. |
| 1104 | * nlmread.c (nlm_symtab_read): Read ALL syms from the NLM, not just |
| 1105 | globals. |
| 1106 | * (nlm_symfile_read): Call stabsect_build_psymtabs to read the |
| 1107 | stabs out of the nlm. |
| 1108 | * partial-stabs.h (cases 'f' & 'F'): Fixes to work around Solaris |
| 1109 | brain-damage which don't apply to relocatable object files. |
| 1110 | * remote.c (putpkt): Improve error reporting and error handling. |
| 1111 | * (get_offsets): Temporary kludge to force data & bss sections to |
| 1112 | have the same relocation. |
| 1113 | * stabsread.c (define_symbol, scan_file_globals): Record section |
| 1114 | info in sym. |
| 1115 | |
| 1116 | Sat Apr 23 19:05:52 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1117 | |
| 1118 | * breakpoint.c (breakpoint_1): Annotate each field of output. Add |
| 1119 | FIXME-32x64 comment. |
| 1120 | |
| 1121 | Fri Apr 22 16:43:54 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1122 | |
| 1123 | * infrun.c (wait_for_inferior): Move call to flush_cached_frames |
| 1124 | to after call to target_wait. This means that flush_cached_frames |
| 1125 | can call target_terminal_ours if it wants to. |
| 1126 | * infrun.c (wait_for_inferior) [HAVE_NONSTEPPABLE_WATCHPOINT]: Add |
| 1127 | comment about why the code is dubious. |
| 1128 | |
| 1129 | * stabsread.c (read_type): Call read_type, not nonexistent |
| 1130 | os9k_read_type. |
| 1131 | |
| 1132 | Fri Apr 22 14:25:36 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 1133 | |
| 1134 | * remote-os9k.c (rombug_fetch_registers): set trace mode |
| 1135 | correctly. |
| 1136 | * remote-os9k.c (rombug_read_inferior_memory): cache data in |
| 1137 | buffer. |
| 1138 | * os9kread,c (read_os9k_psymtab): process file symbol to truncate |
| 1139 | extra info. |
| 1140 | * os9kread.c (os9k_read_ofile_symtab): proper casting of args |
| 1141 | passed to process_one_symbol. |
| 1142 | * stabsread.c (read_type): process os9k functio prototype. |
| 1143 | |
| 1144 | Fri Apr 22 11:27:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1145 | |
| 1146 | * solib.c (symbol_add_stub): If so->textsection is NULL, don't |
| 1147 | dump core. |
| 1148 | |
| 1149 | Thu Apr 21 07:45:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1150 | |
| 1151 | * utils.c (prompt_for_continue): Annotate prompt. |
| 1152 | (query): Annotate query. |
| 1153 | * printcmd.c (print_frame_args): Change syntax of argument |
| 1154 | annotation to make name and value part of a single group of |
| 1155 | annotations, not two separate groups. |
| 1156 | * cp-valprint.c (cp_print_value_fields): Likewise for fields. |
| 1157 | * valprint.c (val_print_array_elements): Change syntax of |
| 1158 | annotation to be more concise. |
| 1159 | * main.c, defs.h (command_line_input): New argument tells what |
| 1160 | string to include in the annotations. |
| 1161 | * symtab.c (decode_line_2), main.c (read_command_lines, |
| 1162 | command_loop): Change callers. |
| 1163 | |
| 1164 | * breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for |
| 1165 | target null pointer. |
| 1166 | * blockframe.c (find_frame_addr_in_frame_chain): Likewise. |
| 1167 | |
| 1168 | * printcmd.c (output_command): Annotate things we print here too. |
| 1169 | * printcmd.c (print_command_1): Add "value-history-value" annotation. |
| 1170 | * Move declaration of print_value_flags from defs.h to value.h. |
| 1171 | * main.c (command_line_input): Call wrap_here as well as gdb_flush. |
| 1172 | |
| 1173 | Thu Apr 21 09:29:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1174 | |
| 1175 | * dbxread.c (read_dbx_dynamic_symtab): Reinstall support for sun3, |
| 1176 | BFD handles sun3 dynamic relocations now. |
| 1177 | * elfread.c (elf_symtab_read, elf_symfile_read): Handle dynamic |
| 1178 | symbol table. |
| 1179 | |
| 1180 | Wed Apr 20 19:41:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1181 | |
| 1182 | * printcmd.c (print_command_1): Annotate the top-level expressions |
| 1183 | that we print. |
| 1184 | (print_frame_args): Annotate each argument. |
| 1185 | * printcmd.c, defs.h (print_value_flags): New function. |
| 1186 | * cp-valprint.c (cp_print_value_fields): Annotate each field. |
| 1187 | * valprint.c (val_print_array_elements): Annotate each array element. |
| 1188 | |
| 1189 | Wed Apr 20 13:18:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1190 | |
| 1191 | * findvar.c (read_var_value): Handle LOC_REPARM_ADDR case correctly, |
| 1192 | the register contains a pointer to the type, not the type itself. |
| 1193 | |
| 1194 | Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 1195 | |
| 1196 | * main.c (main): Accept --annotate=N option and make --fullname |
| 1197 | the same as --annotate=1. |
| 1198 | (command_line_input): Print annotatation before and after prompt. |
| 1199 | * blockframe.c (flush_cached_frames): Print annotation. |
| 1200 | * Rename frame_file_full_name to annotation_level and move it from |
| 1201 | symtab.h to defs.h. |
| 1202 | * source.c (identify_source_line): If annotation_level > 1, |
| 1203 | change output format. |
| 1204 | * breakpoint.c: Print annotation whenever a breakpoint changes. |
| 1205 | * main.c: New variable server_command. |
| 1206 | (command_line_input): Parse "server " and set server_command. |
| 1207 | (dont_repeat): Check server_command. |
| 1208 | |
| 1209 | Wed Apr 20 08:37:16 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1210 | |
| 1211 | * xcoffread.c (xcoff_next_symbol_text): Don't return before |
| 1212 | updating raw_symbol and symnum. Return a value in the case where |
| 1213 | we complained. |
| 1214 | |
| 1215 | * dstread.c, coffread.c: Don't define pending_blocks; buildsym.c |
| 1216 | takes care of it. |
| 1217 | * parse.c: Don't define block_found; it is defined in symtab.c. |
| 1218 | * parser-defs.h: Add comment regarding block_found. |
| 1219 | |
| 1220 | Tue Apr 19 09:46:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1221 | |
| 1222 | * hppa-tdep.c (internalize_unwind_info): Delete unused indexp |
| 1223 | argument. |
| 1224 | |
| 1225 | Mon Apr 18 13:18:56 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1226 | |
| 1227 | * dbxread.c (read_dbx_dynamic_symtab): Relocate BFD symbols by |
| 1228 | section vma. Do not read dynamic relocs for sun3 executables to |
| 1229 | avoid BFD assertion message. |
| 1230 | |
| 1231 | Mon Apr 18 10:08:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1232 | |
| 1233 | * nm-hppab.h (KERNEL_U_ADDR): Define. |
| 1234 | (FIVE_ARG_PTRACE): Likewise. |
| 1235 | (CANNOT_STORE_REGISTER): Likewise. |
| 1236 | * nm-hppah.h (KERNEL_U_ADDR): Define. |
| 1237 | (FIVE_ARG_PTRACE): Likewise. |
| 1238 | (CANNOT_STORE_REGISTER): Likewise. |
| 1239 | (NEED_TEXT_START_END): Likewise. |
| 1240 | |
| 1241 | * tm-hppah.h (NEED_TEXT_START_END): Delete definition. |
| 1242 | * xm-hppah.h (KERNEL_U_ADDR): Delete definition. |
| 1243 | (FIVE_ARG_PTRACE): Likewise. |
| 1244 | * xm-hppab.h (KERNEL_U_ADDR): Delete definition. |
| 1245 | (FIVE_ARG_PTRACE): Likewise. |
| 1246 | |
| 1247 | * hppa-tdep.c (read_unwind_info): Make static. |
| 1248 | (restore_pc_queue): Indirect through the target vector to |
| 1249 | reload the register state. |
| 1250 | |
| 1251 | Sat Apr 16 22:20:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1252 | |
| 1253 | * paread.c (compare_unwind_entries): Delete function. It's been |
| 1254 | moved into hppa-tdep.c. |
| 1255 | (read_unwind_info): Likewise. |
| 1256 | (pa_symfile_read): No longer call read_unwind_info. The unwind |
| 1257 | tables will be read in as they are needed. |
| 1258 | |
| 1259 | * hppa-tdep.c (compare_unwind_entries): New function. |
| 1260 | (read_unwind_info, internalize_unwinds): Likewise. |
| 1261 | (find_unwind_entry): Read in unwind information on demand. |
| 1262 | |
| 1263 | Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 1264 | |
| 1265 | * source.c (DIRNAME_SEPARATOR): New macro, replaces all references |
| 1266 | to : in search path processing. |
| 1267 | * defs.h (qsort): Rename argument in prototype. |
| 1268 | * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in |
| 1269 | some compilers. |
| 1270 | * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c |
| 1271 | (false): Eliminate usages. |
| 1272 | |
| 1273 | Fri Apr 15 11:35:19 1994 Steve Chamberlain (sac@cygnus.com) |
| 1274 | |
| 1275 | * h8500-tdep.c (initialize_h8500_tdep, large_command): |
| 1276 | All references to value changed to value_ptrlage_command is now |
| 1277 | called big_command. |
| 1278 | All references to value changed to value_ptr. |
| 1279 | * remote-e7000.c (e7000_wait): Use target_waitstatus and SETSTOP |
| 1280 | * remote-hms.c (hms_wait): Timeout after five seconds. |
| 1281 | * ser-go32.c (dosasync_read): Poll if timeout < 0. |
| 1282 | * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted. |
| 1283 | * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode. |
| 1284 | |
| 1285 | Thu Apr 14 07:01:56 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1286 | |
| 1287 | * procfs.c (procfs_wait): Protect watchpoint code with appropriate |
| 1288 | #ifdefs. |
| 1289 | (procfs_set_watchpoint, procfs_stopped_by_watchpoint): Likewise. |
| 1290 | |
| 1291 | Wed Apr 13 14:52:46 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1292 | |
| 1293 | * breakpoint.h (enum bptype): Add bp_hardware_watchpoint and |
| 1294 | bp_watchpoint_scope breakpoints. |
| 1295 | (struct breakpoint): Add val_chain and related_breakpoint fields |
| 1296 | for use by watchpoints. |
| 1297 | |
| 1298 | * breakpoint.c (within_scope): Delete. No longer used. |
| 1299 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition. |
| 1300 | (target_{remove,insert}_watchpoint): Likewise. |
| 1301 | (can_use_hardware_watchpoint): New function. |
| 1302 | (remove_breakpoint): New function to remove a single breakpoint |
| 1303 | or hardware watchpoint. |
| 1304 | (insert_breakpoints): Handle insertion of hardware watchpoints. |
| 1305 | Store a copy of the value chain derived from the watchpoint |
| 1306 | expression. |
| 1307 | (remove_breakpoints): Simplify by using remove_breakpoint. |
| 1308 | (delete_breakpoint): Likewise. |
| 1309 | (watchpoint_check): Delete the watchpoint and watchpoint scope |
| 1310 | breakpoints when the watchpoint goes out of scope. Save & restore |
| 1311 | the current frame after checking watchpoints. |
| 1312 | (breakpoint_init_inferior): Likewise (restarting the program |
| 1313 | makes all local watchpoints go out of scope). |
| 1314 | (bpstat_stop_status): Handle hardware watchpoints much like normal |
| 1315 | watchpoints. Delete the watchpoint and watchpoint scope breakpoint |
| 1316 | when the watchpoint goes out of scope. Remove and reinsert all |
| 1317 | breakpoints before returning if we stopped when a hardware watchpoint |
| 1318 | fired. |
| 1319 | (watch_command): Use a hardware watchpoint when possible. If |
| 1320 | watching a local expression, build a scope breakpoint too. |
| 1321 | (map_breakpoint_numbers): Also call given function for any |
| 1322 | related breakpoints. |
| 1323 | (disable_breakpoint): Never disable a scope breakpoint. |
| 1324 | (enable_breakpoint): Handle hardware breakpoints much like normal |
| 1325 | breakpoints, but recompute the watchpoint_scope breakpoint's |
| 1326 | frame and address (if we have an associated scope breakpoint). |
| 1327 | (read_memory_nobpt): Handle hardware watchpoints like normal |
| 1328 | watchpoints. When necessary handle watchpoint_scope breakpoints. |
| 1329 | (print_it_normal, bpstat_what, breakpoint_1, mention): Likewise. |
| 1330 | (clear_command, breakpoint_re_set_one, enable_command): Likewise. |
| 1331 | (disable_command): Likewise. |
| 1332 | |
| 1333 | * blockframe.c (find_frame_addr_in_frame_chain): New function. |
| 1334 | Extern prototype added to frame.h |
| 1335 | |
| 1336 | * infrun.c (wait_for_inferior): Set current_frame and select |
| 1337 | a frame before checking if we stopped due to a hardare watchpoint |
| 1338 | firing. Handle stepping over hardware watchpoints. |
| 1339 | (normal_stop): Remove unnecessary call to select_frame. |
| 1340 | |
| 1341 | * value.h (value_release_to_mark): Declare. |
| 1342 | * values.c (value_release_to_mark): New function. |
| 1343 | |
| 1344 | * procfs.c (procfs_wait): Add cases for hardware watchpoints. |
| 1345 | (procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions. |
| 1346 | |
| 1347 | * hppab-nat.c (hppa_set_watchpoint): New function. |
| 1348 | |
| 1349 | * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define. |
| 1350 | (HAVE_STEPPABLE_WATCHPOINT): Define. |
| 1351 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. |
| 1352 | (target_{insert,delete}_watchpoint): Define. |
| 1353 | |
| 1354 | * config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. |
| 1355 | (STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise. |
| 1356 | (target_{insert,remove}_watchpoint): Likewise. |
| 1357 | |
| 1358 | Mon Apr 11 19:21:27 1994 Stu Grossman (grossman at cygnus.com) |
| 1359 | |
| 1360 | * xcoffread.c (read_xcoff_symtab): Ignore symbols of class C_EXT, |
| 1361 | smtyp XTY_LD, sclass XMC_DS (external data segment label). They |
| 1362 | often have the same names as debug symbols for functions, and |
| 1363 | confuse lookup_symbol(). |
| 1364 | |
| 1365 | Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 1366 | |
| 1367 | * remote.c: Around redefinition of PBUFSIZE, adjust whitespace. |
| 1368 | * config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than |
| 1369 | REGISTER_RAW_SIZE (1). |
| 1370 | Together these changes work around a bug in HP's compiler. Both |
| 1371 | seem to be necessary. |
| 1372 | |
| 1373 | Mon Apr 11 09:18:24 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1374 | |
| 1375 | * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbols |
| 1376 | with scope SS_EXTERNAL. ST_ENTRY symbols in dynamic executables |
| 1377 | are type mst_solib_trampoline. |
| 1378 | |
| 1379 | Fri Apr 8 17:14:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 1380 | |
| 1381 | * config/m68k/es1800.mt: Change comments. |
| 1382 | |
| 1383 | Fri Apr 8 17:14:37 1994 Rob Savoye (rob@darkstar.cygnus.com) |
| 1384 | |
| 1385 | * config/m68k/monitor.mt (TDEPFILES): Don't include remote-es.o. |
| 1386 | |
| 1387 | Fri Apr 8 15:35:30 1994 Stu Grossman (grossman at cygnus.com) |
| 1388 | |
| 1389 | * lynx-nat.c: Restore regmap structure for SPARC. It's needed |
| 1390 | for core files. |
| 1391 | |
| 1392 | Fri Apr 8 14:53:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 1393 | |
| 1394 | * values.c (unpack_long): Remove obsolete comment about using a |
| 1395 | switch statement. |
| 1396 | |
| 1397 | * symfile.c (symbol_file_command): Add comments about command syntax. |
| 1398 | |
| 1399 | Thu Apr 7 17:25:21 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1400 | Jim Kingdon (kingdon@cygnus.com) |
| 1401 | |
| 1402 | * infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolines |
| 1403 | are in the .plt section. |
| 1404 | * minsyms.c (lookup_solib_trampoline_symbol_by_pc, |
| 1405 | find_solib_trampoline_target): New functions for handling |
| 1406 | stepping into -g compiled shared libraries. |
| 1407 | * symtab.h (lookup_solib_trampoline_symbol_by_pc, |
| 1408 | find_solib_trampoline_target): Add prototypes. |
| 1409 | * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): |
| 1410 | Define to handle stepping into -g compiled shared libraries. |
| 1411 | * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle |
| 1412 | stepping into -g compiled shared libraries. |
| 1413 | |
| 1414 | Thu Apr 7 17:22:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1415 | |
| 1416 | * configure.in: Add mips-*-sysv4* support. |
| 1417 | * config/mips/mipsv4.mh, config/mips/mipsv4.mt, |
| 1418 | config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c: |
| 1419 | New files for MIPS SVR4 support. |
| 1420 | * Makefile.in: Update for new mipsv4 files. |
| 1421 | * alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use |
| 1422 | read_next_frame_reg to obtain the frame relative stack pointer. |
| 1423 | * mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to |
| 1424 | obtain the frame relative stack pointer. |
| 1425 | * mdebugread.c (parse_partial_symbols, psymtab_to_symtab1): |
| 1426 | Handle stStatic and stStaticProc symbols in stabs-in-ecoff output |
| 1427 | by entering them into the minimal symbol table. |
| 1428 | * printcmd.c (print_scalar_formatted): Do not try to unpack to |
| 1429 | a long for float formats. |
| 1430 | * solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not |
| 1431 | get defined in <link.h>. |
| 1432 | * solib.c (solib_add): Add shared library sections to the section |
| 1433 | table of the target before adding the symbols. |
| 1434 | * partial-stab.h: Relocate static and global functions. |
| 1435 | * dbxread.c (read_dbx_symtab): Remove unused variable |
| 1436 | end_of_text_address. Relocate text_addr when passing it |
| 1437 | to end_psymtab. |
| 1438 | |
| 1439 | For Alpha OSF/1 targets, enable gdb to set breakpoints in shared |
| 1440 | library functions before the executable is run. Retrieve dynamic |
| 1441 | symbols from stripped executables. |
| 1442 | * mipsread.c (read_alphacoff_dynamic_symtab): New function. |
| 1443 | * mipsread.c (mipscoff_symfile_read): Use it. Issue warning message |
| 1444 | if no debugging symbols were found. |
| 1445 | * alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered |
| 1446 | pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS |
| 1447 | is defined. |
| 1448 | * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define, |
| 1449 | OSF/1 has shared libraries. |
| 1450 | |
| 1451 | Thu Apr 7 15:11:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 1452 | |
| 1453 | * dbxread.c (read_dbx_dynamic_symtab): Adjust for recent changes |
| 1454 | to BFD handling of dynamic symbols. |
| 1455 | |
| 1456 | Tue Apr 5 15:29:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1457 | |
| 1458 | * hppa-tdep.c (hppa_fix_call_dummy): If FUN is a procedure label, |
| 1459 | then gets its real address into FUN and its GOT/DP value into %r19. |
| 1460 | |
| 1461 | * tm-hppa.h (CALL_DUMMY): Use %r20, not %r19 as a temporary. |
| 1462 | |
| 1463 | * hppa-tdep.c (frameless_function_invocation): If no unwind |
| 1464 | descriptor was found, then assume this was not a frameless |
| 1465 | function invocation. |
| 1466 | (frame_saved_pc): If the saved PC is in a linker stub, then |
| 1467 | return the return address which the linker stub will return to. |
| 1468 | |
| 1469 | * xm-hppab.h: Never define USG. |
| 1470 | * xm-hppah.h: Always define USG. |
| 1471 | |
| 1472 | Tue Apr 5 12:58:47 1994 Per Bothner (bothner@kalessin.cygnus.com) |
| 1473 | |
| 1474 | * values.c (unpack_long, value_from_longest), |
| 1475 | valarith.c (value_binop): Allow TYPE_CODE_RANGE. |
| 1476 | |
| 1477 | Fri Apr 1 14:04:34 1994 Jason Merrill (jason@deneb.cygnus.com) |
| 1478 | |
| 1479 | * symfile.c (deduce_language_from_filename): .cpp is a C++ extension. |
| 1480 | |
| 1481 | Fri Apr 1 00:44:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1482 | |
| 1483 | For SVR4 targets, enable gdb to set breakpoints in shared |
| 1484 | library functions before the executable is run. |
| 1485 | * elfread.c (elf_symtab_read): Handle symbols for shared library |
| 1486 | functions. |
| 1487 | * sparc-tdep.c (in_solib_trampoline): Renamed to in_plt_section |
| 1488 | and moved to objfiles.c. |
| 1489 | * objfiles.c (in_plt_section): Moved to here from sparc-tdep. |
| 1490 | * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section. |
| 1491 | * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed, |
| 1492 | the new generic definition from tm-sysv4.h works for Solaris. |
| 1493 | |
| 1494 | Wed Mar 30 16:14:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 1495 | |
| 1496 | * elfread.c (elf_symtab_read): Change storage_needed, |
| 1497 | number_of_symbols and i to long. Rename get_symtab_upper_bound to |
| 1498 | bfd_get_symtab_upper_bound. Check for errors from |
| 1499 | bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. |
| 1500 | * nlmread.c (nlm_symtab_read): Same changes. |
| 1501 | |
| 1502 | Wed Mar 30 11:43:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1503 | |
| 1504 | * xcoffread.c (xcoff_next_symbol_text): New function. |
| 1505 | (read_xcoff_symtab): Set next_symbol_text_func to it. |
| 1506 | Move raw_symbol outside of read_xcoff_symtab. |
| 1507 | |
| 1508 | * remote.c (getpkt): Remove unused "out" label. |
| 1509 | |
| 1510 | Wed Mar 30 09:15:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1511 | |
| 1512 | * breakpoint.c (print_it_normal): Allow GDB to notify the user |
| 1513 | about more than one watchpoint being triggered. |
| 1514 | |
| 1515 | Wed Mar 30 08:24:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1516 | |
| 1517 | * config/m68k/tm-dpx2.h: Include tm-m68k.h not nonexistent tm-68k.h. |
| 1518 | |
| 1519 | Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1520 | |
| 1521 | * blockframe.c (find_pc_partial_function): mst_file_text |
| 1522 | symbols do not live in the shared library transfer table. |
| 1523 | * ch-exp.y (decode_integer_value, match_character_literal, |
| 1524 | match_bitstring_literal): Guard tolower calls with isupper, |
| 1525 | tolower on old BSD systems blindly subtracts a constant. |
| 1526 | * dbxread.c (read_ofile_symtab): Check for __gnu_compiled_* as |
| 1527 | well when determining the producer of the object file. |
| 1528 | * mdebugread.c (has_opaque_xref): New function to check for |
| 1529 | cross reference to an opaque aggregate. |
| 1530 | * mdebugread.c (parse_symbol, parse_partial_symbols): Do not |
| 1531 | enter typedefs to opaque aggregates into the symbol tables. |
| 1532 | * mdebugread.c (parse_external): Remove skip_procedures argument, |
| 1533 | it has always been 1. Remove code that handled stProc symbols, |
| 1534 | it was never executed and was wrong, as the index of a |
| 1535 | stProc symbol points to the local symbol table and not to the |
| 1536 | auxiliary symbol info. Update caller. |
| 1537 | * mdebugread.c (parse_partial_symbols): Do not enter external |
| 1538 | stProc symbols into the partial symbol table, they are already |
| 1539 | entered into the minimal symbol table. |
| 1540 | * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix. |
| 1541 | Remove all conditionals and definitions for ptx. |
| 1542 | I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c. |
| 1543 | Fix addresses of floating point registers in REGISTER_U_ADDR. |
| 1544 | STORE_STRUCT_RETURN now handles cc and gcc conventions. |
| 1545 | FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, |
| 1546 | IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through |
| 1547 | signal trampoline code work. |
| 1548 | * config/i386/xm-symmetry.h: Clean up, it is now only used for Dynix. |
| 1549 | Remove all conditionals and definitions for ptx. |
| 1550 | Remove KDB definitions. |
| 1551 | * symm-nat.c (store_inferior_registers): Fetch registers before |
| 1552 | storing them to obtain valid floating point control registers. |
| 1553 | Store fpu registers. |
| 1554 | * symm-nat.c (print_1167_control_word): Dynix 3.1.1 defines |
| 1555 | FPA_PCR_CC_C0 and FPA_PCR_CC_C1, avoid duplicate case value. |
| 1556 | * symm-nat.c (fetch_inferior_registers, child_xfer_memory): |
| 1557 | Fix typos. |
| 1558 | * symm-nat.c (child_resume): Update type of `signal' parameter. |
| 1559 | * symm-tdep.c (I386_REGNO_TO_SYMMETRY): Moved to tm-symmetry.h. |
| 1560 | |
| 1561 | Tue Mar 29 23:01:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1562 | |
| 1563 | * hppa-tdep.c (hppa_fix_call_dummy): Use an alternate method for |
| 1564 | calling import stubs for functions in shared libraries. |
| 1565 | |
| 1566 | Tue Mar 29 21:14:04 1994 Per Bothner (bothner@kalessin.cygnus.com) |
| 1567 | |
| 1568 | * ch-exp.y: Implement SIZE(mode_name) and SIZE(expression). |
| 1569 | |
| 1570 | * ch-lang.c (chill_is_varying_struct): Magic string is |
| 1571 | was "<var_length>" is now "__var_length" (more portable). |
| 1572 | |
| 1573 | Tue Mar 29 19:41:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1574 | |
| 1575 | * remote.c (getpkt): If we get a timeout, actually retry rather |
| 1576 | than just giving up the first time it happens. |
| 1577 | * remote.c: Document sequence numbers. |
| 1578 | (remote_store_registers): Change syntax of 'P' request so that it |
| 1579 | never looks like a sequence number. |
| 1580 | |
| 1581 | Tue Mar 29 16:06:01 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 1582 | |
| 1583 | * os9kread.c (record_minimal_symbol): add section_offset to |
| 1584 | relocate minimal symbol table. |
| 1585 | * os9kread.c (read_minimal_symbols): ditto. |
| 1586 | * os9kread.c (os9k_symfile_init): increase size of dbg and stb |
| 1587 | file names. |
| 1588 | * os9kread.c (read_os9k_psymtab): if there's no dbg file, just |
| 1589 | return. Also if file addr is 0 leave it 0, not to relocate. |
| 1590 | * remote-os9k.c (_initialize_remote_os9k): add 'set remotexon', |
| 1591 | 'set remotexoff' and 'set remotelog' commands. |
| 1592 | |
| 1593 | Tue Mar 29 12:38:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1594 | |
| 1595 | * remote.c (remote_store_registers): Add 'P' request to set an |
| 1596 | individual register. |
| 1597 | (remote_write_bytes, remote_read_bytes): Use %lx, not %x, to print |
| 1598 | a target address. |
| 1599 | |
| 1600 | Sat Mar 26 07:05:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1601 | |
| 1602 | * config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG. |
| 1603 | * stabsread (define_symbol): If USE_REGISTER_NOT_ARG, go back to |
| 1604 | combining all 'p' and 'r' pairs into a LOC_REGPARM. |
| 1605 | |
| 1606 | * command.c (do_setshow_command, case var_string): Never add a |
| 1607 | space to the end of the string. |
| 1608 | * NEWS: Document this change. |
| 1609 | * .gdbinit: Add a space to the "set prompt" command. |
| 1610 | |
| 1611 | Fri Mar 25 12:40:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1612 | |
| 1613 | * m3-nat.c, i386m3-nat.c, config/i386/i386m3.mh: Many minor |
| 1614 | changes to make it compile (it doesn't link yet). |
| 1615 | |
| 1616 | * buildsym.c (start_subfile, patch_subfile_names), demangle.c |
| 1617 | (set_demangling_style, set_demangling_command): Use savestring not |
| 1618 | strdup. We were not dealing properly with a NULL return from |
| 1619 | strdup, and were not declaring strdup (the system header may or |
| 1620 | may not have it). |
| 1621 | |
| 1622 | * valprint.c (val_print): Remove inaccurate comment about what |
| 1623 | types can be stub types. |
| 1624 | |
| 1625 | * config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o. |
| 1626 | * symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior): |
| 1627 | Supply alternate version if ATTACH_DETACH is not defined. |
| 1628 | * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt, |
| 1629 | tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files. |
| 1630 | * configure.in: Recognize i[34]86-sequent-sysv4* host. |
| 1631 | |
| 1632 | Fri Mar 25 10:14:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1633 | |
| 1634 | * hppa-tdep.c (skip_prologue): Do nothing if not at the beginning |
| 1635 | of a function. |
| 1636 | (skip_trampoline_code): Rewrite and add support for argument |
| 1637 | relocation stubs stubs, import/export stubs, calls through |
| 1638 | "_sr4export" and cascaded trampolines. |
| 1639 | |
| 1640 | * hppa-tdep.c (skip_prologue): Return "pc" not zero |
| 1641 | if no unwind descriptor is found. |
| 1642 | |
| 1643 | * tm-hppa.h (NUM_REGS): Bump to 128 registers. |
| 1644 | (REGISTER_NAMES): Add entries for "right-half" of FP registers. |
| 1645 | (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs |
| 1646 | differently. All registers are four bytes. |
| 1647 | (REGISTER_BYTES, REGISTER_BYTE): Simplify now that all registers are |
| 1648 | the same size. |
| 1649 | (REGISTER_VIRTUAL_TYPE): Use builtin_type_float for all FP regs. |
| 1650 | |
| 1651 | * hppa-tdep.c (pa_print_fp_reg): Update to print even numbered FP |
| 1652 | registers as both single and double values (fetching 2nd 32bit half |
| 1653 | as necessary). Annotate each register printed with its precision. |
| 1654 | |
| 1655 | * paread.c (read_unwind_info): Fix off-by-one error. |
| 1656 | |
| 1657 | Fri Mar 25 08:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1658 | |
| 1659 | * main.c (complete_command): Deal with it if arg is NULL. |
| 1660 | |
| 1661 | Thu Mar 24 07:12:09 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1662 | |
| 1663 | * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Revise comment |
| 1664 | regarding using the PC--using the PC is necessary and all the |
| 1665 | FIXME comments in the world won't make it go away. |
| 1666 | |
| 1667 | * valops.c (value_at, value_at_lazy): Give error if we dereference |
| 1668 | a pointer to void. |
| 1669 | * gdbtypes.h: Fix comments regarding TYPE_CODE_VOID. |
| 1670 | * stabsread.c: Use 1, not 0, for TYPE_LENGTH of void types. |
| 1671 | |
| 1672 | * stabsread.c (patch_block_stabs): Add comment about what happens |
| 1673 | if the definition is in another compilation unit from the stab. |
| 1674 | |
| 1675 | * dbxread.c (end_psymtab): Add comment about empty psymtabs. |
| 1676 | |
| 1677 | Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1678 | |
| 1679 | * main.c (complete_command): New command, from Rick Sladkey |
| 1680 | <jrs@world.std.com>. |
| 1681 | (symbol_completion_function): Don't declare rl_point and |
| 1682 | rl_line_buffer; they are now declared in readline.h. |
| 1683 | (show_commands): Don't declare history_base; it is declared in |
| 1684 | history.h. |
| 1685 | * command.c (lookup_cmd): Don't delete trailing whitespace. |
| 1686 | Reverts change of 14 May 1989. |
| 1687 | |
| 1688 | Wed Mar 23 16:14:52 1994 Stu Grossman (grossman at cygnus.com) |
| 1689 | |
| 1690 | * minsyms.c (prim_record_minimal_symbol): Move section deduction |
| 1691 | code from prim_record_minimal_symbol_and_info() to here. Callers |
| 1692 | of the latter can legitimately supply a section number of -1. |
| 1693 | |
| 1694 | Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1695 | |
| 1696 | * gdbtypes.h, gdbtypes.c: Add comments regarding whether static |
| 1697 | member functions have an element in args for a (nonexistent) this |
| 1698 | pointer. |
| 1699 | |
| 1700 | Tue Mar 22 20:12:53 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1701 | |
| 1702 | * config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define. |
| 1703 | |
| 1704 | * hppa-tdep.c (hppa_pop_frame): Do not restore the PC space |
| 1705 | queue if NO_PC_SPACE_QUEUE_RESTORE is defined. |
| 1706 | |
| 1707 | * stabsread.c (REG_STRUCT_HAS_ADDR): Accept additional argument |
| 1708 | for the structure's type. All callers changed. |
| 1709 | |
| 1710 | * valops.c (call_function_by_hand): Check REG_STRUCT_HAS_ADDR |
| 1711 | for each structure argument rather than assuming it's either |
| 1712 | true or false for all structure arguments. |
| 1713 | |
| 1714 | * config/pa/tm-hppa.h (REG_STRUCT_HAS_ADDR): Depend only |
| 1715 | on the length structure passed, not the compiler used. |
| 1716 | |
| 1717 | * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Accept additional |
| 1718 | argument for the structure's type. |
| 1719 | |
| 1720 | Tue Mar 22 15:28:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1721 | |
| 1722 | * values.c (set_internalvar): Don't set var->value until we are |
| 1723 | sure there won't be an error(). |
| 1724 | |
| 1725 | * remote.c (get_offsets): Reinstate comment which was in |
| 1726 | remote_wait about use of SECT_OFF_TEXT and so on. |
| 1727 | |
| 1728 | Mon Mar 21 13:11:30 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1729 | |
| 1730 | * symmisc.c (maintenance_check_symtabs): New function to check |
| 1731 | consistency of psymtabs and symtabs. |
| 1732 | * symtab.h (maintenance_check_symtabs): Add prototype. |
| 1733 | * maint.c: Add new `maint check-symtabs' command. |
| 1734 | * config/i386/tm-i386aix.h, config/i386/tm-sun386.h, |
| 1735 | config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Fix typo. |
| 1736 | * config/i386/tm-symmetry.h: Make comment inside #if 0 a real |
| 1737 | comment. |
| 1738 | * config/i386/tm-symmetry.h (STORE_STRUCT_RETURN): Cast argument |
| 1739 | to write_memory to avoid warnings from gcc. |
| 1740 | * config/i386/xm-symmetry.h: Add missing #endif. |
| 1741 | * config/i386/nm-symmetry.h (NO_PTRACE_H): Add for Dynix. |
| 1742 | * config/i386/symmetry.mt (TDEPFILES): Add i386-tdep.o. |
| 1743 | * config/i386/symmetry.mh (NAT_FILE, NATDEPFILES): Add. |
| 1744 | |
| 1745 | Mon Mar 21 11:50:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 1746 | |
| 1747 | * hppa-tdep.c (hppa_fix_call_dummy): Use value_ptr. |
| 1748 | (hppa_push_arguments): Likewise. |
| 1749 | |
| 1750 | Mon Mar 21 11:02:51 1994 Stu Grossman (grossman at cygnus.com) |
| 1751 | |
| 1752 | * alpha-tdep.c: Gobs of changes (many imported from mips-tdep) to |
| 1753 | improve remote debugging efficiency. Also fixed problems with |
| 1754 | doing function calls for programs with no entry points. |
| 1755 | * infcmd.c (run_stack_dummy): Use CALL_DUMMY_ADDRESS instead of |
| 1756 | entry_point_address. |
| 1757 | * inferior.h (PC_IN_CALL_DUMMY): ditto. |
| 1758 | * mdebugread.c (parse_symbol, parse_procedure, parse_external, |
| 1759 | parse_lines): Pass section_offsets info to these routines so that |
| 1760 | we can relocate symbol table entries upon readin. |
| 1761 | * (psymtab_to_symtab_1): Set symtab->primary to tell |
| 1762 | objfile_relocate to do relocations for our symbols. |
| 1763 | * (ecoff_relocate_efi): New routine to relocate adr field of PDRs |
| 1764 | (which hang off of the symbol table). |
| 1765 | * Use prim_record_minimal_symbols_and_info instead of |
| 1766 | prim_record_minimal_symbols to supply section info to make minimal |
| 1767 | symbol relocations work. |
| 1768 | * minsyms.c (prim_record_minimal_symbols_and_info): If section is |
| 1769 | -1, try to deduce it from ms_type. |
| 1770 | * objfiles.c (objfile_relocate): Use ALL_OBJFILE_SYMTABS where |
| 1771 | appropriate. Handle relocation of MIPS_EFI symbols special. Also, |
| 1772 | add code to relocate objfile->sections data structure. |
| 1773 | * remote.c (get_offsets): Use new protocol message to acquire |
| 1774 | section offsets from the target. |
| 1775 | * (remote_wait): Get rid of relocation stuff. That's all handled |
| 1776 | by objfile_relocate now. |
| 1777 | * config/alpha/alpha-nw.mt (TM_FILE): Use tm-alphanw.h. |
| 1778 | * config/alpha/tm-alpha.h: Define CALL_DUMMY_ADDRESS, and |
| 1779 | VM_MIN_ADDRESS. |
| 1780 | * config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0. |
| 1781 | |
| 1782 | Sun Mar 20 15:21:57 1994 Doug Evans (dje@cygnus.com) |
| 1783 | |
| 1784 | * sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE |
| 1785 | instead of 4. |
| 1786 | * sp64-tdep.c (target_ptr_bit, set_target_ptr_bit): Deleted, |
| 1787 | can no longer set this at run time. |
| 1788 | * config/sparc/sp64.mt (SIMFILES): Use remote-sim.o now. |
| 1789 | (TM_CLIBS): Define to -lm, the simulator uses the sqrt() function. |
| 1790 | * config/sparc/tm-sp64.h (FPS_REGNUM, CPS_REGNUM): Define (so |
| 1791 | sparc-tdep.c compiles). |
| 1792 | (TARGET_PTR_BIT): Must be a constant now, fix at 64. |
| 1793 | |
| 1794 | Sat Mar 19 08:51:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1795 | |
| 1796 | * config/m68k/{cisco.mt,tm-cisco.h}: New files. |
| 1797 | * Makefile.in (ALLPARAM, ALLCONFIG): Add them. |
| 1798 | * configure.in: Recognize m68*-cisco*-*. |
| 1799 | |
| 1800 | * Makefile.in (TAGS): Use variables directly, rather than using |
| 1801 | find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster |
| 1802 | and means that these filenames no longer need be unique across all |
| 1803 | the config/* directories. |
| 1804 | * configure.in: Put the config/*/ into TM_FILE, etc. |
| 1805 | |
| 1806 | * m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk |
| 1807 | and trapv exceptions. |
| 1808 | |
| 1809 | * target.h (struct section_table), objfiles.h (struct obj_section): |
| 1810 | Change name of field sec_ptr to the_bfd_section. More mnemonic |
| 1811 | and avoids the (sort of, for the ptx compiler) name clash with |
| 1812 | the name of the typedef. |
| 1813 | * exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c, |
| 1814 | solib.c, irix5-nat.c, objfiles.c, remote.c: Change users. |
| 1815 | |
| 1816 | * utils.c: Include readline.h. |
| 1817 | * Makefile.in (utils.o): Add dependency. |
| 1818 | |
| 1819 | * remote.c (getpkt): Add support for run-length encoding. |
| 1820 | |
| 1821 | Fri Mar 18 19:11:15 1994 Steve Chamberlain (sac@jonny.cygnus.com) |
| 1822 | |
| 1823 | * utils.c (prompt_for_continue): Call readline, not gdb_readline. |
| 1824 | |
| 1825 | Fri Mar 18 10:25:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1826 | |
| 1827 | * dstread.c (record_minimal_symbol): New arg objfile. Pass it to |
| 1828 | prim_record_minimal_symbol. |
| 1829 | Callers: Pass it. |
| 1830 | |
| 1831 | * regex.c (EXTEND_BUFFER): Adjust pointers within buffer by |
| 1832 | computing their offset from the start of the old buffer and adding |
| 1833 | to the new buffer, rather than by assuming we can add the |
| 1834 | difference between the old buffer and the new buffer (it might not |
| 1835 | fit in an int). Merge in cosmetic differences from emacs regex.c |
| 1836 | version of this macro. |
| 1837 | |
| 1838 | Wed Mar 16 15:28:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 1839 | |
| 1840 | * Makefile.in (install-only): Fix use of program_transform_name. |
| 1841 | |
| 1842 | Wed Mar 16 07:18:43 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1843 | |
| 1844 | * printcmd.c: Remove "set print fast-symbolic-addr off" command. |
| 1845 | The bug which it worked around was fixed on 25 Feb 94 in coffread.c, |
| 1846 | so I'm nuking the command. |
| 1847 | * symtab.c (find_addr_symbol): Comment out, no longer used. |
| 1848 | |
| 1849 | * main.c (main): Don't init_source_path for the -cd argument. Now |
| 1850 | that source_path doesn't contain the current_directory from when |
| 1851 | GDB started up, init_source_path is no longer useful (and is |
| 1852 | harmful because it clobbers a source_path set in $HOME/.gdbinit). |
| 1853 | |
| 1854 | * TODO: Remove item about line numbers being off. It is useless |
| 1855 | and confusing without a reproducible test case (it mentions |
| 1856 | proceed(), but I was able to step through proceed without trouble). |
| 1857 | |
| 1858 | Tue Mar 15 13:39:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1859 | |
| 1860 | For Sunos 4.x targets, enable gdb to set breakpoints in shared |
| 1861 | library functions before the executable is run. Retrieve dynamic |
| 1862 | symbols from stripped executables. |
| 1863 | * symtab.h (minimal_symbol_type): Add mst_solib_trampoline type. |
| 1864 | * parse.c (write_exp_msymbol), symmisc.c (dump_msymbols), |
| 1865 | symtab.c (list_symbols): Handle mst_solib_trampoline. |
| 1866 | * minsyms.c (lookup_minimal_symbol): Handle mst_solib_trampoline |
| 1867 | for all targets, remove IBM6000_TARGET dependencies. |
| 1868 | * dbxread.c (read_dbx_dynamic_symtab): New function. |
| 1869 | * dbxread.c (dbx_symfile_read): Use it. |
| 1870 | * dbxread.c (SET_NAMESTRING): Set namestring to |
| 1871 | "<bad string table index>" instead of "foo" if the string index is |
| 1872 | corrupt. |
| 1873 | * xcoffread.c (read_xcoff_symtab): Use mst_solib_trampoline instead |
| 1874 | of mst_unknown. |
| 1875 | * symtab.c (list_symbols): Take from_tty as parameter and pass it |
| 1876 | to break_command. Handle mst_file_* minimal symbol types. |
| 1877 | * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef. |
| 1878 | |
| 1879 | Tue Mar 15 11:40:43 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 1880 | |
| 1881 | * c-exp.y(yylex): fix potential memory overflow. |
| 1882 | |
| 1883 | Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1884 | |
| 1885 | * environ.c (set_in_environ): Eliminate special handling of PATH and |
| 1886 | GNUTARGET. |
| 1887 | * putenv.c: Removed, conflicts with system declaration of |
| 1888 | putenv on RS/6000 running AIX 3.2.5, and above change makes it |
| 1889 | unnecessary. |
| 1890 | * Makefile.in: Change accordingly. |
| 1891 | * procfs.c (procfs_create_inferior): Change comment accordingly. |
| 1892 | |
| 1893 | Tue Mar 15 10:05:27 1994 Jim Kingdon (kingdon@cygnus.com) |
| 1894 | |
| 1895 | * rs6000-tdep.c: Change value to value_ptr. |
| 1896 | |
| 1897 | Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1898 | |
| 1899 | * i386m3-nat.c: Include floatformat.h. |
| 1900 | (get_i387_state): Use memset not bzero. |
| 1901 | |
| 1902 | * Version 4.12.3. |
| 1903 | |
| 1904 | * Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change |
| 1905 | ieee-float.h to floatformat.h. |
| 1906 | |
| 1907 | * valprint.c (val_print_string): Ignore error if the error |
| 1908 | happened after a terminating '\0'. |
| 1909 | |
| 1910 | * c-valprint.c (c_val_print): Never add 1 to return value from |
| 1911 | val_print_string; just return what it returns. |
| 1912 | |
| 1913 | * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for |
| 1914 | looping through all of the enums. |
| 1915 | * infrun.c (signals_info): Use it. |
| 1916 | |
| 1917 | Fri Mar 11 08:08:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1918 | |
| 1919 | * main.c (main): When printing warning about bad baud rate, don't |
| 1920 | use warning(); it relies on current_target which isn't set up yet. |
| 1921 | |
| 1922 | * breakpoint.c (_initialize_breakpoint): Update docstring for |
| 1923 | tbreak to match what the code actually does. Don't mention tbreak |
| 1924 | in docstrings for "enable once" or "enable breakpoints once". |
| 1925 | |
| 1926 | Thu Mar 10 08:52:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1927 | |
| 1928 | * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after |
| 1929 | while (0). That defeats the whole purpose of using do . . . while (0). |
| 1930 | * mdebugread.c (parse_partial_symbols): Don't use ?: expression as |
| 1931 | list for ADD_PSYMBOL_TO_LIST; the macro takes its address and |
| 1932 | using a ?: expression as an lvalue is not portable. |
| 1933 | |
| 1934 | * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also |
| 1935 | convert a LOC_ARG to a LOC_REF_ARG. Update code which combines |
| 1936 | 'p' and 'r' symbol descriptors into a single symbol to look for a |
| 1937 | LOC_REF_ARG. |
| 1938 | * README, config/sparc/tm-sparc.h: Update comments. |
| 1939 | |
| 1940 | Wed Mar 9 21:43:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 1941 | |
| 1942 | * mdebugread.c (parse_type): Do not complain for types with |
| 1943 | an `indexNil' aux index, these are simply undefined types. |
| 1944 | Remove indexNil check from caller of parse_type. |
| 1945 | * mdebugread.c (parse_partial_symbols): Do not enter |
| 1946 | stGlobal, scCommon symbols into the minimal symbol table, their |
| 1947 | value is the size of the common, not its address. |
| 1948 | Handle scInit, scFini, scPData and scXData sections. |
| 1949 | Use minimal symbol type mst_file_* for stLabel symbols, instead of |
| 1950 | mst_*. |
| 1951 | Enter stProc symbols into the global_psymbols list once, not into |
| 1952 | the static_psymbols_list. |
| 1953 | Get rid of dummy psymtab if it is empty, to allow proper detection |
| 1954 | of stripped executables. |
| 1955 | * mdebugread.c (cross_ref): Allow cross references to Fortran |
| 1956 | common blocks. |
| 1957 | |
| 1958 | Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1959 | |
| 1960 | * stabsread.c (common_block_end, fix_common_block): Stash the |
| 1961 | struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so |
| 1962 | as to not assume that a pointer fits in an enum. |
| 1963 | |
| 1964 | Wed Mar 9 18:56:36 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 1965 | |
| 1966 | * os9kread.c (fill_sym): check compiler verion number for pre- |
| 1967 | UltraC compiler. |
| 1968 | * os9kread.c (os9k_process_one_symbol): address of symbol is |
| 1969 | relative to section not module. |
| 1970 | * stabsread.c (define_symbol): add symbol type 's' as local |
| 1971 | symbol for os9k. |
| 1972 | * remote-os9k.c: add command 'set monitor_log' to turn on or off |
| 1973 | monitor logging. |
| 1974 | * remote-os9k.c: fix bug in delete breakpoint, single step trace. |
| 1975 | * remote-os9k.c: fix bug in 'set remotebaud' function. |
| 1976 | * remote-os9k.c (rombug_link): minimize checking so to improve |
| 1977 | speed. |
| 1978 | * symfile.c (symbol_file_command): check if failed to link, also make |
| 1979 | the command be able to accept more than one filenames. |
| 1980 | * target.c (target_link): check if failed to link with rombug. |
| 1981 | * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0. |
| 1982 | |
| 1983 | Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1984 | |
| 1985 | * remote-es.c (es1800_child_ops): Don't declare it static. |
| 1986 | |
| 1987 | Tue Mar 8 11:42:39 1994 Jim Kingdon (kingdon@cygnus.com) |
| 1988 | |
| 1989 | * config/i386/tm-i386v4.h: Give just macro name, not args, to #undef. |
| 1990 | |
| 1991 | Tue Mar 8 06:56:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 1992 | |
| 1993 | * dbxread.c: New variable lowest_text_address. |
| 1994 | (record_minimal_symbol, read_dbx_symtab): Set it. |
| 1995 | (read_dbx_symtab): Use lowest_text_address + text_size instead of |
| 1996 | end_of_text_address. |
| 1997 | * config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT. |
| 1998 | |
| 1999 | * dbxread.c (end_psymtab): Remove old and commented out |
| 2000 | capping_global and capping_static. Fix comments regarding |
| 2001 | N_SO_ADDRESS_MAYBE_MISSING to match the real name of the macro. |
| 2002 | |
| 2003 | * parser-defs.h: Add "extern" to start of variable declarations so |
| 2004 | we don't end up with commons. |
| 2005 | * parse.c: Define these variables. |
| 2006 | |
| 2007 | * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it |
| 2008 | as one. |
| 2009 | |
| 2010 | Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2011 | |
| 2012 | * alpha-tdep.c: Change value to value_ptr. |
| 2013 | |
| 2014 | Sun Mar 6 17:36:53 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2015 | |
| 2016 | * solib.c (elf_locate_base): New function to locate the address |
| 2017 | of the dynamic linker's runtime structure in the dynamic info section. |
| 2018 | * solib.c (locate_base): Use it instead of iterating over the list |
| 2019 | of mapped address segments. |
| 2020 | * solib.c (look_for_base, bfd_lookup_symbol): Removed, no longer |
| 2021 | necessary. |
| 2022 | |
| 2023 | Fri Mar 4 09:50:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 2024 | |
| 2025 | * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file. |
| 2026 | (pc_in_interrupt_handler): New function. Also add PARAM decl. |
| 2027 | (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for |
| 2028 | signal trampoline and interrupt routines. |
| 2029 | (frame_saved_pc): Handle signal trampolines and interrupt routines. |
| 2030 | (frame_chain, frame_chain_valid): Likewise. |
| 2031 | (hppa_frame_find_saved_regs): Likewise. Also deal with special |
| 2032 | saved regs convention for SP. |
| 2033 | |
| 2034 | * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define. |
| 2035 | (FRAME_BASE_BEFORE_SIGTRAMP): Define. |
| 2036 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define. |
| 2037 | |
| 2038 | * tm-hppah.h (IN_SIGTRAMP): Define. |
| 2039 | |
| 2040 | Thu Mar 3 12:41:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2041 | |
| 2042 | * ch-exp.y (match_simple_name_string): Accept '_' as well as an |
| 2043 | alphabetic character as the start of a name. |
| 2044 | |
| 2045 | * sparclite/Makefile.in (all install): Build and install aload. |
| 2046 | |
| 2047 | * configure.in: Accept i[34]86-*-*sysv32 because that is what |
| 2048 | config.guess and config.sub produce. |
| 2049 | |
| 2050 | * mips-tdep.c: Change value to value_ptr. |
| 2051 | |
| 2052 | Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2053 | |
| 2054 | * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c, |
| 2055 | cp-valprint.c, eval.c, expprint.c, findvar.c, language.c, |
| 2056 | objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c, |
| 2057 | valarith.c, valops.c, valprint.c, value.h, values.c: Replace |
| 2058 | value with value_ptr. This is for the ptx compiler. |
| 2059 | * objfiles.h, target.h: Don't declare a "sec_ptr" field using a |
| 2060 | "sec_ptr" typedef. |
| 2061 | * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff. |
| 2062 | #if 0 i386_float_info. |
| 2063 | * symm-tdep.c (round): Remove. Also remove sgttyb. |
| 2064 | * symm-tdep.c: Remove lots of stuff which duplicates stuff from |
| 2065 | i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb. |
| 2066 | * i386-tdep.c (i386_frame_find_saved_regs): Put in |
| 2067 | I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix |
| 2068 | someday. |
| 2069 | * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move |
| 2070 | stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to |
| 2071 | symm-nat.c. Define CHILD_WAIT and declare child_wait(). |
| 2072 | * config/i386/tm-symmetry.h: Remove call function stuff; stuff in |
| 2073 | tm-i386v.h is apparently OK. |
| 2074 | * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not |
| 2075 | HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and |
| 2076 | USE_O_NOCTTY. |
| 2077 | |
| 2078 | Wed Mar 2 11:31:08 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2079 | |
| 2080 | * osfsolib.c (xfer_link_map_member): Update to use new |
| 2081 | target_read_string interface. |
| 2082 | |
| 2083 | Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2084 | |
| 2085 | * infrun.c (wait_for_inferior): In checking |
| 2086 | remove_breakpoints_on_following_step, check |
| 2087 | through_sigtramp_breakpoint as well as step_resume_breakpoint. |
| 2088 | |
| 2089 | Tue Mar 1 16:22:56 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2090 | |
| 2091 | * os9kread.c (os9k_process_one_symbol): Rename |
| 2092 | VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK. |
| 2093 | * symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not |
| 2094 | (CORE_ADDR)0, from target_link, since that is what it uses. |
| 2095 | Process name at end, not during parsing (like we did before Kung's |
| 2096 | change), so that -readnow and -mapped can appear anywhere. |
| 2097 | Make text_relocation a local variable. |
| 2098 | * config/i386/i386os9k.mt: Fix comment. |
| 2099 | * Makefile.in (ALLDEPFILES): Add remote-os9k.c. |
| 2100 | * os9kread.c: Put "comments" after #endif inside /* */. |
| 2101 | * stabsread.h: Add os9k_stabs variable. |
| 2102 | * stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol): |
| 2103 | Set it. |
| 2104 | * stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol |
| 2105 | descriptor in global_symbols not local_symbols. |
| 2106 | (read_type): If os9k_stabs, accept 'c', 'i', and 'b' type |
| 2107 | descriptors. |
| 2108 | (read_type): If os9k_stabs, accept function parameters after 'f' |
| 2109 | type descriptor. |
| 2110 | (read_array_type): If os9k_stabs, don't expect index type and |
| 2111 | expect lower and upper to be separated by ',' not ';'. |
| 2112 | (read_enum_type): If os9k_stabs, read a number before the first |
| 2113 | enumeration constant. |
| 2114 | (os9k_init_type_vector): New function. |
| 2115 | (dbx_lookup_type): Call it when starting new type vector. |
| 2116 | * config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION. |
| 2117 | * (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol. |
| 2118 | * os9kstab.c: Removed. |
| 2119 | * Makefile.in: Update accordingly. |
| 2120 | * objfiles.c (objfile_relocate_data): Removed. |
| 2121 | * remote-os9k.c (rombug_wait): Call objfile_relocate |
| 2122 | not objfile_relocate_data. |
| 2123 | * objfiles.h, objfiles.c: Remove find_pc_objfile. |
| 2124 | * remote-os9k.c (rombug_wait): Call find_pc_section not |
| 2125 | find_pc_objfile. |
| 2126 | * main.c (quit_command): Check inferior_pid; revert Kung change. |
| 2127 | * remote-os9k.c (rombug_create_inferior): Set inferior_pid. |
| 2128 | |
| 2129 | Tue Mar 1 14:56:14 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 2130 | |
| 2131 | * os9kread.c: New file to read os9000 style symbo table. |
| 2132 | * os9kstab.c: new file to read os9000 style stabs. |
| 2133 | * remote-os9k.c: remote protocol talking to os9000 rombug monitor. |
| 2134 | * objfiles.c (find_pc_objfile): new function to search objfile |
| 2135 | from pc. |
| 2136 | * objfiles.c (objfile_relocate_data): new function to relocate |
| 2137 | data symbols in symbol table. |
| 2138 | * objfiles.h: Add two aux fields in struct objfile to handle |
| 2139 | multiple symbol table files situation like in os9000. |
| 2140 | * symfile.c: Change so 'symbol-file' command can handle multiple |
| 2141 | files. Also call target_link() to get relocation infos. |
| 2142 | * target.c (target_link): new function to get relocation info when |
| 2143 | a symbol file is requested to load. |
| 2144 | * main.c (quit_command): take out 'inferior_pid != 0' condition, |
| 2145 | because in cross mode there's no inferior pid, bit they need to |
| 2146 | be detached. |
| 2147 | Makefile.in: add os9kread.c os9kstab.c and .o's. |
| 2148 | configure.in: add i386os9k target. |
| 2149 | config/i386/i386os9k.mt: new add. |
| 2150 | config/i386/tm-i386os9k.h: new add. |
| 2151 | |
| 2152 | Tue Mar 1 13:16:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2153 | |
| 2154 | * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler. |
| 2155 | * sparc-tdep.c (sparc_frame_saved_pc): Handle ucbsigvechandler. |
| 2156 | |
| 2157 | Tue Mar 1 11:54:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2158 | |
| 2159 | * target.c, target.h (target_read_string): Provide error detection to |
| 2160 | caller. Put string in malloc'd space, so caller need not impose |
| 2161 | arbitrary limits. |
| 2162 | * solib.c (find_solib): Update to use new interface. |
| 2163 | * irix5-nat.c (find_solib): Read o_path from inferior |
| 2164 | (clear_solib): Free storage for o_path. |
| 2165 | * valprint.c (val_print_string): Add comments. |
| 2166 | |
| 2167 | Mon Feb 28 23:54:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2168 | |
| 2169 | * symtab.c (decode_line_1): Handle the case when skip_quoted does not |
| 2170 | advance `p'. |
| 2171 | |
| 2172 | Mon Feb 28 12:40:46 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2173 | |
| 2174 | * value.h (struct value): Add modifiable field. |
| 2175 | * values.c (allocate_value, record_latest_value, value_copy): Set it. |
| 2176 | (record_latest_value): Don't mess with VALUE_LVAL of value. |
| 2177 | * valops.c (value_assign): Check it. Reword existing error |
| 2178 | message on not_lval. |
| 2179 | |
| 2180 | * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h |
| 2181 | (STEP_SKIPS_DELAY): Added. |
| 2182 | * infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in |
| 2183 | the delay slot. |
| 2184 | |
| 2185 | * valprint.c (val_print_string): If errcode is set, always print |
| 2186 | an error, regardless of force_ellipsis. In the non-EIO case, |
| 2187 | just print the error message rather than calling error(). Don't |
| 2188 | access *(bufptr-1) if bufptr points to the start of the buffer. |
| 2189 | When looking for '\0', don't increment bufptr and addr if bufptr |
| 2190 | started out already at limit. If an error happens on fetching the |
| 2191 | first character, don't print the string. |
| 2192 | |
| 2193 | Sun Feb 27 21:05:06 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2194 | |
| 2195 | * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is |
| 2196 | obsolete. |
| 2197 | |
| 2198 | * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c, |
| 2199 | i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c |
| 2200 | config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, |
| 2201 | m88k-tdep.c: Use floatformat.h instead of ieee-float.h. |
| 2202 | * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff |
| 2203 | * findvar.c: Update comment regarding ieee-float.h. |
| 2204 | |
| 2205 | Sun Feb 27 21:39:48 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2206 | |
| 2207 | * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP, |
| 2208 | FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): |
| 2209 | Define to make backtracing through the various sigtramp handlers |
| 2210 | work. |
| 2211 | * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch |
| 2212 | the saved pc from ucontext on the stack for SVR4 signal handling. |
| 2213 | |
| 2214 | Fri Feb 25 09:41:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2215 | |
| 2216 | * remote.c, remote-mon.c, remote-utils.c, remote-utils.h, |
| 2217 | target.h, remote-es.c, remote-nindy.c: Don't set baud rate if |
| 2218 | baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate; |
| 2219 | just use the global variable itself. When printing baud rate, |
| 2220 | don't print a baud rate if baud_rate is -1. |
| 2221 | |
| 2222 | * coffread.c (read_coff_symtab): Pass mst_file_* to |
| 2223 | record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT |
| 2224 | symbols in the minimal symbols regardless of SDB_TYPE. |
| 2225 | |
| 2226 | Thu Feb 24 08:30:33 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2227 | |
| 2228 | * breakpoint.h (enum bptype): New type bp_through_sigtramp. |
| 2229 | (bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP. |
| 2230 | * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP |
| 2231 | if we hit a bp_through_sigtramp breakpoint. Remove kludge which |
| 2232 | ignored bs->stop for a bp_step_resume breakpoint. |
| 2233 | * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint |
| 2234 | which performs one (the check_sigtramp2 one) of the functions |
| 2235 | which had been handled by the step_resume_breakpoint. For each |
| 2236 | use of the step_resume_breakpoint, make it still use the |
| 2237 | step_resume_breakpoint, use the through_sigtramp_breakpoint, or |
| 2238 | operate on both. |
| 2239 | Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what. |
| 2240 | When setting the frame address of the step resume breakpoint, set |
| 2241 | it to the address for frame *before* the call instruction is |
| 2242 | executed, not after. |
| 2243 | |
| 2244 | * mips-tdep.c (mips_print_register): Print integers using |
| 2245 | print_scalar_formatted rather than duplicating all the |
| 2246 | CC_HAS_LONG_LONG and so on. |
| 2247 | (mips_push_dummy_frame): Use read_register_gen rather than using |
| 2248 | read_register and then putting it back in target format with |
| 2249 | store_unsigned_integer. If registers are more than 4 bytes, give |
| 2250 | an error rather than have some registers overwrite other |
| 2251 | registers. |
| 2252 | #if 0 unused include of opcode/mips.h. |
| 2253 | |
| 2254 | * symfile.h: Don't declare arguments for coff_getfilename. |
| 2255 | |
| 2256 | * defs.h: Revert Kung change regarding FORCE_LONG_LONG. |
| 2257 | |
| 2258 | Thu Feb 24 08:06:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 2259 | |
| 2260 | * configure.in (hppa*-*-osf*): New configuration. |
| 2261 | * config/pa/hppaosf.mt: New target makefile fragment. |
| 2262 | * config/pa/tm-hppao.h: New target include file. |
| 2263 | |
| 2264 | Thu Feb 24 04:29:19 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2265 | |
| 2266 | * exec.c (print_section_info): Print entry point for exec_bfd only. |
| 2267 | * ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case. |
| 2268 | * dwarfread.c: Remove second inclusion of <sys/types.h>, which |
| 2269 | causes problems if <sys/types.h> has no multiple inclusion protection. |
| 2270 | |
| 2271 | Wed Feb 23 16:28:55 1994 Jeffrey A. Law (law@cygnus.com) |
| 2272 | |
| 2273 | * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of |
| 2274 | the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1. |
| 2275 | (CALL_DUMMY_LENGTH): Changed accordingly. |
| 2276 | |
| 2277 | Wed Feb 23 16:21:25 1994 Stu Grossman (grossman at cygnus.com) |
| 2278 | |
| 2279 | * sparc-stub.c (trap_low): Make trap handler work for arbitrary |
| 2280 | numbers of register windows. |
| 2281 | |
| 2282 | * sparclite/hello.c: Add factorial function for testing. |
| 2283 | * salib.c: Use macros instead of constants for I/O addresses to |
| 2284 | make 931 support easier. |
| 2285 | * sparclite.h: Change constraint for LOC to "rJ" to force use of |
| 2286 | register in sta/lda instructions. |
| 2287 | |
| 2288 | Wed Feb 23 10:39:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com) |
| 2289 | |
| 2290 | * dbxread.c (process_one_symbol): Set |
| 2291 | block_address_function_relative for COFF like we do for ELF and SOM. |
| 2292 | |
| 2293 | Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2294 | |
| 2295 | * mdebugread.c (new_psymtab): Pass in section_offsets and set |
| 2296 | them in the pst. |
| 2297 | * mdebugread.c (handle_psymbol_enumerators): New function to enter |
| 2298 | the enumerators of an ecoff enum into the partial symbol table. |
| 2299 | * mdebugread.c (parse_partial_symbols): Call it. |
| 2300 | * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next. |
| 2301 | * symmisc.c (dump_psymtab): Fix typo, clean up output of section |
| 2302 | offsets. Cast psymtab->read_symtab to PTR before passing it to |
| 2303 | gdb_print_address. |
| 2304 | * i386-tdep.c (i386_skip_prologue): Skip over instructions that |
| 2305 | set up the global offset table pointer in pic compiled code. |
| 2306 | * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets, |
| 2307 | error() on TYPE_CODE_FLT arguments whose size is greater than 8, |
| 2308 | swap all other TYPE_CODE_FLT arguments as mips_push_arguments |
| 2309 | ensures that floats are promoted to doubles before they are pushed |
| 2310 | on the stack. |
| 2311 | |
| 2312 | Fri Feb 18 23:12:59 1994 Stu Grossman (grossman at cygnus.com) |
| 2313 | |
| 2314 | * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h: |
| 2315 | Fixup cache_on and flush_i_cache so that they work for both the |
| 2316 | 930 and 932 processors. Rewrite most low level funcs (uart |
| 2317 | access & cache stuff) to use new ASI access macros in sparclite.h. |
| 2318 | Also make it easy to access second serial port. |
| 2319 | |
| 2320 | Fri Feb 18 22:17:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 2321 | |
| 2322 | * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or |
| 2323 | <sys/stat.h>; not needed. |
| 2324 | |
| 2325 | Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2326 | |
| 2327 | * stack.c (print_frame_info): In "pathological" case, don't |
| 2328 | distrust the line number information. |
| 2329 | |
| 2330 | Fri Feb 18 16:51:14 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 2331 | |
| 2332 | * mips-tdep.c (mips_print_register): handle 64 bits register. |
| 2333 | * valprint.c (print_longest): fix a bug in printing 64 bits value. |
| 2334 | |
| 2335 | Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2336 | |
| 2337 | * Version 4.12.2. |
| 2338 | |
| 2339 | * Makefile.in (install): Do the sed for program_transform_name |
| 2340 | ourselves instead of worrying about INSTALL_XFORM. This enables |
| 2341 | users to override INSTALL_PROGRAM in the standard way. |
| 2342 | |
| 2343 | * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't |
| 2344 | depend on Makefile.in. |
| 2345 | |
| 2346 | * defs.h, valprint.c: Make longest_to_int a function not a macro. |
| 2347 | Only test against INT_MIN if a LONGEST is bigger than an int. |
| 2348 | |
| 2349 | * README: Change GhostScript to Ghostscript. |
| 2350 | |
| 2351 | Fri Feb 18 07:30:55 1994 Jim Kingdon (kingdon@cygnus.com) |
| 2352 | |
| 2353 | * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}: |
| 2354 | Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14 |
| 2355 | character file names. |
| 2356 | * Makefile.in (ALLPARAM): Add these files. |
| 2357 | |
| 2358 | * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14 |
| 2359 | character file names. |
| 2360 | * Makefile.in: Add Kung's new mips64 files. |
| 2361 | |
| 2362 | Thu Feb 17 17:25:47 1994 Kung Hsu (kung@mexican.cygnus.com) |
| 2363 | |
| 2364 | * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf, |
| 2365 | mips64el-*-ecoff and mips64-big-*. |
| 2366 | * defs.h: get rid of FORCE_LONG_LONG. |
| 2367 | * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction |
| 2368 | parsing. Change register size to be MIPS_REGSIZE. |
| 2369 | |
| 2370 | Thu Feb 17 09:30:22 1994 David J. Mackenzie (djm@thepub.cygnus.com) |
| 2371 | |
| 2372 | * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c, |
| 2373 | osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c, |
| 2374 | xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names. |
| 2375 | |
| 2376 | Fri Feb 11 21:47:24 1994 Steve Chamberlain (sac@sphagnum.cygnus.com) |
| 2377 | |
| 2378 | * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust. |
| 2379 | (remove_commands, add_commands): Add/remove hms-drain when target |
| 2380 | is connected. |
| 2381 | |
| 2382 | Fri Feb 11 16:11:38 1994 Stu Grossman (grossman at cygnus.com) |
| 2383 | |
| 2384 | * configure.in: Add Lynx/rs6000 support. |
| 2385 | * lynx-nat.c: Clean up some Sparc stuff. Clean up ptrace error |
| 2386 | messages. Add rs6000 support. Don't try to modify unwritable |
| 2387 | registers. |
| 2388 | * rs6000-nat.c: Move lots of native dependent stuff (like core |
| 2389 | file support) from rs6000-tdep.c & xcoffexec.c to here. |
| 2390 | * rs6000-tdep.c: Move native dependent stuff to nat.c. |
| 2391 | * xcoffexec.c: Move native dependent stuff to nat.c. |
| 2392 | * config/rs6000/nm-rs6000.h: Move defs of SOLIB_* macros to here |
| 2393 | from tm file. |
| 2394 | * config/rs6000/tm-rs6000.h: Remove defs of SOLIB_* funcs, cuz they're |
| 2395 | really native. |
| 2396 | * config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h: |
| 2397 | New files to support Lynx/rs6000. |
| 2398 | |
| 2399 | Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2400 | |
| 2401 | * README: Remove note about gcc warnings on alpha, these should be |
| 2402 | gone now. |
| 2403 | * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c, |
| 2404 | m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c |
| 2405 | remote-utils.c, stabsread.c: Include <string.h>. |
| 2406 | * regex.c: Include "defs.h", change re_comp argument to const char *. |
| 2407 | * infptrace.c (fetch_register, store_inferior_registers): Change |
| 2408 | regaddr to type CORE_ADDR. |
| 2409 | * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS): |
| 2410 | Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR. |
| 2411 | |
| 2412 | Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2413 | |
| 2414 | * symtab.h: Always define BYTE_BITFIELD to nothing. |
| 2415 | |
| 2416 | Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2417 | |
| 2418 | * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used. |
| 2419 | * configure.in: Remove comment about m68k-em.mt. |
| 2420 | * Makefile.in: Remove references. |
| 2421 | |
| 2422 | Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2423 | |
| 2424 | * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent |
| 2425 | BFD_HOST_64_TYPE. |
| 2426 | |
| 2427 | Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2428 | |
| 2429 | * target.c (target_preopen): If target_kill doesn't remove the |
| 2430 | target from the stack, use pop_target to do it. |
| 2431 | |
| 2432 | * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name |
| 2433 | of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar |
| 2434 | changes to stabsread.c from summer 1993. |
| 2435 | |
| 2436 | * remote-udi.c (udi_files_info): If prog_name is NULL, just skip |
| 2437 | printing the program, rather than passing NULL to printf. |
| 2438 | (udi_detach): Set udi_session_id to -1 so that udi_close doesn't |
| 2439 | try to call UDIDisconnect again. Print better message. |
| 2440 | (udi_kill): Just call UDIDisconnect ourselves, rather than doing |
| 2441 | it via udi_close. |
| 2442 | (udi_create_inferior): If udi_session_id is negative, open a new |
| 2443 | TIP rather than giving an error. |
| 2444 | |
| 2445 | * config/mips/mipsm3.mh, config/i386/i386m3.mh, |
| 2446 | config/ns32k/ns32km3.mh: Define NAT_FILE. |
| 2447 | * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H |
| 2448 | (it was inconsistent and namespace-wrong) to NM_M3_H. |
| 2449 | * m3-nat.c (mach_really_wait): Change parameter name to ourstatus. |
| 2450 | (m3_open): New function. |
| 2451 | (m3_ops): Use it. |
| 2452 | * TODO: Update Mach section. |
| 2453 | |
| 2454 | * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver. |
| 2455 | |
| 2456 | Sun Feb 6 13:26:21 1994 Per Bothner (bothner@kalessin.cygnus.com) |
| 2457 | |
| 2458 | * printcmd.c (printf_command): Add missing single-letter |
| 2459 | backslash-escape sequences, and improve error message. |
| 2460 | |
| 2461 | Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2462 | |
| 2463 | * corelow.c (solib_add_stub, core_open): Pass address of from_tty |
| 2464 | rather than trying to shove an int into a pointer and back out |
| 2465 | again. This avoids compiler warnings. |
| 2466 | |
| 2467 | * defs.h (alloca): Declare as void *, not char *, on hpux. |
| 2468 | Don't prototype it, just declare the return type. |
| 2469 | |
| 2470 | Sun Feb 6 03:25:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2471 | |
| 2472 | * config/i386/tm-sun386.h, config/i386/tm-symmetry.h |
| 2473 | (REGISTER_CONVERT_TO_RAW): Add missing backslash. |
| 2474 | |
| 2475 | Sat Feb 5 08:03:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2476 | |
| 2477 | * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or |
| 2478 | ZERO_REGNUM, just read it as zero without talking to the board. |
| 2479 | |
| 2480 | * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing |
| 2481 | backslash. |
| 2482 | * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type) |
| 2483 | to store_floating, not nonexistent variable len. |
| 2484 | |
| 2485 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): |
| 2486 | New functions. |
| 2487 | (mips_store_word): Change calling convention to return errors, and |
| 2488 | to provide old contents if the caller wants it. |
| 2489 | (mips_xfer_memory): Deal with errors from mips_store_word. |
| 2490 | * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT |
| 2491 | define now that remote-mips.c doesn't use BREAKPOINT. |
| 2492 | |
| 2493 | * remote-mips.c (mips_create_inferior): Call warning if arguments |
| 2494 | specified, and then execute "set args" command. Call error, not |
| 2495 | mips_error, if executable file not specified. |
| 2496 | |
| 2497 | * remote-e7000.c: Replace "snoop" command (e7000_noecho) with |
| 2498 | remote_debug. |
| 2499 | |
| 2500 | * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast |
| 2501 | to unsigned int. |
| 2502 | |
| 2503 | Sat Feb 5 05:27:05 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2504 | |
| 2505 | * value.h (print_longest): Rename "value" to "val" in prototype |
| 2506 | declaration because some compilers don't like arguments whose |
| 2507 | names are the same as types. |
| 2508 | * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char * |
| 2509 | before passing it to remote_*_bytes. |
| 2510 | |
| 2511 | Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com) |
| 2512 | |
| 2513 | * h8500-tdep.c (saved_pc_after_call): The size of the |
| 2514 | pc is memory model dependent. (segmented_command, |
| 2515 | unsegmented_command, _initialize_h8500_tdep): New commands to |
| 2516 | change memory model. |
| 2517 | * remote-e7000.c (_initialize_remote_e7000): Change name of snoop |
| 2518 | command. |
| 2519 | * remote-hms.c (hms_load): Remove breakpoints when loaded. |
| 2520 | (hms_wait): Use new status structure |
| 2521 | (hms_open): Push the target here. (hms_before_main_loop): Not |
| 2522 | here. (supply_val, hms_fetch_register, hms_store_register): Cope |
| 2523 | with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE. |
| 2524 | * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print |
| 2525 | all registers in a compact way. |
| 2526 | |
| 2527 | Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2528 | |
| 2529 | * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address |
| 2530 | as CORE_ADDR to match definition in rs6000-tdep.c. |
| 2531 | |
| 2532 | Fri Feb 4 01:14:20 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2533 | |
| 2534 | * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs. |
| 2535 | * dwarfread.c (add_partial_symbol): Do not enter opaque aggregate |
| 2536 | definitions into the psymtab. |
| 2537 | |
| 2538 | Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2539 | |
| 2540 | * m68k-stub.c: Treat mc68332 like mc68020 most places. Provide |
| 2541 | a special exceptionSize for the 68332. |
| 2542 | |
| 2543 | * remote-udi.c (udi_attach): If no arguments, print error. |
| 2544 | |
| 2545 | Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com) |
| 2546 | |
| 2547 | * Makefile.in (VERSION): Bump to 4.12.1 |
| 2548 | * NEWS, README: Update to match 4.12 release. |
| 2549 | |
| 2550 | Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2551 | |
| 2552 | * command.c (empty_sfunc): New function. |
| 2553 | (add_set_cmd): Use it instead of not_just_help_class_command. |
| 2554 | (not_just_help_class_command): Change calling convention back to |
| 2555 | what it was before yesterday's change. |
| 2556 | |
| 2557 | * stabsread.c (read_sun_builtin_type): Skip the semicolon at the end |
| 2558 | of the type if present. |
| 2559 | |
| 2560 | Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2561 | |
| 2562 | * printcmd.c (decode_format): Don't blithely set the size for |
| 2563 | an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT. |
| 2564 | |
| 2565 | * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h. |
| 2566 | If BFD64, make a LONGEST a BFD_HOST_64_BIT. |
| 2567 | * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead |
| 2568 | always just check against INT_MIN and INT_MAX (this also fixes things |
| 2569 | if sizeof (long) > sizeof (int), e.g. Alpha). |
| 2570 | * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h: |
| 2571 | Don't define LONGEST or BUILTIN_TYPE_LONGEST. |
| 2572 | * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and |
| 2573 | BUILTIN_TYPE_UNSIGNED_LONGEST. |
| 2574 | * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove |
| 2575 | longest_int and longest_unsigned_int. |
| 2576 | * value.h (struct value): Just align to LONGEST, rather than worrying |
| 2577 | about CC_HAS_LONG_LONG. |
| 2578 | * valarith.c (value_binop): Figure out type ourself based on |
| 2579 | sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The |
| 2580 | point is that we don't depend on CC_HAS_LONG_LONG anymore. |
| 2581 | * valprint.c (val_print_type_code_int): Just call |
| 2582 | extract_unsigned_integer directly, rather than going through |
| 2583 | unpack_long. |
| 2584 | * printcmd.c (decode_format): Remove code which would sometimes |
| 2585 | change 'g' size to 'w' for integers. print_scalar_formatted handles |
| 2586 | printing huge integers well enough, thank you. |
| 2587 | |
| 2588 | * command.c (add_set_cmd, not_just_help_class_command): Change |
| 2589 | to make this the sfunc, not cfunc, since that is how we call it. |
| 2590 | * command.h: Comment difference between sfunc and cfunc. |
| 2591 | * demangle.c (set_demangling_command): Add third arg since that |
| 2592 | is how it is called. |
| 2593 | (_initialize_demangler): Use sfunc, not cfunc, for |
| 2594 | set_demangling_command, since that is how it is called. |
| 2595 | Remove show_demangling_command; it has no effect. |
| 2596 | |
| 2597 | * command.c (shell_escape): Report errors correctly (with error |
| 2598 | message from strerror). |
| 2599 | |
| 2600 | Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 2601 | |
| 2602 | * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use |
| 2603 | x_scnlen.l rather than x_scnlen to match corresponding change in |
| 2604 | coff/internal.h. |
| 2605 | |
| 2606 | Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2607 | |
| 2608 | * gdbtypes.h, ch-typeprint.c, ch-valprint.c: |
| 2609 | Change comments regarding TYPE_CODE_BOOL. |
| 2610 | * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL, |
| 2611 | regardless of the language. |
| 2612 | (value_true): Just call value_logical_not regardless of language. |
| 2613 | * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type): |
| 2614 | Remove #if 0'd code which makes some enums TYPE_CODE_BOOL. |
| 2615 | * language.h: Improve comment for la_builtin_type_vector. |
| 2616 | * m2-lang.c (_initialize_m2_language): Don't add any fields to |
| 2617 | builtin_type_m2_bool. |
| 2618 | |
| 2619 | Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com) |
| 2620 | |
| 2621 | * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c: |
| 2622 | Define IN_SIGTRAMP and backtrace correctly through signal handlers. |
| 2623 | |
| 2624 | Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2625 | |
| 2626 | * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl |
| 2627 | by restarting the ioctl. |
| 2628 | |
| 2629 | Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2630 | |
| 2631 | * target.h (target_wait): Add comment about calling |
| 2632 | return_to_top_level. |
| 2633 | |
| 2634 | Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 2635 | |
| 2636 | * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes |
| 2637 | additional arguments. |
| 2638 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise. |
| 2639 | |
| 2640 | Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com) |
| 2641 | |
| 2642 | * sparc-stub.c: Remove unnecessary #include of memory.h. |
| 2643 | |
| 2644 | Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2645 | |
| 2646 | * mips-tdep.c: Remove code which sets saved_regs from |
| 2647 | init_extra_frame_info and put it in new function mips_find_saved_regs. |
| 2648 | (READ_FRAME_REG): Remove macro and replace uses with the expansion. |
| 2649 | * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs, |
| 2650 | check if it is NULL and call mips_find_saved_regs if so. |
| 2651 | |
| 2652 | * remote-mips.c: Use unfiltered, not filtered, output most places. |
| 2653 | |
| 2654 | * blockframe.c (get_prev_frame_info): Detect and stop an infinite |
| 2655 | backtrace. Revise comments. |
| 2656 | |
| 2657 | Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2658 | |
| 2659 | * mdebugread.c (parse_procedure): Remove _sigtramp kludges for |
| 2660 | alpha and irix. The _sigtramp case has to be handled properly |
| 2661 | in the tdep files if we have no ecoff debugging info. |
| 2662 | * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain), |
| 2663 | mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames |
| 2664 | without PC_REGNUM kludge. |
| 2665 | * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg): |
| 2666 | Clean up handling of mips sigtramp frames, improve comments. |
| 2667 | |
| 2668 | Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 2669 | |
| 2670 | * paread.c (read_unwind_info): Fix typo. |
| 2671 | |
| 2672 | * paread.c (pa_symtab_read): Update the "check_strange_names" |
| 2673 | filter to match GCC's current output. Filter out section symbols |
| 2674 | (which the HP linker sometimes puts in the wrong place). |
| 2675 | |
| 2676 | Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2677 | |
| 2678 | * serial.h (SERIAL_SET_TTY_STATE): Comment return value. |
| 2679 | |
| 2680 | * Makefile.in (TAGS): Just echo one line, rather than the whole thing. |
| 2681 | |
| 2682 | * Makefile.in: Remove all references to sparcly-nat.c. |
| 2683 | |
| 2684 | * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h |
| 2685 | remote-sim.h directly, rather than via $(remote_utils_h). This avoids |
| 2686 | duplicating serial.h and target.h. |
| 2687 | |
| 2688 | * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables |
| 2689 | are not used anywhere (a 5 Oct 1993 change removed the uses). |
| 2690 | |
| 2691 | * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o. |
| 2692 | * config/m68k/es1800.mt: Add comment. |
| 2693 | * remote-es.c: Extensive changes to update to current conventions. |
| 2694 | |
| 2695 | * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]: |
| 2696 | If the timeout is too big to fit in c_cc[VTIME], then do multiple reads |
| 2697 | to achieve the desired timeout. |
| 2698 | * serial.h (serial_t): Add field timeout_remaining. |
| 2699 | |
| 2700 | Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2701 | |
| 2702 | * c-exp.y (yylex): Reenable nested type code. |
| 2703 | |
| 2704 | Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2705 | |
| 2706 | * a29k-tdep.c (examine_tag): Add comment regarding argcount. |
| 2707 | |
| 2708 | * remote-mips.c (mips_ops): Fix docstring. |
| 2709 | |
| 2710 | * remote-bug.c (bug_ops): Remove spurious newline from docstring. |
| 2711 | |
| 2712 | * config/m68k/tm-monitor.h: Changes to bring this into accordance |
| 2713 | with the old tm-m68k-em.h: |
| 2714 | (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove. |
| 2715 | (HAVE_68881): Don't undefine; HAVE_68881 is obsolete. |
| 2716 | (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine. |
| 2717 | Add FIXME regarding GET_LONGJMP_TARGET. |
| 2718 | |
| 2719 | * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments. |
| 2720 | * infptrace.c (kill_inferior): Add comments. |
| 2721 | * main.c (quit_command): Call target_close after we kill or |
| 2722 | detach. |
| 2723 | * remote-udi.c (udi_close): Don't error() if QUITTING. |
| 2724 | |
| 2725 | Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com) |
| 2726 | |
| 2727 | * configure.in: Make m68k-coff and aout add monitor support in |
| 2728 | addition to the standard serial support. |
| 2729 | |
| 2730 | Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2731 | |
| 2732 | * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with |
| 2733 | index indexNil. |
| 2734 | |
| 2735 | Fri Jan 28 10:40:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2736 | |
| 2737 | * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS. |
| 2738 | * elfread.c (record_minimal_symbol_and_info), |
| 2739 | dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it. |
| 2740 | |
| 2741 | Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2742 | |
| 2743 | * i386-stub.c: Add ".text" right before "mem_fault:". |
| 2744 | |
| 2745 | * main.c (baud_rate): Add FIXME comment about printing -1 value. |
| 2746 | |
| 2747 | * remote-utils.c (usage): Fix message to be accurate and conform |
| 2748 | more closely to normal conventions. |
| 2749 | |
| 2750 | * remote-utils.c (gr_files_info): Have the exec_bfd test control |
| 2751 | whether to show information about exec_bfd, and not control whether |
| 2752 | to show information about device and speed. |
| 2753 | |
| 2754 | * remote-utils.c (gr_open): If sr_get_device returns NULL, give |
| 2755 | usage message, don't dump core. |
| 2756 | |
| 2757 | * remote-bug.c (bug_write_memory): Use alloca, not GCC extension |
| 2758 | for variable size array. |
| 2759 | (bug_fetch_register, bug_store_register): Rename "value" to |
| 2760 | "fpreg_buf" because some compilers don't like variables whose |
| 2761 | names are the same as types. |
| 2762 | (bug_store_register): Use a cast when converting char * to |
| 2763 | unsigned char *. |
| 2764 | |
| 2765 | * symmisc.c (maintenance_print_symbols): Don't refer to the name |
| 2766 | of the command in error message (the text was referring to the old |
| 2767 | name of the command). |
| 2768 | |
| 2769 | * symmisc.c (dump_symtab): Fix args to fprintf_filtered. |
| 2770 | |
| 2771 | * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print |
| 2772 | full details on structure elements without names. This partially |
| 2773 | reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect |
| 2774 | of those changes was accidental. |
| 2775 | |
| 2776 | * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is |
| 2777 | defined, make it an error to specify a single argument which is not |
| 2778 | a frame number. |
| 2779 | |
| 2780 | * Makefile.in (version.c), main.c (print_gdb_version): Use |
| 2781 | host_alias and target_alias, not host_canonical and |
| 2782 | target_canonical, to print configuration. |
| 2783 | |
| 2784 | Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2785 | |
| 2786 | * parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead |
| 2787 | of builtin_type_long. It is necessary to get a type which is |
| 2788 | TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough. |
| 2789 | |
| 2790 | Fix many sins which will come up in 32 bit x 64 bit GDB, and |
| 2791 | various miscellaneous things discovered in the process: |
| 2792 | * printcmd.c, defs.h (print_address_numeric): New function. |
| 2793 | * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print) |
| 2794 | breakpoint.c (describe_other_breakpoints, breakpoint_1, mention), |
| 2795 | cp-valprint.c (cplus_print_value), infcmd.c (jump_command), |
| 2796 | printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c: |
| 2797 | Use it. |
| 2798 | * utils.c, defs.h (gdb_print_address): New function. |
| 2799 | * expprint (dump_expression), gdbtypes.h: Use it. |
| 2800 | * breakpoint.c (describe_other_breakpoints), |
| 2801 | symmisc.c (dump_symtab, print_symbol): |
| 2802 | Use filtered not unfiltered I/O. |
| 2803 | (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well |
| 2804 | just run gdb under a debugger for this (and it had problems with |
| 2805 | printing addresses, how to print b->shadow, etc.). |
| 2806 | * buildsym.c (make_blockvector), core.c (memory_error), |
| 2807 | exec.c (print_section_info), maint.c (print_section_table), |
| 2808 | mdebugread.c (parse_procedure), solib.c, source.c, symfile.c, |
| 2809 | symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c: |
| 2810 | Add comments saying code is broken. Marked with "FIXME-32x64". |
| 2811 | * dbxread.c (process_one_symbol), partial-stab.h (default), |
| 2812 | remote-vx.c (vx_run_files_info): |
| 2813 | Don't cast int being passed to local_hex_string. |
| 2814 | * symmisc.c (print_symbol): Don't cast long being passed to %lx. |
| 2815 | * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE |
| 2816 | only being a long. |
| 2817 | * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG |
| 2818 | and LOC_LOCAL. |
| 2819 | * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE. |
| 2820 | * source.c: Include <sys/types.h> regardless of USG. |
| 2821 | |
| 2822 | Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2823 | |
| 2824 | * valops.c (value_assign): Set `type' after coercing toval. |
| 2825 | * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print): |
| 2826 | Use extract_unsigned_integer to get the address of a reference. |
| 2827 | |
| 2828 | Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2829 | |
| 2830 | * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h: |
| 2831 | AIX can use ? instead of \ for continuation. Deal with it. |
| 2832 | |
| 2833 | * paread.c (read_unwind_info): Just assign to objfile->obj_private, |
| 2834 | not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which |
| 2835 | the HP compiler in ANSI mode doesn't like. |
| 2836 | |
| 2837 | * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it |
| 2838 | based on USG, rather than defining HAVE_SIGSETMASK to an |
| 2839 | expression containing defined. Having a macro used in #if expand |
| 2840 | to an expression containing "defined" is undefined according to |
| 2841 | ANSI, and the HP compiler in ANSI mode doesn't do what we wanted |
| 2842 | it to. |
| 2843 | |
| 2844 | Mon Jan 24 20:51:29 1994 John Gilmore (gnu@cygnus.com) |
| 2845 | |
| 2846 | * sparc-nat.c (fetch_inferior_registers, store_inferior_registers): |
| 2847 | Clean up the changes of 11 Jan, as recommended by Peter Schauer. |
| 2848 | |
| 2849 | Fri Jan 21 19:10:44 1994 Per Bothner (bothner@kalessin.cygnus.com) |
| 2850 | |
| 2851 | * ch-exp.y (match_string_literal): Allow a zero-length string. |
| 2852 | * ch-lang.c (chill_printstr): Don't print zero-length string funny. |
| 2853 | |
| 2854 | Sat Jan 22 17:08:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2855 | |
| 2856 | * i386aix-nat.c (i386_float_info): Reverse order of registers before |
| 2857 | passing them to print_387_status. |
| 2858 | (print_387_status): Don't subtract top from 7 before using it. |
| 2859 | * i387-tdep.c: Remove comment about AIX wanting "top" subtracted |
| 2860 | from 7; the above explains it. |
| 2861 | |
| 2862 | Sat Jan 22 20:25:11 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2863 | |
| 2864 | * mips-tdep.c (init_extra_frame_info): Use frame relative stack |
| 2865 | pointer value when fixing up the frame at the start of a function. |
| 2866 | |
| 2867 | Sat Jan 22 12:29:13 1994 Stu Grossman (grossman at cygnus.com) |
| 2868 | |
| 2869 | * lynx-nat.c (fetch_core_registers): Load the I & L regs for the |
| 2870 | Sparc from the stack. |
| 2871 | |
| 2872 | Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 2873 | |
| 2874 | * remote-mips.c (mips_initialize): Clear mips_initializing via |
| 2875 | cleanup chain, not directly. |
| 2876 | |
| 2877 | * ser-unix.c (wait_for) [HAVE_TERMIO, HAVE_TERMIOS]: Make a timeout |
| 2878 | of -1 mean forever, like in the HAVE_SGTTY case. Warn if we are |
| 2879 | munging the timeout due to the limited range of c_cc[VTIME]. |
| 2880 | |
| 2881 | * fork-child.c, inferior.h (fork_inferior): New argument shell_file. |
| 2882 | * procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior), |
| 2883 | m3-nat.c (m3_create_inferior): Pass it. |
| 2884 | * procfs.c: Remove ptrace function. It was declared in a way which |
| 2885 | conflicted with the prototype in unistd.h on Solaris. |
| 2886 | |
| 2887 | Sat Jan 22 01:37:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2888 | |
| 2889 | * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc |
| 2890 | in the sigcontext if it is a signal trampoline frame. |
| 2891 | * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET): |
| 2892 | Define for Solaris2. |
| 2893 | |
| 2894 | Sat Jan 22 00:34:47 1994 Stu Grossman (grossman at cygnus.com) |
| 2895 | |
| 2896 | * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h, |
| 2897 | config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to |
| 2898 | tm-sparc.h so they can be overridden if necessary. |
| 2899 | |
| 2900 | Fri Jan 21 17:49:28 1994 Stu Grossman (grossman at cygnus.com) |
| 2901 | |
| 2902 | * lynx-nat.c: Add Sparc support. |
| 2903 | * sparcly-nat.c: Remove. It's useless. |
| 2904 | * config/sparc/nm-sparclynx.h: Rewrite. |
| 2905 | * config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o |
| 2906 | with lynx-nat.o |
| 2907 | * config/sparc/tm-sparclynx.h: Rewrite. |
| 2908 | |
| 2909 | Fri Jan 21 19:08:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 2910 | |
| 2911 | * rs6000-pinsn.c: Use the new disassembler in the opcodes |
| 2912 | directory. Old code was discarded, since the new opcode table has |
| 2913 | a different format. |
| 2914 | |
| 2915 | Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com) |
| 2916 | |
| 2917 | * Makefile.in (realclean): Remove info files per make-stds.texi. |
| 2918 | |
| 2919 | Fri Jan 21 12:47:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2920 | |
| 2921 | * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh |
| 2922 | if N_SO_ADDRESS_MAYBE_MISSING is defined. |
| 2923 | * config/sparc/tm-sun4sol2.h: Define it. |
| 2924 | |
| 2925 | Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2926 | |
| 2927 | * printcmd.c (print_address_symbolic): Unconditionally use msymbol |
| 2928 | if we did not find a symbol. |
| 2929 | |
| 2930 | Fri Jan 21 08:20:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 2931 | |
| 2932 | * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY |
| 2933 | is not defined. |
| 2934 | |
| 2935 | * hppab-nat.c (call_ptrace): Delete redundant function. |
| 2936 | (kill_inferior, attach, detach, child_resume): Likewise. |
| 2937 | (child_xfer_memory): Likewise. |
| 2938 | |
| 2939 | * hppah-nat.c (call_ptrace): Delete redundant function. |
| 2940 | (kill_inferior, attach, detach, child_resume): Likewise. |
| 2941 | |
| 2942 | * config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o. |
| 2943 | |
| 2944 | * config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o. |
| 2945 | |
| 2946 | * config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define. |
| 2947 | |
| 2948 | * config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define. |
| 2949 | (CHILD_XFER_MEMORY): Define. |
| 2950 | (PT_*): Define so that generic infptrace.c code can be used. |
| 2951 | |
| 2952 | Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2953 | |
| 2954 | * xcoffread.c (xcoff_symfile_read): Make second parameter a |
| 2955 | struct section_offsets *, not a (nonexistent) struct section_offset *. |
| 2956 | |
| 2957 | * xcoffread.c (read_xcoff_symtab): Make main_aux just a union |
| 2958 | internal_xcoff_symtab, not an array of one of them. Change lots of |
| 2959 | "main_aux" to "&main_aux" and so on. |
| 2960 | |
| 2961 | * coffread.c, xcoffread.c: Include <coff/internal.h> |
| 2962 | before "symfile.h". |
| 2963 | |
| 2964 | Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2965 | |
| 2966 | * coffread.c (coff_getfilename): Make it not static. |
| 2967 | |
| 2968 | * xcoffread.c (read_xcoff_symtab): complain() not abort(). |
| 2969 | |
| 2970 | * xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes |
| 2971 | a completely gratuitous difference between xcoffread.c and coffread.c). |
| 2972 | |
| 2973 | Wed Jan 19 15:09:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 2974 | |
| 2975 | * infrun.c (wait_for_inferior): Don't set frame for |
| 2976 | step_resume_breakpoint for IN_SIGTRAMP cases. |
| 2977 | |
| 2978 | * infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what), |
| 2979 | breakpoint.c (bpstat_what): Move step_resume from its own field of |
| 2980 | the struct bpstat_what into the main_action. Make it override |
| 2981 | other breakpoints. This is a conservative change in the sense |
| 2982 | that before the step resume breakpoint was a breakpoint.c |
| 2983 | breakpoint, hitting the step resume breakpoint overrode even |
| 2984 | calling bpstat_stop_status. |
| 2985 | |
| 2986 | Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 2987 | |
| 2988 | * infrun.c (normal_stop): Set stop_pc after popping the dummy frame |
| 2989 | in case execution was stopped in the called function. |
| 2990 | * stack.c (print_frame_info, frame_info): If backtracing through |
| 2991 | a call dummy, handle the starting source line number on a line |
| 2992 | boundary like backtracing through sigtramp. |
| 2993 | * sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address |
| 2994 | for call dummy frame right. Remove old test for dummy frame, |
| 2995 | it has been unused at least since gdb-3.5. |
| 2996 | * sparc-tdep.c (sparc_push_dummy_frame): Set return address register |
| 2997 | of the dummy frame. |
| 2998 | |
| 2999 | Tue Jan 18 16:16:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3000 | |
| 3001 | * infcmd.c (signal_command): Accept 0 as legitimate signal number. |
| 3002 | |
| 3003 | Tue Jan 18 14:09:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 3004 | |
| 3005 | * infrun.c (signals_info), target.c (target_signal_from_name): |
| 3006 | Use ugly casts to avoid enumvar < enumvar or enumvar++. |
| 3007 | |
| 3008 | Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3009 | |
| 3010 | * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON. |
| 3011 | * inflow.c (terminal_ours_1): When discussing how to deal with the |
| 3012 | tty state, make note of query() as well as readline. |
| 3013 | |
| 3014 | * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of |
| 3015 | signals for which stop and print are cleared by default. |
| 3016 | |
| 3017 | Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 3018 | |
| 3019 | * config/pa/tm-hppa.h (unwind_table_entry): Use one of the |
| 3020 | reserved fields to hold a stub unwind entry type. Fix typo. |
| 3021 | (stub_unwind_entry): New structure for raw stub unwind entries. |
| 3022 | (stub_unwind_types): The types of stubs we may encounter. |
| 3023 | (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines. |
| 3024 | * hppa-tdep.c (rp_saved): Use additional information provided |
| 3025 | by linker stub unwind descriptors. |
| 3026 | (frameless_function_invocation): Likewise. |
| 3027 | (frame_chain_valid): Likewise. |
| 3028 | * paread.c (compare_unwind_entries): New function for sorting |
| 3029 | unwind table entries. |
| 3030 | (read_unwind_info): Rewrite to remove dependency on host endianness. |
| 3031 | Read in data from the $UNWIND_END$ subspace which contains linker |
| 3032 | stub unwind descriptors. Merge that data into the basic unwind |
| 3033 | table. |
| 3034 | |
| 3035 | * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions. |
| 3036 | |
| 3037 | Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3038 | |
| 3039 | * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name |
| 3040 | from either the symbol name or the auxent. |
| 3041 | * coffread.c, symfile.h (coff_getfilename): Renamed from getfilename, |
| 3042 | no longer static. |
| 3043 | |
| 3044 | Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com) |
| 3045 | |
| 3046 | * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h. |
| 3047 | |
| 3048 | Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 3049 | |
| 3050 | * README: Update notes for alpha port. |
| 3051 | |
| 3052 | Mon Jan 17 11:15:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3053 | |
| 3054 | * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL |
| 3055 | for operation fault, constraint fault, and type fault. |
| 3056 | |
| 3057 | Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3058 | |
| 3059 | * Makefile.in (init.c): Add comment explaining formatting conventions. |
| 3060 | |
| 3061 | * c-exp.y (parse_number): Assign to temporary between the right |
| 3062 | shifts, to work around a bug in the SCO compiler. |
| 3063 | |
| 3064 | * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR): |
| 3065 | Add various files which were added to GDB recently. |
| 3066 | |
| 3067 | * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not |
| 3068 | within_function. |
| 3069 | |
| 3070 | * Makefile.in: Add mostlyclean target. |
| 3071 | |
| 3072 | Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3073 | |
| 3074 | * Version 4.11.4. |
| 3075 | |
| 3076 | Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com) |
| 3077 | |
| 3078 | * main.c (show_commands): Make return type of extern |
| 3079 | history_get be HIST_ENTRY, rather than struct _hist_entry. |
| 3080 | (The latter loses with the upcoming merged readline.) |
| 3081 | |
| 3082 | Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3083 | |
| 3084 | * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring |
| 3085 | const char *, not char *. |
| 3086 | |
| 3087 | * symtab.h (struct symbol): Make section short, not unsigned short. |
| 3088 | |
| 3089 | * symtab.c (lookup_symbol): Add comment about QUIT here. |
| 3090 | |
| 3091 | * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered. |
| 3092 | |
| 3093 | * c-exp.y (parse_number): Check for overflow regardless of range |
| 3094 | checking. Fix overflow check to use unsigned LONGEST, not |
| 3095 | unsigned int. |
| 3096 | |
| 3097 | * c-exp.y (parse_number): Make it so that integer constants are |
| 3098 | builtin_type_long_long if builtin_type_long isn't big enough or if |
| 3099 | an "LL" suffix is used. Properly handle "UL" or "LU" suffixes. |
| 3100 | |
| 3101 | * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC): |
| 3102 | Print our "()" first, then recurse for the target type. |
| 3103 | |
| 3104 | Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3105 | |
| 3106 | * remote-udi.c (udi_create_inferior): Quote empty execfile argument. |
| 3107 | |
| 3108 | * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h". |
| 3109 | |
| 3110 | Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3111 | |
| 3112 | * utils.c (request_quit): Re-establish signal handler regardless |
| 3113 | of USG. |
| 3114 | |
| 3115 | * config/mips/xm-irix4.h: Define HAVE_TERMIOS. |
| 3116 | |
| 3117 | Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3118 | |
| 3119 | * i960-tdep.c: Include target.h. |
| 3120 | |
| 3121 | Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 3122 | |
| 3123 | * lynx-nat.c (sys/wait.h): Don't use absolute pathname. |
| 3124 | |
| 3125 | Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 3126 | |
| 3127 | * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus |
| 3128 | changes (status -> ourstatus; declare status, etc.). |
| 3129 | * config/nm-lynx.h: Fix child_wait prototype and include target.h. |
| 3130 | |
| 3131 | Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3132 | |
| 3133 | * Makefile.in (ALLPARAM): Add config/nm-lynx.h. |
| 3134 | |
| 3135 | Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 3136 | |
| 3137 | * remote-mips.c (mips_request, mips_wait): Correct prototypes. |
| 3138 | |
| 3139 | Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3140 | |
| 3141 | * config/i386/xm-linux.h: Define HAVE_TERMIOS. |
| 3142 | |
| 3143 | Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 3144 | |
| 3145 | * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment. |
| 3146 | |
| 3147 | Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3148 | |
| 3149 | * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960 |
| 3150 | is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN. |
| 3151 | |
| 3152 | * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before |
| 3153 | writing it. |
| 3154 | |
| 3155 | Add search to target vector (#if 0'd until after 4.12): |
| 3156 | * target.h (to_search, target_search): Add. |
| 3157 | * gdbcore.h, core.c (generic_search): Add. |
| 3158 | * remote.c (remote_search): Add. |
| 3159 | * a29k-tdep.c (init_frame_info): Use target_search to find traceback |
| 3160 | tag. |
| 3161 | |
| 3162 | * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr |
| 3163 | is on, call find_pc_function rather than relying just on the minimal |
| 3164 | symbols (probably only matters for symbol readers which don't put |
| 3165 | statics in the minimal symbols, but changing this strikes me as |
| 3166 | not conservative enough). |
| 3167 | Initialize name_location in all cases. |
| 3168 | If no symbol and no msymbol, don't print anything symbolic. |
| 3169 | |
| 3170 | * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0. |
| 3171 | |
| 3172 | Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com) |
| 3173 | |
| 3174 | * printcmd.c (print_address_symbolic): Make it search the |
| 3175 | symtabs for variables as well as functions. Add `set print |
| 3176 | fast-symbolic-addr' and default it to fast (the old way). |
| 3177 | Print line numbers for data items as well as functions. |
| 3178 | |
| 3179 | * symtab.c (find_addr_symbol): Return the symtab and the symbol |
| 3180 | address, if a symbol is found (take two more args pointing to |
| 3181 | where to store these results). |
| 3182 | |
| 3183 | * symtab.h (find_addr_symbol): Add prototype. |
| 3184 | |
| 3185 | Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3186 | |
| 3187 | * objfiles.h: Fix comments to reflect the fact that the phrase |
| 3188 | "top of stack" always refers to where the pushing and popping takes |
| 3189 | place, regardless of whether it is at the highest or lowest address. |
| 3190 | |
| 3191 | Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 3192 | |
| 3193 | * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for |
| 3194 | compiler generated tag names. |
| 3195 | * mdebugread.c (parse_type): Handle cross references to qualified |
| 3196 | aggregate types. |
| 3197 | * valops.c (value_struct_elt): Improve error message if the |
| 3198 | address of a method is requested from an object instance. |
| 3199 | * valops.c (search_struct_method): Make name_matched non-static |
| 3200 | to get it initialized correctly. |
| 3201 | * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to |
| 3202 | exclude segment register which are not writable on newer SCO versions. |
| 3203 | |
| 3204 | Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3205 | |
| 3206 | * go32-xdep.c: Remove unused function uerror. |
| 3207 | (sigsetmask): Declare return type. Declare argument (to match the |
| 3208 | way it is called). Explicitly return 0. |
| 3209 | |
| 3210 | Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com) |
| 3211 | |
| 3212 | * symtab.h (struct symbol, general_symbol_info, minimal_symbol, |
| 3213 | partial_symbol): Shrink the storage sizes of symbols, by making |
| 3214 | enums into 1-byte bitfields when compiled __GNUC__, moving all the |
| 3215 | enums and small ints to the end of each struct to improve |
| 3216 | alignment, and switching the section number from int to unsigned |
| 3217 | short. |
| 3218 | |
| 3219 | Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com) |
| 3220 | |
| 3221 | * symtab.c (find_addr_symbol): New routine that will find the nearest |
| 3222 | symbol associated with an address. It does so by exhaustive |
| 3223 | search of the symtabs, so it's slow but complete. |
| 3224 | |
| 3225 | Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com) |
| 3226 | |
| 3227 | * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab |
| 3228 | to [0,0] rather than [0, end of first source file]. This avoids |
| 3229 | problems with other parts of GDB looking for linetables in the |
| 3230 | _globals_ symtab. Eliminate variables num_object_files and |
| 3231 | first_object_file_end. |
| 3232 | |
| 3233 | Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com) |
| 3234 | |
| 3235 | * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag. |
| 3236 | (pop_frame): Restore PC2 and LR0 from dummy frames. |
| 3237 | (push_dummy_frame): Save PC2 and LR0 into dummy frames. |
| 3238 | (setup_arbitrary_frame): Handle 3 args and set up real frames. |
| 3239 | * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments. |
| 3240 | (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0. |
| 3241 | (SETUP_ARBITRARY_FRAME): Define. |
| 3242 | |
| 3243 | Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 3244 | |
| 3245 | * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START. |
| 3246 | |
| 3247 | Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
| 3248 | |
| 3249 | * remote-udi.c (udi_resume): Correct prototype. |
| 3250 | |
| 3251 | Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
| 3252 | |
| 3253 | * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call |
| 3254 | hppa_frame_find_saved_regs. |
| 3255 | * hppa-tdep.c (dig_fp_from_stack): Delete function. |
| 3256 | (prologue_inst_adjust_sp): New function. |
| 3257 | (is_branch, inst_saves_gr, inst_saves_fr): New functions. |
| 3258 | (skip_prologue): Completely rewrite to use unwind information. |
| 3259 | (hppa_frame_find_saved_regs): Likewise. |
| 3260 | |
| 3261 | Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 3262 | |
| 3263 | * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol |
| 3264 | to convert a signal number with appropriate bounds checking. |
| 3265 | |
| 3266 | * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377). |
| 3267 | |
| 3268 | Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com) |
| 3269 | |
| 3270 | * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined, |
| 3271 | print a newline to end the display anyway. |
| 3272 | |
| 3273 | * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and |
| 3274 | coprocessor status regs) when popping a frame. This fixes |
| 3275 | float exceptions that occur after calling inferior functions. |
| 3276 | |
| 3277 | * sparc-nat.c (fetch_inferior_registers, store_inferior_registers): |
| 3278 | Read and write the fsr (float status register) to/from the child |
| 3279 | process along with the float regs. Remove Peter Schauer's change |
| 3280 | of May 24 '93, which has higher overhead and doesn't solve the |
| 3281 | real problem (which was that FSR wasn't being set). |
| 3282 | |
| 3283 | Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com) |
| 3284 | |
| 3285 | * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ |
| 3286 | stack overflow check isn't right after the register stack |
| 3287 | adjustment instruction. Metaware R2.3u compiler moves other |
| 3288 | things in front of it. This fix isn't perfect but is what's |
| 3289 | running. |
| 3290 | |
| 3291 | Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 3292 | |
| 3293 | * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT. |
| 3294 | |
| 3295 | * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14 |
| 3296 | character filenames. |
| 3297 | * configure.in: Change accordingly. |
| 3298 | |
| 3299 | Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com) |
| 3300 | |
| 3301 | * m68k-stub.c, sparc-stub.c: removed spurious introduction of |
| 3302 | _filtered io routines from these two files. |
| 3303 | |
| 3304 | Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 3305 | |
| 3306 | * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h, |
| 3307 | config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define. |
| 3308 | * mdebugread.c (parse_symbol): Handle enum sh.type produced by |
| 3309 | DEC c89. |
| 3310 | * mdebugread.c (add_line): Handle zero linenos produced by DEC c89. |
| 3311 | |
| 3312 | Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3313 | |
| 3314 | * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before |
| 3315 | printing to gdb_stderr. |
| 3316 | |
| 3317 | * remote-udi.c (udi_kill): Don't close the connection, just set |
| 3318 | inferior_pid to zero. |
| 3319 | (udi_mourn): Call remove_breakpoints. |
| 3320 | |
| 3321 | * remote-udi.c: Remove obsolete need_artificial_traps comment. |
| 3322 | |
| 3323 | * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc. |
| 3324 | |
| 3325 | Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
| 3326 | |
| 3327 | * symtab.c (lookup_symbol): Don't try adding .c to the name. |
| 3328 | |
| 3329 | * remote-bug.c: At the start of each section, reset srec_frame |
| 3330 | back to 160. |
| 3331 | |
| 3332 | * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS. |
| 3333 | * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook. |
| 3334 | * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with |
| 3335 | code which looks for those two waitkinds. Use switch statement. |
| 3336 | * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with |
| 3337 | CHILD_SPECIAL_WAITSTATUS. |
| 3338 | |
| 3339 | * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes. |
| 3340 | * Move target_signal_from_host, target_signal_to_host, and |
| 3341 | store_waitstatus from inftarg.c to target.c. procfs needs them. |
| 3342 | * target.c: Include "wait.h" and <signal.h>. |
| 3343 | * target.h, infrun.c (proceed), proceed callers: Pass new code |
| 3344 | TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with |
| 3345 | enums being treated as unsigned and is cleaner. |
| 3346 | * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or |
| 3347 | TARGET_SIGNAL_0. |
| 3348 | * infcmd.c (signal_command), infrun.c (signals_info): |
| 3349 | Don't allow user to specify numeric equivalent of |
| 3350 | TARGET_SIGNAL_DEFAULT. |
| 3351 | |
| 3352 | Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com) |
| 3353 | |
| 3354 | * config/alpha/alpha-netware.mt: New target support for Alpha |
| 3355 | running Netware. |
| 3356 | * configure.in: Add alpha-*-netware* target. |
| 3357 | |
| 3358 | Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 3359 | |
| 3360 | * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED. |
| 3361 | |
| 3362 | Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3363 | |
| 3364 | * target.h: Add enum target_waitkind, enum target_signal, and |
| 3365 | struct target_waitstatus. Change status argument to target_wait to |
| 3366 | be struct target_waitstatus * instead of int *. |
| 3367 | * target.h, infrun.c, all targets: Change type of signal arguments |
| 3368 | to resume(), proceed(), and target_resume() from int to enum |
| 3369 | target_signal. |
| 3370 | * All targets (*_wait, *_resume): Change accordingly. |
| 3371 | * infcmd.c (program_info, signal_command), throughout infrun.c, |
| 3372 | * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff. |
| 3373 | * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex |
| 3374 | signal code stuff right with the new signals would be non-trivial). |
| 3375 | * inferior.h (stop_signal): Make it enum target_signal not int. |
| 3376 | * target.c, target.h (target_signal_to_string, target_signal_to_name, |
| 3377 | target_signal_from_name): New functions. |
| 3378 | * inftarg.c, target.h (target_signal_to_host, target_signal_from_host, |
| 3379 | store_waitstatus): New functions. |
| 3380 | * procfs.c (procfs_notice_signals): Use them. |
| 3381 | * i960-tdep.c (i960_fault_to_signal): New function, to replace |
| 3382 | print_fault. |
| 3383 | * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL. |
| 3384 | |
| 3385 | * objfiles.c (build_objfile_section_table): Don't abort() if |
| 3386 | objfile->sections is already set. |
| 3387 | |
| 3388 | * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD |
| 3389 | to match recent change to exec.c. |
| 3390 | |
| 3391 | * Version 4.11.3. |
| 3392 | |
| 3393 | * main.c (print_gdb_version): Change year to 1994. |
| 3394 | |
| 3395 | * ChangeLog, ChangeLog-93: Split ChangeLog at 1994. |
| 3396 | * Makefile.in (NONSRC): Add ChangeLog-93. |
| 3397 | |
| 3398 | Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3399 | |
| 3400 | * stabsread.c (read_type): Allow defining several type numbers |
| 3401 | at once (e.g. "(1,2)=(3,4)="...). |
| 3402 | |
| 3403 | * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int). |
| 3404 | |
| 3405 | * breakpoint.c (frame_in_dummy): Check PC as well as frame. |
| 3406 | |
| 3407 | Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 3408 | |
| 3409 | * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols |
| 3410 | to process_one_symbol. |
| 3411 | * symtab.c (find_pc_psymbol): Search global_psymbols as well to |
| 3412 | avoid caching a bad endaddr in find_pc_partial_function. |
| 3413 | |
| 3414 | Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
| 3415 | |
| 3416 | * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION. |
| 3417 | |
| 3418 | Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
| 3419 | |
| 3420 | * infrun.c (wait_for_inferior): Do not step or step resume past |
| 3421 | the end of a one-line function we just stepped into. |
| 3422 | |
| 3423 | For older changes see ChangeLog-93 |
| 3424 | \f |
| 3425 | Local Variables: |
| 3426 | mode: indented-text |
| 3427 | left-margin: 8 |
| 3428 | fill-column: 74 |
| 3429 | version-control: never |
| 3430 | End: |