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