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