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