Lots of changes from Jeff Law for HPPA support:
[platform/upstream/binutils.git] / gdb / ChangeLog
1 Fri Jun 11 18:39:38 1993  Ken Raeburn  (raeburn@cygnus.com)
2
3         Patches from Jeff Law, law@cs.utah.edu:
4         * hppa-pinsn.c: Now uses disassembler from opcode library,
5         this contains only the stub function print_insn.
6
7 Fri Jun 11 15:19:59 1993  K. Richard Pixley  (rich@cygnus.com)
8
9         * main.c (main): back to two periods for elipse.
10           (print_gdb_version): revised format for configuration info.
11
12 Fri Jun 11 10:17:41 1993  Jim Kingdon  (kingdon@cygnus.com)
13
14         * dbxread.c (process_one_symbol): Rather than having
15         BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
16         is true if we are doing stabs-in-elf, false otherwise.
17         config/sparc/tm-sun4sol2.h: Don't define it.
18
19 Fri Jun 11 13:33:40 1993  Ian Lance Taylor  (ian@cygnus.com)
20
21         * remote-mips.c (mips_send_packet): Don't print garbage character
22         in debugging info.
23         (mips_request): Don't check that remote pid is 0, because
24         sometimes it isn't.
25         (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
26         not an integer.
27
28 Fri Jun 11 10:17:41 1993  Jim Kingdon  (kingdon@cygnus.com)
29
30         * stack.c (print_frame_info): Use catch_errors around print_frame_args.
31
32         * Makefile.in (install): Don't depend on gdb.
33
34         * Rename remote-es1800.c to remote-es.c
35         and remote-st2000.c to remote-st.c for 14-char filenames.
36         config/m68k/{es1800,st2000}: Use the new names.
37
38         * mips-tdep.c (isa_NAN): Don't return true on -0.
39
40 Fri Jun 11 10:24:35 1993  Fred Fish  (fnf@cygnus.com)
41
42         * defs.h (INT_MAX):  Cast unsigned shift result to int.
43
44 Thu Jun 10 13:26:41 1993  Fred Fish  (fnf@cygnus.com)
45
46         * elfread.c (elf_symtab_read):  Add bfd section address to bfd
47         symbols, now that they are section relative.
48         * solib.c (bfd_lookup_symbol):  Ditto.
49
50 Thu Jun 10 10:56:56 1993  Jim Kingdon  (kingdon@cygnus.com)
51
52         * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
53         depend: Updated accordingly.
54
55 Wed Jun  9 16:08:44 1993  Jim Kingdon  (kingdon@cygnus.com)
56
57         * Makefile.in (*.tab.c): Use mv for atomic update.
58
59         * Makefile.in ({dist,real}clean): Also remove nm.h.
60         (realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
61         (distclean): Don't rebuild *.tab.c or TAGS.
62
63 Wed Jun  9 12:56:58 1993  K. Richard Pixley  (rich@cygnus.com)
64
65         * Makefile.in (version.c): add host and target names to version.c.
66         * main.c (main): print three periods for the elipse.
67           (print_gdb_version): also print configuration.
68
69         * udi/udiids.h, udi/udip2soc.c, udi/udiphcfg.h, udi/udiphunix.h,
70           udi/udiproc.h, udi/udipt29k.h, udi/udiptcfg.h, udi/udisoc.h,
71           udi/udr.c: Change AMD copyrights to FSF copyleft '93.
72
73         * remote-eb.c (get_hex_regs, eb_fetch_registers), remote-adapt.c
74           (get_hex_regs, adapt_fetch_registers): cast args to
75           supply_register to avoid gcc warning.
76
77         * config/a29k/a29k.mt (TDEPFILES): drop minimon support.  It
78           doesn't compile on solaris and is now obsolete.
79
80         * config/sparc/sun4os4.mh (XM_CLIBS): remove -lresolv.  This
81           breaks stock sunos installations.
82
83 Wed Jun  9 06:14:33 1993  Jim Kingdon  (kingdon@cygnus.com)
84
85         * m68k-stub.c: Add comment about frame cache.
86
87         * target.h (target_store_registers): Doc fix re error handling.
88
89         * findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
90         of register_valid[regno].
91
92 Tue Jun  8 14:42:10 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
93
94         * symtab.h, dwarfread.c: Doc fix re dependencies.
95
96 Tue Jun  8 17:54:09 1993  Rob Savoye  (rob@rtl.cygnus.com)
97
98         * serial.c (serial_close): If scb is NULL, don't try to close
99         it. 
100         * configure.in: Add support for rom68k and bug boot monitors.
101
102 Tue Jun  8 17:39:12 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
103
104         * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
105         * gdbcore.h, core.c (read_memory_unsigned_integer): New function.
106         * findvar.c (read_register, write_register): Fix thinko where
107         sizeof(host long) != sizeof(target int).
108         * h8300-tdep.c: Use new read_memory_unsigned_integer call.
109         * sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
110
111 Tue Jun  8 14:42:10 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
112
113         * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
114         m68k-tdep.c (m68k_find_saved_regs).  Don't duplicate code between
115         68881 and non-68881 cases.  Check for a pair of movel instructions.
116
117 Tue Jun  8 14:52:55 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
118
119         First cut at sparc-vxworks targetting.
120         * config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt: new files.
121         * configure.in: sparc-vxworks gdb_target now vxsparc.
122
123         * remote-eb.c, remote.c: symfile.h requires bfd.h so include it.
124
125 Tue Jun  8 14:42:10 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
126
127         * config/m68k/xm-news.h: add "extern int errno".
128
129 Tue Jun  8 13:45:07 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
130
131         * remove-vx.c (vx_read_register, vx_write_register): collapse
132           ifdef I80960 else (assumes) m68k into parameterizable macros
133           VX_NUM_REGS and VX_SIZE_FPREGS.
134         * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
135           VX_SIZE_FPREGS): new definitions.
136
137 Tue Jun  8 11:08:29 1993  Jim Kingdon  (kingdon@cygnus.com)
138
139         * symfile.{c,h} (generic_load): New function.
140         remote{,-nindy,-eb,-mips}.c: Use it.
141
142 Mon Jun  7 20:07:30 1993  Stu Grossman  (grossman@cygnus.com)
143
144         * Makefile.in (depend):  More sed gubbish to deal with
145         ../bfd/bfd.h being generated during the build.
146         * depend:  Re-done with corrected makefile.
147
148 Mon Jun  7 16:32:05 1993  Fred Fish  (fnf@cygnus.com)
149
150         * Makefile.in (BFD_SRC_DIR):  Renamed def and usages from BFD_DIR.
151         * Makefile.in (BFD_OBJ_DIR):  New definition for the bfd build
152         directory to find automatically generated header files and library.
153         * Makefile.in (BFD_LIB):  Use BFD_OBJ_DIR.
154         * Makefile.in (LINTFLAGS):  Include BFD_OBJ_DIR.
155         * Makefile.in (saber_gdb):  Include BFD_OBJ_DIR.
156         * Makefile.in (depend):  Include BFD_OBJ_DIR in gcc args.
157         * Makefile.in (paread.o, xcoffexec.o):  Remove, now in depend.
158         * depend, alldeps.mak:  Rebuild after Makefile.in changes.
159
160 Fri Jun  4 10:18:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
161
162         * configure.in: change lynx support to CPU-*-lynxos*
163
164         * Makefile.in (subdir_do): change test from existence of directory
165         to existence of Makefile (the directory may exist but not be configured)
166
167 Thu Jun  3 01:18:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
168
169         * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED
170
171 Fri Jun  4 10:43:33 1993  Ian Lance Taylor  (ian@cygnus.com)
172
173         * configure.in (mips-idt-ecoffl*): New target; use idtl.
174         (mips-idt-ecoff*): Added trailing '*'.
175         * config/mips/idtl.mt: New file; like idt.mt, but little endian.
176
177 Thu Jun  3 17:36:56 1993  Stu Grossman  (grossman@cygnus.com)
178
179         * ser-go32.c:  Clean up lots of compilation nits.
180
181 Thu Jun  3 14:44:57 1993  Stu Grossman  (grossman@cygnus.com)
182
183         * Patches from Jeffrey Law <law@cs.utah.edu>.
184         * hppab-nat.c: Eliminate unnecessary ifdefs for
185         FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
186         CANNOT_STORE_REGISTER.
187         (fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
188         * hppa-pinsn.c: Support 'I', 'J', and 'K' in output
189         templates for 1.1 FP computational instructions.
190
191 Thu Jun  3 03:34:49 1993  Stu Grossman  (grossman@cygnus.com)
192
193         * Makefile.in:  Remove ser-tcp.[co].  (Use XDEPFILES instead.)
194         * alldeps.mak, depend:  Rebuild to account for ser-tcp.
195         * config/sparc/sun4os4.mh:  Add ser-tcp to XDEPFILES.
196         * gdbserver/Makefile.in (gdbserver):  Use -lbsd.
197         * gdbserver/remote-inflow{-sparc}.c (create_inferior):  Don't use a
198         shell when running the child, as args have been expanded by the
199         time we get here.  Simplify calling convention.
200         * gdbserver/remote-server.c (main):  Use new calling convention
201         for create_inferior, remove defunct code for coalescing argv.
202         Remove extra calls to mywait(), as we no longer have to wade
203         through a shell.
204
205         * target.c (target_read_memory_partial):  Don't deref errnoptr
206         when checking for null pointer.
207
208 Wed Jun  2 19:58:46 1993  John Gilmore  (gnu@cygnus.com)
209
210         * remote-es1800.c:  Fix typo.
211
212 Tue Jun  1 21:22:39 1993  Fred Fish  (fnf@cygnus.com)
213
214         * target.c (target_read_memory_partial):  Like target_read_memory,
215         but does partial reads, such as reads that bump into the end of
216         the address space.
217         * target.h (target_read_memory_partial):  Add prototype.
218         * valprint.c (PRINT_MAX_DEFAULT):  New define, initial value 200.
219         * valprint.c (val_print_string):  Complete rewrite to fix bug with
220         bumping into end of memory, avoiding unnecessarily long reads, and
221         fixing bug when print_max is set to 0 (unlimited print length).
222         * valprint.c (_initialize_valprint):  Use PRINT_MAX_DEFAULT to
223         initialize print_max.
224
225 Tue Jun  1 18:11:35 1993  Rob Savoye  (rob at darkstar.cygnus.com)
226
227         * configure.in: Add support for rom68k and bug boot monitors.
228
229 Mon May 31 10:37:04 1993  Jim Kingdon  (kingdon@cygnus.com)
230
231         * printcmd.c (print_scalar_formatted): Print integers bigger than
232         LONGEST in hex no matter how big, and no matter what the format
233         and size.
234
235         * stabsread.c (read_type): Skip type attributes if present.
236
237         * stabsread.c (read_huge_number): Don't accept '0' + radix as part
238         of number, just through '0' + radix - 1.
239
240 Sun May 30 15:35:21 1993  Fred Fish  (fnf@cygnus.com)
241
242         * Makefile.in (SER_HARDWIRE):  Temporarily comment out ser-tcp.o.
243
244         * {dbxread.c, dwarfread.c} (read_ofile_symtab):  Rewrite to take
245         single parameter, the pointer to the partial symtab, rather than
246         a bunch of args that are derived from the partial symtab.  Change
247         prototypes and callers to match.
248
249         * dbxread.c (read_ofile_symtab):  Remove "#if 1" around code to
250         set demangling style automatically.
251         * defs.h (CPLUS_MARKER):  Clarify comment that this is only for
252         GNU C++, not C++ in general.
253         * symtab.h (general_symbol_info):  Simplify by eliminating one
254         structure level for the language dependent info.
255
256 Sat May 29 15:59:29 1993  Fred Fish  (fnf@cygnus.com)
257
258         * c-typeprint.c (c_type_print_base):  Avoid dereferencing NULL
259         names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
260         TYPE_CODE_ENUM was already testing for this.
261
262 Fri May 28 17:18:05 1993  Stu Grossman  (grossman@cygnus.com)
263
264         * Makefile.in:  Add new file ser-tcp.c.
265         * defs.h (memcmp):  Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
266         * findvar.c (write_register):  See if we are writing back the same
267         value that's already in the register.  If so, don't bother.
268         * remote.c (putpkt, getpkt):  Improve handling of communication
269         problems.
270         * ser-go32.c:  Prototype it to death.  Update serial_ops and add
271         dummy routines where appropriate.
272         * ser-tcp.c:  New module to implement serial I/O via TCP
273         connections.
274         * ser-unix.c:  Clean up getting/setting of tty state.  Get rid of
275         SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
276         * serial.c:  Add start of support for connect command.
277         (serial_open):  Distinguish between tcp and local devices.
278         * serial.h (struct serial_ops):  Get rid of restore, add
279         get_tty_state and set_tty_state.  Define protoypes and macros for
280         this mess.
281         * gdbserver/remote-utils.c:  Add tcp support.  (readchar):  Do
282         some real buffering.  Handle error conditions gracefully.
283         * gdbserver/remote-inflow-sparc.c:  Update to remote-inflow.c
284         (Lynx), remove lots of cruft.
285
286 Fri May 28 17:24:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
287
288         * printcmd.c (print_address_symbolic): turn this into an assigment
289         instead of an initialization (many compilers don't accept
290         structure initialization). 
291
292 Thu May 27 16:56:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
293
294         * xcoffread.c (read_xcoff_symtab): If several program csects in one
295         source file, give them all the name of the source file, rather than
296         the 2nd and subsequent ones having NULL names.
297
298 Thu May 27 06:16:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
299
300         * printcmd.c (print_address_symbolic):  Append source filename and
301         linenumber of the symbol if print symbol-filename is on.
302         (initialize_printcmd):  `set print symbol-filename'.
303
304 Wed May 26 13:46:16 1993  Stu Grossman  (grossman@cygnus.com)
305
306         * configure.in:  Add config for Lynx target.  Configure gdbserver
307         only for Lynx.  Re-do selective configuration of sparclite.
308
309         * gdbserver/{remote-gutils.c remote-server.c Makefile.in
310         configure.in remote-inflow.c remote-utils.c}:  New files to
311         support GDB remote server.  Currently only works for Lynx.
312
313 Wed May 26 10:28:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
314
315         * stabsread.c (define_symbol, case 't'): Only set the name if it
316         is not a pointer type.
317
318         * stabsread.c (define_symbol): Clean up logic; move the read_type
319         calls to inside the switch statement (this improves the error
320         handling).
321
322         * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
323         common blocks.
324
325 Tue May 25 20:44:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
326
327         * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
328
329         * source.c (line_info): Change "pc" to "address" in messages and
330         use print_address for addresses.
331
332         * source.c (line_info): If we don't find a symtab, print more useful
333         output, including the symbolic address.
334
335         * source.c (line_info): If --fullname, display the source.
336         (identify_source_line), callers: Take pc as argument, rather than
337         assuming innermost frame (emacs doesn't use this, so no one ever
338         noticed).
339         * symtab.h: Declare frame_file_full_name.
340         * main.c: Don't.
341
342 Tue May 25 15:30:43 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
343
344         * breakpoint.c (catch_command_1): Fix typo in error msg.
345
346 Tue May 25 16:05:55 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
347
348         * elfread.c (elf_symfile_read): Update ELF structure and routine
349         names to specify 32-bit versions.
350         (elf_symtab_read): Retrieve size field directly from symbol,
351         instead of using old kludge.
352
353         * mips-pinsn.c (print_insn): Cast address to bfd_vma before
354         calling opcodes library.
355         * z8k-tdep.c (print_insn): Likewise.
356
357 Tue May 25 13:06:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
358
359         * stabsread.c: Remove all uses of error().  Make error_type and
360         read_type_number static.
361         (define_symbol): Don't try to deal with a missing symbol
362         descriptor which isn't followed by digit, '(', or '-'.
363         * stabsread.h: Don't declare read_type_number here.
364         * gdbtypes.h: Don't declare error_type here.
365         * xcoffread.c: Remove NO_TYPEDEFS code.
366
367 Tue May 25 09:33:16 1993  Ian Lance Taylor  (ian@cygnus.com)
368
369         * mips-tdep.c: Removed #include of many header files, and #define
370         of MIPSMAGIC; no longer used.
371
372 Tue May 25 09:36:13 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
373
374         * Many places: replace "the inferior" in messages with "the program"
375         or "the program being debugged".
376         * inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
377         and I'm getting sick of maintaining it.
378
379         * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
380         support it.
381
382         * config/i386/go32.mh: Define SER_HARDWIRE.
383         * Makefile.in: Define SER_HARDWIRE.
384         (DEPFILES): Use it.
385         (alldeps.mak): Add SER_HARDWIRE.
386         Remove all references to ser-hardwire.{c,o}.
387         * configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
388
389 Mon May 24 23:50:05 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
390
391         * sparc-nat.c (store_inferior_registers):  Fill in all members of
392         inferior_fp_registers by reading them from the inferior before
393         modifying and writing them back.
394         Fixes unexplainable inferior FP exceptions after calls to the inferior
395         or setting of floating point registers.
396         * mips-tdep.c (mips_skip_prologue):  Skip move of argument register
397         to register which is generated by gcc-2.4.
398
399 Tue May 25 00:42:39 1993  Ken Raeburn  (raeburn@cygnus.com)
400
401         * hppa-pinsn.c: Define OLD_TABLE before including opcode/hppa.h.
402
403 Mon May 24 13:55:14 1993  Stu Grossman  (grossman@cygnus.com)
404
405         * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
406         xm-i386lynx.h}:  New configuration for Lynx.
407
408 Mon May 24 10:01:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
409
410         * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
411         * symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
412
413         * c-typeprint.c (c_type_print_base): Don't print typedef'd names
414         as struct, union, or enum tags.
415
416 Mon May 24 01:10:01 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
417
418         * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
419         executable.
420
421 Sat May 22 10:03:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
422
423         * infrun.c (wait_for_inferior),
424         infcmd.c (program_info, signal_command):  Use symbolic signal names.
425
426         * inftarg.c (child_wait): Deal with EINTR and include message from
427         strerror if printing an error message.
428
429         * main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
430
431         * stabsread.c: Remove most uses of lookup_fundamental_type.
432         (define_symbol): Use read_type for type of enum constant,
433         not just read_type_number.  Also don't call error().
434         (define_symbol): For unrecognized constant type, one complaint (the
435         one from error_type) is enough.  Don't make our own in addition.
436         (define_symbol): Don't treat an N_FUN 'R' as a prototype.
437         * gdbtypes.h: Doc fixes.
438
439 Sat May 22 03:33:07 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
440
441         Fix stack unwinding through _sigtramp on Irix. These patches are from
442         Paul Flinders <ptf@delcam.co.uk>.
443         * mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
444         executable uses sigvec.
445         * mips-tdep.c (read_next_frame_reg): Allow tm-file to override
446         sigcontext offsets.
447         * config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
448
449 Sat May 22 00:39:01 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
450
451         * infrun.c (wait_for_inferior): Clear stop_signal if it should not
452         be passed to the inferior to make "handle <signal> nopass nostop" work.
453
454 Sat May 22 00:21:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
455
456         * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
457         the necessary bits.
458         * findvar.c (value_from_register): Fix uninitialized first_addr
459         which caused problems with assignment of doubles to register variables
460         on some targets.
461         * mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
462         missing mips definitions if necessary.
463
464         Fix handling of double register variables for mips targets and big
465         endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
466         * config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
467           8 bytes for doubles.
468         * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
469           conversion of type held in multiple registers to host format.
470         * config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
471           companion to REGISTER_CONVERT_TO_TYPE.
472         * config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
473           Convert to function calls.
474         * config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
475           mips targets.
476         * mips-tdep.c (mips_print_register): Raw buffer now needs just
477           MAX_REGISTER_RAW_SIZE bytes.
478         * mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
479           (if defined) for doubles.
480         * mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
481           New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
482         * valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
483           defined.
484         * findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
485           defined.
486
487 Fri May 21 09:04:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
488
489         * configure.in: Add i[34]86-*-isc*.
490
491         * stabsread.c: Make sure all complain() pass the address of the struct.
492
493         * xcoffread.c: Make sure all struct complaints are static not auto.
494
495         * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
496
497         * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
498
499 Wed May 19 12:33:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
500
501         * config/i386/linux.mh: Re-enable coredumps now that they should work.
502
503 Wed May 19 15:44:20 1993  K. Richard Pixley  (rich@cygnus.com)
504
505         * config/m68k/tm-m68k.h (FRAME_CHAIN): add missing close paren.
506
507 Wed May 19 15:33:57 1993  Stu Grossman  (grossman@cygnus.com)
508
509         * config/pa/nm-hppab.h:  Comment PTRACE_ARG3_TYPE.
510
511 Wed May 19 12:33:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
512
513         * Makefile.in (INSTALLED_LIBS): New variable.
514
515 Tue May 18 14:08:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
516
517         * main.c (quit_command): In the "quit anyway?" message, tell the user
518         whether we are planning to detach or kill the program.
519
520         * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
521         * config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
522
523         * infcmd.c (read_pc): Doc fix.
524
525         * printcmd.c (print_address_symbolic): Use %u not %d for offset.
526
527         * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
528         signal_handler_caller.
529         * tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
530         * tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
531         * inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
532         Use SIGTRAMP_START if defined.
533         * infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
534         * infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
535
536         * infptrace.c: Remove unused KERNEL_U_ADDR_HPUX code.
537
538         * infcmd.c (step_1): Fix poorly worded error message.
539
540         * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
541         Comment out corelow.c because core dumps are broken on these machines.
542
543         * Makefile.in (depend):  Put "${srcdir}" in generated dependencies
544         if srcdir is not ".".
545         Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
546         (INCLUDE_CFLAGS):  Remove BFD_DIR and READLINE_DIR.
547         * depend:  Update to latest automatically built version.
548
549 Tue May 18 08:10:45 1993  Fred Fish  (fnf@cygnus.com)
550
551         * ChangeLog, ChangeLog-92:  Split ChangeLog at 1993.
552         * Makefile.in (NONSRC):  Add ChangeLog-92
553
554 Tue May 18 08:03:37 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
555
556         * findvar.c ({read,write}_register): Use REGISTER_RAW_SIZE
557         not typo RAW_REGISTER_SIZE.
558
559         * frame.h, inferior.h: Doc fixes.
560
561 Mon May 17 15:43:03 1993  Stu Grossman  (grossman@cygnus.com)
562
563         * findvar.c (write_register):  Add sanity check for register size.
564         (read_register):  Fixup sanity check for register size to be
565         consistent with write_register().
566
567 Mon May 17 07:36:20 1993  Ian Lance Taylor  (ian@cygnus.com)
568
569         * sparclite/Makefile.in: Add dummy info, install and install-info
570         targets.
571
572 Thu May 13 07:30:22 1993  Ian Lance Taylor  (ian@cygnus.com)
573
574         * remote-nindy.c: Removed declaration of coffstrip.
575         * nindy-share/nindy.c: #if 0 coffstrip routine; no longer used.
576
577 Wed May 12 00:35:19 1993  Fred Fish  (fnf@cygnus.com)
578
579         * Makefile.in (VERSION):  Bump to 4.9.1 after release and cvs
580         tagging.
581
582         * Makefile.in (VERSION):  GDB 4.9 release.
583
584 Tue May 11 08:04:41 1993  Fred Fish  (fnf@cygnus.com)
585
586         * README:  Update known bugs to include the Solaris bug that
587         leaves core dumps in the current directory when restarting the
588         inferior with "run".  Expand on the testsuite information.
589
590         * Makefile.in (VERSION):  Bump to 4.8.96 for what should hopefully
591         be the last 4.9 prerelease test archive.
592
593 Mon May 10 22:13:23 1993  Jim Kingdon  (kingdon@cygnus.com)
594
595         * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
596         redefined warnings.
597
598 Mon May 10 20:00:43 1993  Fred Fish  (fnf@cygnus.com)
599
600         * README, NEWS:  Update for gdb 4.9 release.
601
602 Mon May 10 19:38:34 1993  John Gilmore  (gnu@cygnus.com)
603
604         * ch-exp.y (MAX, MIN):  Rename to MAX_TOKEN, MIN_TOKEN.
605         * target.c (MIN):  #undef before defining.
606
607 Mon May 10 16:03:03 1993  Jim Kingdon  (kingdon@cygnus.com)
608
609         Patch from Jeffrey Law:
610         * gdb/config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
611
612 Mon May 10 15:28:27 1993  Ian Lance Taylor  (ian@cygnus.com)
613
614         * hppa-tdep.c (hppa_push_arguments): Allocate correct amount of
615         memory.
616
617 Mon May 10 13:14:46 1993  Fred Fish  (fnf@cygnus.com)
618
619         * ch-exp.y (start):  Apply work-around to avoid bison warning.
620
621 Sun May  9 07:25:02 1993  Fred Fish  (fnf@cygnus.com)
622
623         * Makefile.in (BISON):  Remove double quotes around BISON
624         definition when bison is used.
625
626         * configure.in (hppa*-hp-bsd):  Change to hppa*-hp-bsd*
627         * configure.in (hppa*-hp-hpux):  Change to hppa*-hp-hpux*
628         * configure.in (m68*-hp-bsd):  Change to m68*-hp-bsd*
629         * configure.in (m68*-hp-hpux):  Change to m68*-hp-hpux*
630         * configure.in (hppa*-*-bsd):  Change to hppa*-*-bsd*
631         * configure.in (hppa*-*-hpux):  Change to hppa*-*-hpux*
632         * configure.in (m68*-hp-bsd):  Change to m68*-hp-bsd*
633         * configure.in (m68*-hp-hpux):  Change to m68*-hp-hpux*
634
635         * Makefile.in (VERSION):  Bump to 4.8.6.
636
637 Sat May  8 12:36:03 1993  Fred Fish  (fnf@cygnus.com)
638
639         * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE):  Define it, and
640         include declarations for malloc/realloc/free.  Both malloc and
641         realloc return 'void *' for non-ANSI compilations.
642
643 Sat May  8 01:39:30 1993  (pes@regent.e-technik.tu-muenchen.de)
644
645         * coffread.c (read_coff_symtab): Don't fclose stream as it is no
646         longer opened twice.
647
648 Thu May  6 21:08:55 1993  Jim Kingdon  (kingdon@cygnus.com)
649
650         * solib.c (clear_solib): Don't close bfd if it is NULL.
651
652 Thu May  6 20:55:35 1993  Fred Fish  (fnf@cygnus.com)
653
654         * core.c (dis_asm_read_memory):  Cast second arg of
655         target_read_memory to "char *".
656         * breakpoint.c (watchpoint_check):  Change arg type from PTR to
657         "char *", to match other functions called by catch_errors().
658
659 Thu May  6 15:47:45 1993  Stu Grossman  (grossman@cygnus.com)
660
661         * More patches from Jeffrey Law (law@cs.utah.edu).
662         * gdb/config/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
663         * gdb/config/pa/tm-hppah.h (millicode_start, millicode_end):
664         Delete unnecessary declarations.
665
666 Thu May  6 15:15:46 1993  Stu Grossman  (grossman@cygnus.com)
667
668         * ser-unix.c (wait_for):  Use VTIME to do timeouts instead of
669         poll() for termio{s}.
670
671 Thu May  6 10:03:41 1993  Jim Kingdon  (kingdon@cygnus.com)
672
673         * i386-tdep.c (i386_frame_num_args): Always return -1.
674
675 Wed May  5 15:16:33 1993  Stu Grossman  (grossman@cygnus.com)
676
677         * Patches from Jeffrey Law <law@cs.utah.edu>.
678         * gdb/hppa-tdep.c: Declare frame_saved_pc.
679         (frameless_function_invocation): New function.
680         (frame_saved_pc, init_extra_frame_info): Use 
681         frameless_function_invocation.
682         * gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
683         call instead of just grabbing the value currently in %r2.
684         (FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
685         * gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
686         definition and use the common one in tm-hppa.h.
687         * gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
688         use unwind descriptors to determine if the frame chain is valid.
689         * gdb/hppa-tdep.c (find_dummy_frame_regs):  Rework so that
690         it does not assume %r4 is the frame pointer.
691         * gdb/hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
692         and ssm instructions.
693         * gdb/hppa-tdep.c (extract_5r_store, extract_5R_store): New
694         helper functions for print_insn.
695         * gdb/hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
696         * gdb/config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
697         which nullifies the following instruction.
698
699 Tue May  4 12:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
700
701         * infptrace.c [FIVE_ARG_PTRACE]: Define ptrace to call_ptrace and
702         pass the 5th arg there, rather than using an ANSI C-specific macro.
703
704         * Makefile.in (depend): Don't include ${CC} command for *.tab.c.
705
706 Tue May  4 19:33:12 1993  Fred Fish  (fnf@cygnus.com)
707
708         * Makefile.in (VERSION):  Bump to 4.8.5
709         * Makefile.in (INCLUDE_CFLAGS):  Add BFD_DIR and READLINE_DIR
710         directories to include search path.
711         * Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS):  Clean up
712         whitespace.
713         * Makefile.in (depend):  For gcc -MM line, use INTERNAL_CFLAGS
714         * Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
715         elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
716         xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
717         udr.o, udip2soc.o):  Remove explicit rules, use the ones that
718         are automatically generated in "depend".
719         * Makefile.in (paread.o):  Document why a dependency doesn't get
720         automatically generated in "depend" and leave this explicit rule
721         in for now (FIXME).
722         * depend:  Update to latest automatically generated version.
723
724 Tue May  4 12:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
725
726         * xcoffread.c: Doc fix.
727
728         * Makefile.in (depend): Include $(CC) command in generated output.
729
730 Mon May  3 22:51:05 1993  Fred Fish  (fnf@cygnus.com)
731
732         * Makefile.in (NONSRC):  Remove ${srcdir}/putenv.c.
733         * Makefile.in (SFILES):  Add ${srcdir}/putenv.c.
734         * depend:  Update to latest automatically built version.
735
736 Mon May  3 19:20:20 1993  Stu Grossman  (grossman@cygnus.com)
737
738         * sparclite/Makefile.in:  Create default target that does nothing
739         in order to force user to build by hand.
740
741         * sparclite/Makefile:  Remove.  It's not necessary anymore.
742
743         * ser-unix.c (wait_for):  New routine to handle read timeouts,
744         etc.  Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise.
745
746 Mon May  3 13:52:08 1993  Ian Lance Taylor  (ian@cygnus.com)
747
748         * mips-pinsn.c (print_insn): Return value.
749
750 Sun May  2 11:43:57 1993  Fred Fish  (fnf@cygnus.com)
751
752         * Makefile.in (SFILES):  Remove ser-hardwire.c; it is a link made
753         at configuration time and doesn't belong in the distribution archive.
754
755         * Makefile.in (NONSRC):  Add 29k-share/README.
756         * Makefile.in (HFILES):  Add 29k-share/udi/udiids.h.
757
758         * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN):  Replace hex
759         constants with slightly more portable definitions (still depends
760         on 2's complement arithmetic though).
761         * config/i386/nm-linux.h:  Define NO_SYS_REG_H for no <sys/reg.h>.
762         * i386v-nat.c (sys/reg.h):  Conditionalize include on
763         NO_SYS_REG_H.  Linux doesn't have <sys/reg.h>.
764         * ser-unix.c (termio.h):  Include <termio.h> like other files that
765         include termio.h, not <sys/termio.h> which may not exist (on
766         linux for example).
767
768 Sat May  1 16:05:24 1993  Fred Fish  (fnf@cygnus.com)
769
770         * valprint.c (print_longest):  Change format parameter from a
771         'char' to an 'int'.  We can't have 'char' parameters with the
772         current coding style, where we mix prototypes with pre-ANSI
773         style declarations.
774         * value.h (print_longest):  Change format parameter in prototype
775         from a 'char' to an 'int'.      
776
777 Sat May  1 02:47:20 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
778
779         * config/mips/tm-mips.h (STAB_REG_TO_REGNUM): Match it with the gcc
780         definition.
781         * config/mips/tm-irix3.h (STAB_REG_TO_REGNUM): Add.
782         * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
783
784 Fri Apr 30 17:45:32 1993  Stu Grossman  (grossman@cygnus.com)
785
786         * The following patches are from Jeffrey Law <law@cs.utah.edu>.
787         * config/pa/hppabsd.mh:  Add more files to NATDEPFILES.
788         * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
789         * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
790         ptrace needs 5 arguments, #define ptrace to always
791         pass zero as the 5th argument.
792
793 Fri Apr 30 15:54:13 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
794
795         * configure.in: Match z8k-*-sim for z8000.
796         * config/h8500/tm-h8500.h, h8500-tdep.c: Lint.
797         * remote-hms.c: Update to use new serial protocol.
798
799 Fri Apr 30 16:50:38 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
800
801         * mips-tdep.c: remove include of sys/dir.h.  Doesn't seem
802           necessary and Solaris doesn't have it.
803
804         * Makefile.in (clean-info, install, install-info, info, dvi,
805           check, all): do not echo recursion lines.
806
807         * 29k-share/udip2soc.c (UDIConnect): replace union wait with int.
808
809         * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
810           required target ports which use sockets (like a29k-udi).
811
812         * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST.
813
814 Fri Apr 30 11:05:42 1993  Jim Kingdon  (kingdon@cygnus.com)
815
816         * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
817         systems lacking select().
818
819         * Makefile.in (TAGS): Doc fix.  Deal with empty DEPFILES.
820
821 Fri Apr 30 10:06:46 1993  Fred Fish  (fnf@cygnus.com)
822
823         * alldeps.mak, depend:  Update with latest automatically built
824         versions.
825
826 Thu Apr 29 12:03:23 1993  Fred Fish  (fnf@cygnus.com)
827
828         * Makefile.in (SFILES):  Add ser-unix.c and ser-go32.c.
829
830         * Makefile.in (make-proto-testsuite.dir):  New target to make
831         prototype testsuite tree.
832
833         * Makefile.in (VERSION):  Bump to 4.8.4.
834
835 Thu Apr 29 08:46:22 1993  Jim Kingdon  (kingdon@cygnus.com)
836
837         * stabsread.c (define_symbol): If unrecognized constant type,
838         complain() not error().
839
840 Thu Apr 29 00:03:59 1993  Fred Fish  (fnf@cygnus.com)
841
842         * infptrace.c:  Add missing close paren to test for
843         FIVE_ARG_PTRACE defined.
844
845         * defs.h (CC_HAS_LONG_LONG):  Set up to define CC_HAS_LONG_LONG
846         when compiling with gcc, but disable it for now.  See comment.
847         * defs.h (LONGEST):  Define as either "long" or "long long"
848         based on CC_HAS_LONG_LONG.
849         * defs.h (longest_to_int):  Use CC_HAS_LONG_LONG to control
850         how longest_to_int is defined.
851         * c-valprint.c (c_val_print):  Call print_longest.
852         * expprint.c (dump_expression):  Use PRINTF_HAS_LONG_LONG
853         instead of LONG_LONG.
854         * {printcmd.c, gdbtypes.h} (LONG_LONG):  Replace usages with
855         CC_HAS_LONG_LONG.
856         * printcmd.c (print_scalar_formatted):  Call print_longest
857         and let it figure out what to do for PRINTF_HAS_LONG_LONG.
858         * typeprint.c (print_type_scalar):  Call print_longest and let
859         it figure out what to do for PRINTF_HAS_LONG_LONG.
860         * valprint.c (val_print_type_code_int):  Call print_longest
861         and let it figure out what to do for PRINTF_HAS_LONG_LONG.
862         * stabsread.c (LONG_LONG):  Replace usages with CC_HAS_LONG_LONG.
863         * value.h (struct value):  Replace usage of LONG_LONG with
864         CC_HAS_LONG_LONG.
865         * value.h (print_longest):  Add prototype.
866         * values.c (LONG_LONG):  Replace usages with CC_HAS_LONG_LONG.
867         * values.c (unpack_double):  Collapse code that was unnecessarily
868         dependent on CC_HAS_LONG_LONG.  Use LONGEST instead of direct types.
869         * values.c (value_from_longest):  Remove dependency on
870         CC_HAS_LONG_LONG and just use LONGEST.
871         * solib.c (solib_map_sections):  Use bfd_get_filename
872         to access filename field.
873         * solib.c (clear_solib):  Save filename and free it later, after
874         bfd_close, since bfd_close may reference it.  Use bfd_get_filename
875         to access the field.
876         * config/convex/xm-convex.h (LONG_LONG):  Replace with
877         CC_HAS_LONG_LONG.  Add define for PRINTF_HAS_LONG_LONG.
878         * doc/gdbint.texinfo (LONG_LONG):  Replace with CC_HAS_LONG_LONG.
879         Add PRINTF_HAS_LONG_LONG references.
880
881 Wed Apr 28 06:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
882
883         * inflow.c (kill_command), infcmd.c (attach_command),
884         remote.c (remote_interrupt_twice): In messages for the user, call it
885         "the program" or "the program being debugged" not "the inferior".
886
887         * hp300ux-nat.c: Cast second arg to supply_register calls.
888         (_initialize_kernel_u_addr, getpagesize): New functions.
889         (store_inferior_register_1): Change arg name from value to val.
890         (fetch_core_registers): Make arg core_reg_size unsigned.
891         Pass 5 args to ptrace.
892         * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
893         Remove KERNEL_U_ADDR stuff.
894         * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
895         * config/m68k/hp300hpux.m{t,h}:
896         Move exec.o from NATDEPFILES to TDEPFILES
897         * config/m68k/hp300hpux.mt: Mention GAS requirement.  Remove
898         hp-include stuff.  Add m68k-tdep.o to TDEPFILES.
899
900 Wed Apr 28 13:27:54 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
901
902         * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.
903
904 Wed Apr 28 06:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
905
906         * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.
907
908 Wed Apr 28 11:39:18 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
909
910         * doc/gdb.texinfo: make node "Shell Commands" unconditional;
911         describe `set demangle-style arm' (not cfront); 
912         mention can type `q' to discard output, when gdb pages
913
914 Wed Apr 28 11:32:39 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
915
916         * valops.c (search_struct_field): Fix gdb core dump with incomplete
917         stabs info.
918
919 Wed Apr 28 06:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
920
921         * remote.c: Change timeout to 2.
922         (remote_open): Use unpush_target not remote_close.
923         (remote_resume): If siggnal != 0, give warning not error().
924         (remote_wait, remote_interrupt, remote_interrupt_twice):
925         If we get two interrupts, let the user get out if they want.
926         (remote_{kill,mourn}): New functions.
927         i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
928
929 Wed Apr 28 09:20:55 1993  Ian Lance Taylor  (ian@rtl.cygnus.com)
930
931         * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
932
933 Wed Apr 28 06:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
934
935         * Remote targets (mourn): Call unpush_target.
936
937         * config/sparc/xm-sun4os4.h: Declare free() to return int.
938         Remove twisted use of PARAMS.
939
940         * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
941         that ansidecl.h assumes ANSI on AIX.
942
943 Tue Apr 27 10:01:33 1993  Jim Kingdon  (kingdon@cygnus.com)
944
945         * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
946         (Known bugs): Remove AIX bugs, revise SPARC struct bug description.
947
948 Tue Apr 27 13:44:19 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
949
950         * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.
951
952 Tue Apr 27 10:01:33 1993  Jim Kingdon  (kingdon@cygnus.com)
953
954         * remote-vx.c (net_connect): Allow numeric IP address for host.
955
956 Mon Apr 26 17:59:38 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
957
958         * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files.
959
960 Mon Apr 26 07:13:32 1993  Jim Kingdon  (kingdon@cygnus.com)
961
962         * rs6000-tdep.c (branch_dest): Deal with stepping through system call.
963
964         * symtab.h, xcoffread.c: Revise linetable sorting comments.
965
966 Sun Apr 25 02:32:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
967
968         * valops.c (value_cast): A cast might also change the object
969         representation in C++.
970         * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
971         to get the proper read_symtab function when called from mipsread.c.
972         * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
973         Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
974         for dummy psymtabs, inhibit processing of dummy psymtabs.
975
976 Sat Apr 24 19:59:54 1993  Jim Kingdon  (kingdon@cygnus.com)
977
978         * Changes from (or inspired by) AMD:
979         * remote-udi.c (udi_attach): Assignments to Space and Offset were
980         switched, fix it.
981         (udi_wait): Make error message (UDIGetStdout) match error.
982         (udi_wait): Handle UDIStdinNeeded.
983         * command.c [CANT_FORK]: Use system().
984         * utils.c (prompt_for_continue): Allow quit with 'q'.
985
986         * solib.c (solib_add): Don't call special_symbol_handling if there
987         were errors in symbol_add_stub.  Also set so->from_tty before
988         calling symbol_add_stub.
989
990 Fri Apr 23 16:17:00 1993  Stu Grossman  (grossman@cygnus.com)
991
992         * Merge in HPPA/BSD patches from Utah:
993         * defs.h:  Add const to 2nd arg of psignal prototype.
994         * hppah-tdep.c:  Renamed to hppa-tdep.c 'cuz it's common code with
995         BSD now.
996         * hppab-core.c:  Deleted.  No longer useful.
997         * hppab-nat.c:  #include more files.  Use PT_WUREGS, not
998         PT_WRITE_U.
999         * hppab-tdep.c:  Deleted.  Supplanted by hppa-tdep.c.
1000         * config/pa/hppabsd.mh (NATDEPFILES):  Remove hppab-core.o.
1001         * config/pa/hppabsd.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
1002         * config/pa/hppahpux.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
1003         * config/pa/xm-hppab.h:  #define SET_STACK_LIMIT_HUGE.
1004
1005 Fri Apr 23 10:34:02 1993  Stu Grossman  (grossman@cygnus.com)
1006
1007         * Fix two bugs found by deja-gnu.  One is the incorrect reporting
1008         of the PC being in a stack dummy when looking at a core file
1009         without symbols.  The other is the incorrect passing of char
1010         arguments during expression evaluation (ie: p foo('a','b') would
1011         mess up the passing of it's args because it wasn't coercing the
1012         char's to ints).
1013         * hppah-tdep.c:  Rename global functions to have consistent hppa_
1014         prefix.  Make more functions static.  Drop hp_ prefix from static
1015         functions.  (hppa_push_arguments):  Call value_arg_coerce to cast
1016         char to int args if necessary.  (hppa_fix_call_dummy):  Create
1017         this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
1018         * inferior.h (PC_IN_CALL_DUMMY):  Check for frame_address being
1019         valid (ie: != 0) before doing comparison against PC.
1020         * valops.c (call_function_by_hand):  Adjust call to FIX_CALL_DUMMY
1021         to reflect new arguments.
1022         * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS):  Use new hppa_
1023         prefix for func name.  (FIX_CALL_DUMMY):  Move code into
1024         hppah-tdep.c.
1025
1026         * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c:  Add calls
1027         to malloc() so that we can test GDB eval of dynamically created
1028         arrays (like char strings in `print "foo"').
1029
1030 Fri Apr 23 01:28:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1031
1032         * printcmd.c (print_address_symbolic): Search symtabs as well as the
1033         minimal symbols for a nearby symbol.
1034
1035 Thu Apr 22 19:44:21 1993  John Gilmore  (gnu@cacophony.cygnus.com)
1036
1037         * coffread.c:  Comment changes around minimal symbol recording.
1038
1039 Thu Apr 22 16:24:36 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
1040
1041         * command.c: comment changes only.
1042
1043         * mips-tdep.c (heuristic_fence_post): new static variable.
1044           (heuristic_proc_start): use heuristic_fence_post, print better
1045           warnings, but only if not stop_soon_quietly.
1046           (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post. 
1047
1048 Thu Apr 22 14:50:05 1993  Jim Kingdon  (kingdon@cygnus.com)
1049
1050         * symtab.h: Fix LOC_REF_ARG comment.
1051
1052 Wed Apr 22 20:21:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1053                           and Jim Kingdon (kingdon@cygnus.com)
1054
1055         * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
1056         LOC_REGPARM symbol.
1057         * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
1058         symfile.c (compare_symbols): Don't check first character; STRCMP
1059         does that.
1060
1061         * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
1062         structures that are passed by address in a register.
1063         * symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
1064         * findvar.c (read_var_value),
1065         printcmd.c (address_info, print_frame_args),
1066         stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
1067         * symtab.c (lookup_block_symbol): Deal with it.
1068
1069 Thu Apr 22 09:07:24 1993  Jim Kingdon  (kingdon@cygnus.com)
1070
1071         * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
1072         Add objfile field.
1073         * objfiles.c (find_pc_section): Return a struct obj_section *.
1074         * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
1075         * symfile.c (syms_from_objfile) [IBM6000_TARGET]:
1076         Don't use obj_section hack.
1077         * xcoffexec (vmap_symtab): Relocate obj_sections.
1078         * printcmd.c (containing_function_bounds): Use find_pc_section.
1079
1080         * symtab.h: Clean up SYMBOL_VALUE comments.
1081
1082 Wed Apr 21 14:29:57 1993  Jim Kingdon  (kingdon@cygnus.com)
1083
1084         * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
1085         Expand comments about LOC_ARG/LOC_LOCAL pairs.
1086
1087         * coffread.c (read_coff_symtab): Use rewind before fseek.
1088
1089 Wed Apr 21 14:24:19 1993  Per Bothner  (bothner@cygnus.com)
1090
1091         * ch-exp.y:  Removed unused structure_primitive_value and FIXME_23.
1092         * Makefile.in:  Add $(YFLAGS) when using $(YACC).
1093         * Makefile.in:  Remove message to expect conflicts and unused
1094         rules in ch-exp.y, since there no longer are any such.
1095
1096 Wed Apr 21 13:27:50 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
1097
1098         * stabs.texinfo: fixed bad xrefs (un-initialized statics)
1099
1100 Tue Apr 20 08:55:11 1993  Jim Kingdon  (kingdon@cygnus.com)
1101
1102         * xcoffexec.c (xcoff_relocate_core): If no exec file, error()
1103         rather than dumping core.
1104
1105         * Makefile.in: Add ${srcdir}/ to all source files.
1106         (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak.
1107         (TAGS): Deal with srcdir and new config directory scheme.
1108         createtags: Remove.
1109         Makefile.in (NONSRC): Remove createtags.
1110         alldeps.mak: Updated.
1111
1112         * rs6000-tdep.c: Delete unused function print_frame.
1113
1114         * frame.h (struct frame_info): Doc fix for next_frame.
1115         New field signal_handler_caller.
1116         blockframe.c (create_new_frame, get_prev_frame_info),
1117         config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
1118         INIT_FRAME_PC_FIRST).
1119         stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
1120         Check it.
1121
1122 Mon Apr 19 22:52:33 1993  Stu Grossman  (grossman@cygnus.com)
1123
1124         * irix4-nat.c (fetch_core_registers):  Special version of this for
1125         Irix 4.x, which stores regs a bit differently from other /proc
1126         based systems.
1127         * procfs.c, core-svr4.c:  Move fetch_core_registers from procfs.c
1128         to new file core-svr4.c.
1129         * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
1130         config/i386/ncr3000.mh, config/sparc/sun4sol2.mh:  Add core-svr4.o
1131         to NATDEPFILES.
1132         * config/mips/irix4.mh:  Add corelow.o to NATDEPFILES.
1133
1134 Mon Apr 19 11:13:34 1993  Jim Kingdon  (kingdon@cygnus.com)
1135
1136         * i387-tdep.c: Remove unused #includes.
1137
1138         * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32.
1139
1140         * config/i386/nm-i386v.h: Define NO_PTRACE_H.
1141
1142 Sun Apr 18 10:39:35 1993  Jim Kingdon  (kingdon@cygnus.com)
1143
1144         * xcoffread.c: Nuke NO_DEFINE_SYMBOL code.  There is no going back.
1145
1146         * stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
1147         xcoffread.c (process_xcoff_symbol, case C_RPSYM):
1148         Don't muck with SYMBOL_CLASS.
1149
1150 Fri Apr 16 17:38:33 1993  Stu Grossman  (grossman@cygnus.com)
1151
1152         * munch:  Don't use head command.  It doesn't exist everywhere.
1153
1154 Fri Apr 16 15:07:57 1993  Fred Fish  (fnf@cygnus.com)
1155
1156         * inflow.c (new_tty):  Remove spurious 'o' character at end
1157         of #endif line.
1158
1159 Fri Apr 16 12:27:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1160
1161         * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
1162         instructions and nothing more.
1163         * mipsread.c (add_line): Add comment why we have to combine line number
1164         entries for the same line number.
1165
1166 Fri Apr 16 09:42:03 1993  Jim Kingdon  (kingdon@cygnus.com)
1167
1168         * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
1169         in gdb 2.8!).
1170
1171 Thu Apr 15 21:16:58 1993  Fred Fish  (fnf@cygnus.com)
1172
1173         * depend, alldeps.mak:  Update, now that gcc -MM bug is fixed.
1174
1175 Thu Apr 15 12:38:39 1993  Jim Kingdon  (kingdon@cygnus.com)
1176
1177         * source.c (select_source_symtab): Clean up comment.  Also, if
1178         we have a current_source_symtab, and s is NULL, return without
1179         doing anything.
1180         xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
1181         breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
1182
1183 Thu Apr 15 02:37:48 1993  John Gilmore  (gnu@cacophony.cygnus.com)
1184
1185         * dbxread.c (unknown_symchar_complaint):  Add new complaint.
1186         * stabsread.h:  Declare it.
1187         * partial-stab.h:  Use it.
1188
1189         * utils.c (malloc_botch):  Don't forward-declare if NO_MMALLOC.
1190
1191 Wed Apr 14 17:12:51 1993  Jim Kingdon  (kingdon@cygnus.com)
1192
1193         * stack.c (print_frame_info): Print specially if dummy frame.
1194
1195         * breakpoint.c: Add comments regarding within_scope future direction.
1196
1197         * Version 4.8.3.
1198
1199         * xcoffread.c (record_include_{begin,end}): Change fatal to complain.
1200
1201 Wed Apr 14 14:03:18 1993  Per Bothner  (bothner@cygnus.com)
1202
1203         * ch-exp.y:  Fix thinko that broke parsing of FALSE.
1204
1205 Wed Apr 14 12:49:29 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1206
1207         * stabsread.c (read_member_functions): Initialize domain for stubbed
1208         member functions to avoid gdb core dumps when printing pointers
1209         to member functions.
1210         * cp-valprint.c (cp_print_class_method): Check for stubbed member
1211         functions.
1212
1213 Tue Apr 13 08:28:26 1993  Jim Kingdon  (kingdon@cygnus.com)
1214
1215         * expprint.c (print_subexp): If opcode not found in op_print_tab,
1216         stop with an error().
1217         eval.c (evaluate_subexp): Change error message.
1218
1219         * objfiles.c (build_objfile_section_table): Cast return value
1220         from obstack_finish.
1221
1222 Mon Apr 12 10:53:50 1993  Jim Kingdon  (kingdon@cygnus.com)
1223
1224         * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
1225         to rs6000_frame_chain and deal with it if we're in a signal handler.
1226         (FRAME_SAVED_PC): Use rs6000_frame_chain.
1227
1228         * breakpoint.c (within_scope): New function.
1229         (enable_breakpoint, watchpoint_check): Use it.
1230
1231         * source.c (openp): Handle "exec-file ./ls" correctly.
1232
1233         * breakpoint.c (breakpoint_1): Use wrap_here before "at".
1234
1235 Sat Apr 10 01:32:43 1993  Per Bothner  (bothner@rtl.cygnus.com)
1236
1237         * ch-exp.y:  Clean up lexing of identifiers and
1238         reserved words.  (E.g. don't recognize FALSEXXX as the
1239         keyword FALSE followed by the identifier XXX.)
1240         Also, convert identifiers to lower case.
1241
1242 Fri Apr  9 15:53:19 1993  Stu Grossman  (grossman@cygnus.com)
1243
1244         * remote-mips.c, remote-monitor.c, remote-st2000.c:  Convert to
1245         new serial interface.
1246
1247 Fri Apr  9 15:01:12 1993  Stu Grossman  (grossman@cygnus.com)
1248
1249         * remote.c (remote_open):  Use SERIAL_OPEN instead of serial_open.
1250         (putpkt, getpkt):  Use new return codes for SERIAL_READCHAR.
1251         * ser-go32.c:  Return -1 on most failures, 0 on most successes,
1252         and use new return codes for go32_readchar().
1253         * ser-unix.c:  Ditto.  Also, move error handling up to caller for
1254         SERIAL_SETBAUDRATE().
1255         * serial.c (serial_open):  Internal call, not SERIAL_OPEN to get
1256         to specific routine.
1257         (serial_close):  New routine to wrap around device close routine.
1258         serial.h:  Clean & document return values more clearly.
1259
1260 Fri Apr  9 10:20:55 1993  Jim Kingdon  (kingdon@cygnus.com)
1261
1262         * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
1263
1264         * rs6000-pinsn.c (print_operand, case LI): Print condition register
1265         operand in decimal rather than wrong textual versions.
1266
1267         * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
1268         (mention 't', remove false thing about 'g' only good with 'f').
1269
1270         * breakpoint.h: move "struct breakpoint" and friends to top of
1271         file so that bpstat_find_breakpoint prototype works.
1272
1273         * solib.c (struct so_list): Add bfd field.
1274         (solib_map_sections): Leave bfd open and scratch_pathname allocated.
1275         Put the bfd in bfd field of the so_list.
1276         (clear_solib): Free bfd name and close_bfd on the bfd.
1277
1278 Fri Apr  9 00:45:41 1993  Per Bothner  (bothner@rtl.cygnus.com)
1279
1280         * valarith.c (value_subscript):  Add COERCE_REF.
1281         * ch-exp.y (operand_5):  We can generalize the 2nd operand
1282         of a string repetition ot 'literal' without ambiguity.
1283
1284 Thu Apr  8 10:15:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1285
1286         * breakpoint.h (struct bpstat): Remove momentary field.
1287         Remove bpstat_momentary_breakpoint.  This was always kludgy
1288         and is no longer used.
1289
1290         * breakpoint.h: Add enum bpstat_what.
1291         breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
1292         stop and print fields of bpstat now per-breakpoint, not just
1293         one for the whole chain.
1294         breakpoint.{c,h} (bpstat_what): New function.
1295         breakpoint.h: Remove bpstat_stop and bpstat_should_print.
1296         infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
1297         with call to bpstat_what.
1298         README: Remove watchpoint/breakpoint bug from known bugs.
1299
1300         * breakpoint.h: Prototype bpstat_find_breakpoint.
1301
1302 Thu Apr  8 16:01:21 1993  Fred Fish  (fnf@cygnus.com)
1303
1304         * symtab.c (find_methods, gdb_mangle_name):  Note that functions
1305         are g++ specific.
1306         * symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
1307         DESTRUCTOR_PREFIX_P):  Note that macros are g++ specific.
1308
1309 Thu Apr  8 12:45:32 1993  Ian Lance Taylor  (ian@cygnus.com)
1310
1311         * i960-pinsn.c (tabent): Copied struct definition from
1312         opcodes/i960-dis.c.
1313
1314 Thu Apr  8 10:34:37 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1315
1316         * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
1317         is a C++ destructor.
1318         * symtab.c (gdb_mangle_name): Use it.
1319         * symtab.c (find_methods): Do not add destructors to choice list
1320         for constructors.
1321         * symtab.c (decode_line_1): Make breakpoints on destructors work
1322         for gcc-2.x again.
1323
1324 Wed Apr  7 18:43:09 1993  Stu Grossman  (grossman@cygnus.com)
1325
1326         * ser-go32.c:  Make it use serial port name.
1327         * go32-xdep.c:  Put in def for strlwr, needed by dir.o in go32 libc.
1328
1329         * infcmd.c (read_pc):  Make sure that we read PC_REGNUM when not
1330         in a system call!
1331
1332 Wed Apr  7 15:52:11 1993  Stu Grossman  (grossman@cygnus.com)
1333
1334         * configure.in:  Only configure sparclite subdir when target_cpu
1335         is sparclite.
1336
1337 Wed Apr  7 10:11:22 1993  Jim Kingdon  (kingdon@cygnus.com)
1338
1339         * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
1340         Remove FIXME comment regarding this.
1341
1342         * symfile.h: Change NULL->'\0' in comment (that wasn't a typo).
1343
1344         * xcoffread.c (read_xcoff_symtab): Use E_SYMNMLEN.
1345
1346 Tue Apr  6 22:30:58 1993  K. Richard Pixley  (rich@cygnus.com)
1347
1348         Add section table to objfile struct.  Use it for find_pc_section.
1349         * objfiles.c (add_to_objfile_sections,
1350           build_objfile_section_table, find_pc_section): new functions.
1351           (allocate_objfile): build section table.
1352         * objfiles.h (struct obj_section): new structure.
1353           (struct objfile): add section table.
1354           (find_pc_section): new prototype.
1355         * solib.[ch] (find_pc_section_from_so_list): removed.
1356         * sparc-tdep.c: include objfiles.h for find_pc_section.  include
1357           symfile.h for objfiles.h.
1358           (in_solib_trampoline): adjusted for new find_pc_section
1359           prototype.  Removed BAD_RICH_HACK ifdefs.
1360         * symfile.c (syms_from_objfile): offset objfile sections.
1361           (find_pc_section): removed.  Also removed BAD_RICH_HACK ifdefs.
1362         * symfile.h (find_pc_section): prototype removed.  Also fixed
1363           comment typo NUL -> NULL.
1364         * target.[ch] (find_pc_section_from_targets): removed.
1365         * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
1366
1367 Tue Apr  6 21:41:13 1993  Stu Grossman  (grossman@cygnus.com)
1368
1369         * ser-go32.c:  Format.  (go32_open):  Use proper return value.
1370
1371         * configure.in:  Undo conditional configdirs hack for sparclite.
1372
1373 Tue Apr  6 17:07:37 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
1374
1375         * symtab.c (list_symbols): When call break_command, pass both
1376         filename and function name not just function name.
1377
1378 Tue Apr  6 15:00:09 1993  Fred Fish  (fnf@cygnus.com)
1379
1380         (Changes and new files to make "none" a full fledged configuration)
1381         * config/none/{nm-none.h, tm-none.h, xm-none.h}:  New files.
1382         Currently only tm-none.h has any meaningful contents.
1383         * config/none/none.mh (NAT_FILE):  Use nm-none.h
1384         * config/none/none.mh (XM_FILE):  Use xm-none.h
1385         * config/none/none.mt (TM_FILE):  Use tm-none.h
1386         * Makefile.in (depend):  Remove comment about parse errors in
1387         valops.c, it now parses correctly and generates a correct depend
1388         line.  Remove line that touches xm.h, tm.h, and nm.h; they are
1389         now linked to config/none/{xm-none.h, tm-none.h, nm-none.h}.
1390
1391 Tue Apr  6 09:54:29 1993  Jim Kingdon  (kingdon@cygnus.com)
1392
1393         * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
1394
1395         * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
1396         exactly 8 characters.
1397
1398 Tue Apr  6 10:31:26 1993  Stu Grossman  (grossman@cygnus.com)
1399
1400         * configure.in:  Sparclite uses sparc config dir.  Also has it's
1401         own tm- & .mt files now.  Also add sparclite to configdirs.
1402         * go32-xdep.c:  Dummy routines for sigsetmask & strlwr.
1403         * config/i386/go32.mh:  Nullify def of TERMCAP.
1404         * config/i386/xm-go32.h:  Get rid of redef of EIO.
1405         * config/sparc/{sparclite.mh tm-sparclite.h}:  New sparclite
1406         specific configs.  Very similar to sun4os4, but without solib.
1407         * sparclite/{Makefile.in configure.in}:  First cut at making this
1408         dir configgable.
1409
1410 Tue Apr  6 03:10:44 1993  Stu Grossman  (grossman@cygnus.com)
1411
1412         * ser-go32.c:  First cut at adapting to new serial interface.
1413
1414 Mon Apr  5 22:29:43 1993  Stu Grossman  (grossman@cygnus.com)
1415
1416         * Makefile.in (SFILES OBS):  Add serial.[co] & ser-hardwire.[co].
1417         These implement a new serial line interface for talking to remote
1418         targets.
1419         * configure.in:  Link ser-hardwire.c to ser-unix.c for all hosts,
1420         EXCEPT go32, which gets ser-go32.c.
1421         * remote.c:  Use new serial interface.  More remote-xxx's to be
1422         converted later.
1423         * ser-bsd.c, ser-termios.c:  Removed.
1424         * serial.c:  New.  Implements common operations for all serial
1425         types.
1426         * ser-unix.c:  New.  Unix specific serial operations for various
1427         flavors of Unix (Posix, SysV, BSD).
1428         * serial.h:  Generic serial interface defs.
1429         * config/i386/go32.mh, config/i386/i386bsd.h,
1430         config/m68k/apollo68b.mh, config/sparc/sun4os4.mh:  Remove
1431         ser-bsd.o from XDEPFILES.  All the magic is now handled in
1432         configure.in.
1433
1434 Mon Apr  5 20:48:54 1993  Stu Grossman  (grossman@cygnus.com)
1435
1436         * config/h8500/tm-h8500.h:  Clean up brain damage found by GCC.
1437
1438 Fri Apr  2 08:23:14 1993  Jim Kingdon  (kingdon@cygnus.com)
1439
1440         * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.
1441
1442         * rs6000-tdep.c (frameless_function_invocation): Don't even think
1443         about framelessness except on the innermost frame.
1444
1445         * xcoffexec.c: Call fatal() not abort().
1446
1447         * stabsread.c (patch_block_stabs): If stab & no symbol, make
1448         a LOC_OPTIMIZED_OUT symbol.
1449         symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
1450         findvar.c (read_var_value), printcmd.c (address_info),
1451         symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
1452         m2-exp.y (yylex): Deal with it.
1453         ch-exp.y (yylex): Deal with it.
1454
1455 Thu Apr  1 18:43:02 1993  Stu Grossman  (grossman@cygnus.com)
1456
1457         * findvar.c (value_from_register):  H8500 specific, check to see
1458         if we are looking at short pointer.  If so, skip crock.
1459         * h8500-tdep.c (h8500_frame_chain):  Mask down value from
1460         read_memory_integer() to avoid getting messed up by sign extension.
1461
1462 Thu Apr  1 16:44:41 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
1463
1464         * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
1465           ifdef protect using BAD_RICH_HACK.  This should be removed soon.
1466         * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
1467
1468 Thu Apr  1 09:01:38 1993  Jim Kingdon  (kingdon@cygnus.com)
1469
1470         * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a.
1471
1472         * core.c (dis_asm_print_address): New function.
1473
1474         * core.c (dis_asm_read_memory): Reinstate 4th arg.  The prototype
1475         has been fixed.
1476
1477 Thu Apr  1 09:34:43 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1478
1479         * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
1480         entire breakpoint chain and print only the first entry that needs to
1481         be printed and needs to be stopped for. Fixes problems with printing
1482         of multiple breakpoints with different conditions.
1483         * breakpoint.c (print_it_done): Renamed from print_it_noop as it
1484         effectively stops printing of the breakpoint chain.
1485         * breakpoint.c (print_it_noop): New routine to print nothing
1486         for this breakpoint entry and dont stop printing.
1487         * breakpoint.c (breakpoint_re_set_one): mention the reevaluated
1488         watchpoint only if it is enabled.
1489         * mipsread.c (parse_procedure): Correct incorrect setjmp procedure
1490         descriptor from the library to make backtraces through setjmp work.
1491         * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
1492         sigtramp.
1493         * mips-tdep.c (read_next_frame_reg): Provide correct values for
1494         all registers saved within sigtramp, cleanup.
1495
1496 Wed Mar 31 12:52:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1497
1498         * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a.
1499
1500 Wed Mar 31 21:23:41 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
1501
1502         * core.c (dis_asm_read_memory): drop fourth arg which conflicts
1503           with prototype in ../include/dis-asm.h.
1504
1505 Wed Mar 31 12:52:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1506
1507         * core.c (dis_asm_{read_memory,memory_error}): New functions.
1508         m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c:
1509         Use read_memory_func interface to disassembler.
1510
1511 Tue Mar 30 15:46:14 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
1512
1513         Teach sparc solaris to next over shared library functions.
1514         * solib.[hc] (find_pc_section_from_so_list): new function and
1515           prototype.
1516         * sparc-tdep.c (in_solib_trampoline): new function.
1517         * symfile.[hc] (find_pc_section): new function and prototypes.
1518         * target.[hc] (find_pc_section_from_targets): new function and
1519           prototypes.
1520         * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
1521           in_solib_trampoline.
1522
1523 Tue Mar 30 08:06:24 1993  Jim Kingdon  (kingdon@cygnus.com)
1524
1525         * infrun.c (wait_for_inferior): Revise comment.
1526
1527         * command.c (do_setshow_command): Use %u with var_{u,z}integer.
1528
1529         * command.{c,h}: New var_type var_integer.
1530         main.c: Use it for history_size.
1531
1532         * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
1533         Lint and byte-order fixups.
1534
1535         * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint.
1536
1537         * breakpoint.h (bpstat): New field print_it.
1538         breakpoint.c (bpstat_print): Use it.
1539         (print_it_normal): New function (from old bpstat_print code).
1540         (bpstat_{alloc,stop_status}): Set print_it field.
1541
1542         * breakpoint.c (bpstat_stop_status): Use catch_errors when
1543         evaluating watchpoint condition, via new function watchpoint_check.
1544         Also stop if watchpoint disabled due to leaving its block.
1545
1546         * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment.
1547
1548 Tue Mar 30 00:14:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1549
1550         * mips-pinsn.c: Add missing include of dis-asm.h.
1551
1552 Mon Mar 29 15:03:25 1993  Fred Fish  (fnf@cygnus.com)
1553
1554         * Makefile.in (clean, distclean, realclean):  Recursively apply
1555         to subdirs first, rather than last.  This avoids, for example,
1556         Makefile being removed in a parent directory before the recursive
1557         make is run.
1558
1559         * alldeps.mak, depend:  Update for below changes.
1560
1561         * config/m68k/tm-m68k.h:  Renamed from config/m68k/tm-68k.h.
1562         * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
1563         tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
1564         tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}:  Include tm-m68k.h
1565         instead of tm-68k.h.
1566         * Makefile.in (HFILES):  tm-68k.h renamed to tm-m68k.h.
1567         * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
1568         m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
1569         nm-hp300bsd.h, config/m68k/xm-apollo68b.h}:  Map '68k' to 'm68k'.
1570         * a29k/tm-a29k.h, doc/gdbint.texinfo:  Account for renaming of
1571         tm-68k.h to tm-m68k.h.
1572         * m68k/m68k-fp.mt (TM_FILE):  tm-68k-fp.h renamed to tm-m68k-fp.h.
1573         * m68k/m68k-nofp.mt (TM_FILE):  tm-68k-nofp.h renamed to
1574         tm-m68k-nofp.h.
1575
1576         * config/a29k/tm-a29k.h:  Renamed from config/a29k/tm-29k.h.
1577         * a29k-pinsn.c:  Renamed from am29k-pinsn.c.
1578         * a29k-tdep.c:  Renamed from am29k-tdep.c.
1579         * remote-eb.c, config/a29k/tm-ultra3.h:  Include renamed tm-a29k.h.
1580         * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
1581         tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
1582         testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
1583         Map '29k' to 'a29k'.
1584         * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
1585         (TDEPFILES):  Use renamed a29k-pinsn.o and a29k-tdep.o.
1586         * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE):  Use renamed
1587         tm-a29k.h.
1588         * config/a29k/a29k-udi.mt (MT_CFLAGS):  Remove TARGET_AM29K
1589         define that does not appear anywhere else in the gdb source tree.
1590         * doc/gdbinit.texinfo:  Document renaming of tm-29k.h to tm-a29k.h.
1591
1592 Mon Mar 29 13:55:29 1993  Jim Kingdon  (kingdon@cygnus.com)
1593
1594         * breakpoint.c: Add comments regarding breakpoint_re_set.
1595
1596         * xcoffread.c (sort_syms, compare_symbols): Remove.
1597         (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
1598         not our own sort_syms (it is identical).
1599
1600         * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
1601
1602 Sun Mar 28 11:24:37 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1603
1604         * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
1605         * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
1606         went out of scope.
1607         * exec.c (exec_close): Fix storage leak.
1608         * exec.c (exec_file_command): Make sure that bfd doesn't realign the
1609         output sections when patching an executable.
1610         * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
1611         when writing all registers.
1612         * mips-tdep.c (mips_push_dummy_frame): Save floating point registers
1613         at the right offset in the dummy frame.
1614         * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
1615         stStaticProc and stEnd symbols as they are generated by gcc-2.x.
1616         * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
1617
1618 Fri Mar 26 15:25:05 1993  John Gilmore  (gnu@cygnus.com)
1619
1620         * Makefile.in (TARFILES):  Avoid trailing backslash.
1621
1622 Fri Mar 26 11:29:30 1993  Jim Kingdon  (kingdon@cygnus.com)
1623
1624         * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
1625         it in breakpoint_re_set.
1626         * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values.
1627
1628         * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
1629         don't use sizeof(int) for target stuff, etc).
1630
1631 Thu Mar 25 15:03:53 1993  Fred Fish  (fnf@cygnus.com)
1632
1633         * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
1634         i860-pinsn.c, i860-tdep.c, config/i860/*:  Remove incomplete i860
1635         support that can't be integrated anyway due to lack of clear
1636         authorship.
1637
1638 Thu Mar 25 12:26:50 1993  Stu Grossman  (grossman@cygnus.com)
1639
1640         * findvar.c (read_register, write_register):  Make these capable
1641         of reading/writing registers that are shorter than REGISTER_TYPE.
1642         * (value_from_register):  Install H8500 specific code to return
1643         proper value when register is being used as a pointer.
1644         * h8500-tdep.c:  Remove extra defines of NUM_REGS.
1645         (h8500_skip_prologue):  Use correct lengths for LINK instructions.
1646         (FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
1647         chain frames properly by combining frame pointer with T reg.
1648         (init_extra_frame_info):  Delete.  It's now a macro.
1649         (frame_args_address):  Don't add PTR_SIZE.  Stack args are already
1650         offset by the correct amount off of the frame pointer.
1651         (register_byte):  Delete.  It's now a macro.
1652         (register_raw_size, register_virtual_size):  Delete.  Replaced by
1653         common routine h8500_register_size, cuz there's no difference
1654         between the raw & virtual sizes on this machine.
1655         (register_convert_to_raw, register_convert_to_virtual):  Delete,
1656         cuz there's no difference between the raw & virtual forms.
1657         Replaced by memcpy in tm file.
1658         (register_virtual_type):  Rename to h8500_register_virtual_type.
1659         Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
1660         (_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
1661         emulator have same reg offsets.  This is all handled in the
1662         simulator code now.
1663         (h8500_trapped_internalvar):  New routine to detect references to
1664         convenience vars acting as pointer pseudo-regs.
1665         (h8500_value_trapped_internalvar):  Conjure up value of pointer
1666         pseudo-regs.
1667         (h8500_set_trapped_internalvar):  Convert set value in real
1668         register references.
1669         infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
1670         code segment register.
1671         infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
1672         by hand.
1673         (wait_for_inferior):  Add h8500 specific code to add stack segment
1674         when reading SP register.
1675         remote-sim.c (fetch_register):  Spacing.
1676         tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
1677         detect cruft.  Redo all register manipulation stuff.  Get rid of
1678         pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
1679         to frame pointer.  (IS_TRAPPED_INTERNALVAL,
1680         VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
1681         to create internal vars for pointer pseudo-regs.
1682
1683 Thu Mar 25 10:10:28 1993  Fred Fish  (fnf@cygnus.com)
1684
1685         * Makefile.in:  Numerous small changes to macro definitions
1686         and rules for building gdb distribution tree.  Many macros
1687         eliminated or merged, and rules simplified.
1688         * alldeps.mak:  Update.
1689         * depend:  Update.
1690
1691 Wed Mar 24 13:52:29 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
1692
1693         * Makefile.in: recurse through SUBDIRS for dvi target too
1694
1695 Wed Mar 24 08:48:30 1993  Jim Kingdon  (kingdon@cygnus.com)
1696
1697         * Clean up xcoff relocation.
1698         objfiles.h (struct objfiles): Add section_offsets, num_sections.
1699         symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
1700         Set them.
1701         symtab.h (struct general_symbol_info): Add section field.
1702         minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
1703         xcoffread.c: Set section for symbols and msymbols.
1704         (struct symtab): Add block_line_section field.
1705         buildsym.c (end_symtab): Set it.
1706         (end_symtab and callers): Add section parameter.
1707         objfiles.c (objfile_relocate): New funciton.
1708         xcoffexec.c (vmap_symtab): Use it.
1709         xcoffsolib.h (struct vmap): Remove unused fields.
1710         config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
1711         CORE_NEEDS_RELOCATION, symtab_relocated.
1712         config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
1713         rs6000-tdep.c: Make loadinfotext static.
1714         breakpoint.c (fixup_breakpoints): Doc fix.
1715         symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
1716         (end_symtab): primary field replaces nonreloc.
1717
1718 Tue Mar 23 00:10:53 1993  John Gilmore  (gnu@cygnus.com)
1719
1720         * symtab.h (struct linetable_entry):  Remove confusing comment.
1721
1722 Tue Mar 23 00:01:23 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
1723
1724         * Makefile.in: add installcheck target
1725
1726 Mon Mar 22 16:17:58 1993  Fred Fish  (fnf@cygnus.com)
1727
1728         * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
1729         m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
1730         z8k}:  New directories to hold cpu specific configuration files.
1731         Naming follows gcc convention.
1732         * config/{*.mt, *.mh}:  All target and host makefile fragment
1733         config files moved to an appropriate config/<cpu> subdirectory.
1734         * nm-*, xm-*, tm-*:  All native, host, and target files, which
1735         get linked to nm.h, xm.h, and tm.h respectively by configure,
1736         moved to appropriate config/<cpu> subdirectory.
1737         * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
1738         Native, host, and target files that are common across more than
1739         one cpu architecture and included by one of the configured
1740         native, host, or target files, get moved to config directory.
1741         * Makefile.in (INCLUDE_CFLAGS):  Add -I${srcdir}/config to
1742         pick up native, host, or target include files moved to one of
1743         the config subdirectories, and that are included by other files.
1744         * Makefile.in (alldeps.mak):  Modify to account for new config
1745         directory structure.
1746         * alldeps.mak, depend:  Update for new config directory structure.
1747         * config/*/[ntx]m-*.h:  Modify all files that include other
1748         [ntx]m-*.h files to use path relative to gdb/config.  I.E.
1749         "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
1750         "tm-29k.h".
1751         * remote-eb.c (tm-29k.h):  Include a29k/tm-29k.h.
1752         * mipsread.c (tm-mips.h):  Include mips/tm-mips.h.
1753         * i860-pinsn.c (tm-i860.h):  Include i860/tm-i860.h.
1754         * configure.in:  Default gdb_host_cpu to host_cpu, and remap
1755         the ones where the default is not unique or different than the
1756         config subdirectory name.  Similarly, handle gdb_target_cpu.
1757         Modify configure.in as appropriate to make use of gdb_host_cpu
1758         and gdb_target_cpu to find makefile fragments and make links.
1759
1760 Mon Mar 22 12:36:24 1993  Ian Lance Taylor  (ian@cygnus.com)
1761
1762         * mipsread.c (compare_blocks): Sort blocks with the same start
1763         address by decreasing ending address.
1764
1765 Mon Mar 22 20:36:04 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1766
1767         * mipsread.c (parse_procedure): Save cur_fdr accross call to
1768         lookup_symbol as it might get clobbered by the call.
1769
1770         * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
1771         The previous code did not initialize the language field for the psymtab
1772         entry.
1773
1774 Sat Mar 20 00:33:39 1993  John Gilmore  (gnu@cygnus.com)
1775
1776         * c-exp.y (parse_number):  Avoid shift warning.
1777         * serial.h (struct ttystate):  Declare empty one on DOS.
1778
1779 Fri Mar 19 12:59:50 1993  Stu Grossman  (grossman@cygnus.com)
1780
1781         * xm-sun4os4.h:  Return type of free() should be void, not int.
1782
1783         * vx-share/vxWorks.h:  Remove #def of NULL.
1784
1785 Fri Mar 19 11:28:18 1993  Jim Kingdon  (kingdon@cygnus.com)
1786
1787         * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM.
1788
1789 Fri Mar 19 07:40:09 1993  Steve Chamberlain  (sac@cygnus.com)
1790
1791         * z8k-tdep.c (print_insn): Include the new dis-asm header file.
1792
1793 Thu Mar 18 14:26:57 1993  Per Bothner  (bothner@rtl.cygnus.com)
1794
1795         * ieee-float.c: Moved to ../libiberty.
1796         * ieee-float.h: Moved to ../include.
1797         * Makefile.in:  Update accordingly.
1798         * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
1799         Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
1800         * m68k-tdep.c:  Removed definition of ext_format ext_format_68881;
1801         it is now in ../opcodes/m68881-ext.c.
1802         * mips-tdep.c (mips_skip_prologue):  Try to skip more of the
1803         prologue (some callers _do_ care).
1804         * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn):  Convert to
1805         new interface of ../opcodes/*-dis.c. 
1806         * ch-exp.y:  Add #include <ctype.h>.
1807
1808 Thu Mar 18 11:57:49 1993  Jim Kingdon  (kingdon@cygnus.com)
1809
1810         * xcoffexec.c (exec_close): Don't close exec_bfd twice.
1811
1812         * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
1813
1814 Wed Mar 17 09:46:31 1993  Jim Kingdon  (kingdon@cygnus.com)
1815
1816         * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
1817
1818 Wed Mar 17 11:28:11 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
1819
1820         * z8k-tdep.c (extract_return_value, write_return_value,
1821         store_struct_return): New functions from macros in tm-z8k.h.
1822         
1823 Wed Mar 17 11:23:06 1993  Fred Fish  (fnf@cygnus.com)
1824
1825         * valops.c (value_arg_coerce):  Apply temporary patch to
1826         fix problem with coercion of array and function types when
1827         passed as arguments to C functions, pending a more complete
1828         review of when and how coercion should be done, depending
1829         upon context and language.
1830
1831 Wed Mar 17 09:46:31 1993  Jim Kingdon  (kingdon@cygnus.com)
1832
1833         * xcoffread.c (MIN_TBTABSIZ): Change to 12.
1834
1835         * xcoffread.c (xcoff_symfile_read): Only read stringtab and
1836         debugsec if there are a non-zero number of symbols.
1837
1838 Tue Mar 16 18:08:45 1993  John Gilmore  (gnu@cygnus.com)
1839
1840         * command.c (show_user):  Avoid fprintf_filtered botch (AGAIN!).
1841
1842 Tue Mar 16 15:18:17 1993  Jim Kingdon  (kingdon@cygnus.com)
1843
1844         * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
1845
1846         * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
1847         not just 50 symbols.
1848         (symtbl_num_syms): New variable.
1849         (read_xcoff_symtab): Set it.
1850         (read_symbol_nvalue): Check for bad symno.
1851         (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
1852         always symtbl.
1853
1854 Tue Mar 16 10:09:05 1993  Stu Grossman  (grossman@cygnus.com)
1855
1856         * config/rs6000.mh:  Get rid of -Dfd_set=int crock.
1857         This is defined in defs.h if necessary.
1858         * vx-share/vxWorks.h:  Remove #defs of min and max.
1859         * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
1860         vx-share/xdr_rdb.c:  include defs.h.
1861
1862 Fri Mar 12 09:33:23 1993  Jim Kingdon  (kingdon@cygnus.com)
1863
1864         * xcoffread.c (retrieve_tracebackinfo): Move assignment out
1865         of while condition.
1866
1867         * xcoffread.c (enter_line_range): complain() on bad endoffset.
1868         xcoffread.c: Doc fixes.
1869
1870 Tue Mar  9 09:56:12 1993  Jim Kingdon  (kingdon@cygnus.com)
1871
1872         * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
1873         xcoffexec.c (xcoff_relocate_core): New function.
1874         (text_adjustment): Removed.
1875         (add_vmap): Return the vmap.
1876         rs6000-tdep.c (add_text_to_loadinfo): No longer static.
1877
1878 Fri Mar  5 05:22:46 1993  Jim Kingdon  (kingdon@cygnus.com)
1879
1880         * xcoffsolib.h: Add objfile member to struct vmap.
1881         xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
1882         xcoffexec.c (add_vmap): Allocate objfiles here.
1883
1884 Sun Mar 14 02:54:15 1993  John Gilmore  (gnu@cygnus.com)
1885
1886         Support 68000 series without floating point.
1887
1888         * configure.in (m68000-*-{aout,elf,coff}):  New configs.
1889         * tm-68k-nofp.h:  New file, lacks 68881 support.
1890         * config/m68k-nofp.mt:  New file.
1891
1892 Sun Mar 14 02:30:08 1993  John Gilmore  (gnu@cygnus.com)
1893
1894         Remove a few remaining underscore/no-underscore remnants from
1895         config files.
1896
1897         * config/{m68k-un.mt, sparc-un.mt}:  Remove.
1898         * config/m68k-noun.mt: Rename to m68k-fp.mt.
1899         * config/sparc-noun.mt: Rename to sparc-em.mt.
1900         * tm-68k-noun.h, tm-spc-noun.h:  Remove.
1901         * tm-68k-un.h:  Rename to tm-68k-fp.h.
1902         * tm-spc-un.h:  Rename to tm-spc-em.h.
1903         * tm-sun4sol2.h: Cleanup.
1904         * configure.in (m68k-*, sparc-* targets):  Corresponding changes.
1905
1906 Sat Mar 13 14:58:22 1993  John Gilmore  (gnu@cygnus.com)
1907
1908         * symmisc.c (std_in, std_out, std_err):  Move initializations
1909         to runtime code, in case they aren't constant.
1910
1911 Fri Mar 12 16:23:54 1993  K. Richard Pixley  (rich@cygnus.com)
1912
1913         * symtab.c (find_pc_symtab): some object file formats, notably
1914           mips, have holes in the address ranges of symtabs.  Change
1915           this algorithm from first hit to tightest fit.
1916
1917         * mips-tdep.c (heuristic_proc_start): if we walk the pc into the
1918           fence post without finding the enclosing function, then print a
1919           warning.
1920
1921 Thu Mar 11 09:33:01 1993  Fred Fish  (fnf@cygnus.com)
1922
1923         * utils.c (fputs_demangled, fprint_symbol):  Remove.
1924         * utils.c (fprintf_symbol_filtered):  New function which combines
1925         the functionality of fputs_demangled and fprint_symbol.  Uses a
1926         caller provided language parameter to select the appropriate 
1927         demangler, and caller provided args to pass to the demangler.
1928         * defs.h (enum language):  Move further up in file so enum can
1929         be used in prototypes.
1930         * defs.h (fputs_demangled, fprint_symbol):  Remove prototypes.
1931         * defs.h (fprintf_symbol_filtered):  Add prototype.
1932         * c-typeprint.c (cp_type_print_method_args):  Replace calls to
1933         fputs_demangled with call to fprintf_symbol_filtered.
1934         * cp-valprint.c (demangle.h):  Include
1935         * cp-valprint.c (cp_print_value_fields):  Replace calls to
1936         fprint_symbol with calls to fprintf_symbol_filtered.
1937         * printcmd.c (print_frame_args):  Replace call to fprint_symbol
1938         with call to fprintf_symbol_filtered.
1939         * stack.c (print_frame_info):  Remove obsolete code so we don't
1940         have to update fputs_demangled usage in it.
1941         * stack.c (print_frame_info, frame_info):  Add language variable
1942         to pass to fprintf_symbol_demangled and initialize it from the
1943         symbol's language.  Replace calls to fputs_demangled with calls
1944         to fprintf_symbol_filtered.
1945         * symtab.c (find_methods):  Replace call to fputs_demangled with
1946         call to fprintf_symbol_filtered.
1947         * ch-valprint.c (demangle.h):  Include.
1948         * ch-valprint.c (chill_print_value_fields):  Replace call to
1949         fprint_symbol with call to new fprintf_symbol_filtered.
1950
1951 Wed Mar 10 17:37:11 1993  Fred Fish  (fnf@cygnus.com)
1952
1953         * Makefile.in (VERSION):  Bump version to 4.8.2.
1954
1955         * main.c (source_command):  Require an explicit pathname of file
1956         to source, since previous behavior of defaulting to gdb init file
1957         was troublesome and undocumented.
1958         * printcmd.c (disassemble_command):  Add missing '{}' pair to
1959         else with two statements.  Bug reported by Stephane Tsacas
1960         <slt@isoft.fr>.
1961         * symtab.c (find_pc_line):  Don't complain about zero length or
1962         negative length line numbers for the moment, since we may not own
1963         the terminal when called, such as when single stepping.  (FIXME)
1964         * language.h (CAST_IS_CONVERSION):  True if current language is
1965         C++ as well as C.  Fix from Peter Schauer.
1966         * environ.c (get_in_environ, set_in_environ, unset_in_environ):
1967         Use STREQN macro rather than bare '!strncmp()'.
1968         * environ.c (unset_in_environ):  Avoid use of memcpy on
1969         overlapping memory regions, as suggested by Paul Eggert
1970         <eggert@twinsun.com>.
1971         * c-exp.y (%union struct):  Remove unused ulval as suggested
1972         by Paul Eggert <eggert@twinsun.com>.
1973
1974 Mon Mar  8 19:03:06 1993  Fred Fish  (fnf@cygnus.com)
1975
1976         * main.c (gdbinit):  Make static.
1977         * main.c (inhibit_gdbinit):  Move to file scope.
1978         * main.c (main):  Remove local inhibit_gdbinit.
1979         * main.c (source_command):  Don't source '.gdbinit' file by
1980         default if gdb has been told to ignore it.
1981
1982 Sun Mar  7 21:58:53 1993  Ian Lance Taylor  (ian@cygnus.com)
1983
1984         * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
1985         3.63.
1986
1987 Fri Mar  5 17:39:45 1993  John Gilmore  (gnu@cacophony.cygnus.com)
1988
1989         * printcmd.c (print_address_symbolic):  Only print if offset
1990         is shorter than max_symbolic_offset.
1991         (initialize_printcmd):  `set print max-symbolic-offset'.
1992
1993         * am29k-tdep.c (TAGWORD_ZERO_MASK):  New #define.
1994         (examine_tag):  Use it.
1995         (read_register_stack):  Only look in the local registers for a
1996         memory address if it's between rfb and rsp; go to memory otherwise.
1997         (initialize_29k):  Fix call_scratch_address doc.  Remove reginv_com.
1998         (reginv_com):  Remove ancient kludge command.
1999
2000 Fri Mar  5 17:16:26 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
2001
2002         * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
2003           irix4 will again compile.
2004
2005         * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
2006
2007         * configure.in: accept mips-sgi-irix4* for irix4.
2008
2009 Fri Mar  5 07:49:48 1993  Steve Chamberlain  (sac@lisa.cygnus.com)
2010
2011         * z8k-tdep.c (print_register_hook): Lint.
2012
2013 Thu Mar  4 17:42:03 1993  John Gilmore  (gnu@cygnus.com)
2014
2015         Lint fixes from Paul Eggert (eggert@twinsun.com):
2016
2017         * command.c (do_setshow_command):  var_uintegers are unsigned.
2018         * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes): 
2019         unsigned, since they use hex values with the high bit set.
2020
2021 Thu Mar  4 08:22:55 1993  Fred Fish  (fnf@cygnus.com)
2022
2023         Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
2024         * m88k-pinsn.c (sprint_address):  Use SYMBOL_NAME macro to
2025         access symbol name.  
2026         * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET):  Enclose
2027         macro definitions in parenthesis.
2028
2029         * dbxread.c (dbx_symfile_init):  Catch the case where there is
2030         no string table, but the only way we find out is by reading zero
2031         bytes from EOF.
2032
2033 Wed Mar  3 15:51:28 1993  Fred Fish  (fnf@cygnus.com)
2034
2035         * dbxread.c (dbx_symfile_init):  Make size of the string table
2036         size field a define (DBX_STRINGTAB_SIZE_SIZE).  Ensure that the
2037         offset to the string table is nonzero and handle the nonexistant
2038         string table case, should it occur.  Ensure that the string table
2039         size read from the file is reasonable, with a minimum lower bound
2040         of DBX_STRINGTAB_SIZE_SIZE instead of zero.
2041
2042 Wed Mar  3 07:23:03 1993  Ian Lance Taylor  (ian@cygnus.com)
2043
2044         * Makefile.in: Changes to build testsuite correctly.
2045         (FLAGS_TO_PASS): Added CXX and CXXFLAGS.
2046         (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
2047         (TARGET_FLAGS_TO_PASS): New variable.
2048         (SUBDIRS): Added testsuite.
2049         (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
2050         testsuite is compiled with CC_FOR_TARGET rather than CC.
2051
2052 Tue Mar  2 17:57:56 1993  Fred Fish  (fnf@cygnus.com)
2053
2054         * dbxread.c (dbx_symfile_init):  Fix for nonexistant string table,
2055         reported by mycroft@gnu.ai.mit.edu.
2056
2057         (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
2058         * configure.in (vax-*-ultrix2*):  New triplet.
2059         * config/vaxult2.mh:  New file.
2060         * xm-vaxult2.h:  New file.
2061
2062         * c-exp.y (parse_number):  Change high_bit to unsigned.
2063         * demangle.c:  Change all references to cfront to ARM, since the
2064         actual algorithm is the one specified in the Annotated Reference
2065         Manual.  This was confusing users into thinking that full cfront
2066         support was implemented.
2067         * dwarfread.c (CFRONT_PRODUCER):  Remove, was never really used.
2068         * eval.c (evaluate_subexp):  For STRUCTOP_PTR pass the arg type
2069         directly to lookup_struct_elt_type, which will do the
2070         dereferencing itself.
2071         * gdbtypes.c (lookup_struct_elt_type):  Expand comments.  Fix
2072         NULL dereferencing bug for unnamed structs, comment out
2073         questionable code.
2074         
2075 Mon Mar  1 17:54:41 1993  John Gilmore  (gnu@cygnus.com)
2076
2077         * coffread.c (process_coff_symbol):  Change PCC argument correction
2078         so that it only happens on big-endian targets; so that it only
2079         happens if the short or char argument is aligned on an int
2080         boundary; and so that it changes the location, rather than the
2081         type, of the argument.  These changes tend to parallel similar
2082         (old) changes in stabsread.c.
2083
2084         * coffread.c (coff_read_enum_type):  Use the specified size for
2085         enums, don't assume that they are int-sized.
2086
2087         * c-valprint.c (c_val_print):  Don't assume enums are the same as
2088         ints.
2089
2090         * coredep.c:  Handle NO_PTRACE_H in coredep.c.  Fix by Michael
2091         Rendell, <michael@mercury.cs.mun.ca>.
2092
2093 Mon Mar  1 09:25:57 1993  Fred Fish  (fnf@cygnus.com)
2094
2095         * language.h (local_decimal_format_custom):  Add prototype.
2096         * language.c (local_decimal_format_custom):  Add function, bug
2097         reported by Robert R. Henry (rrh@tera.com).
2098
2099 Fri Feb 26 18:33:18 1993  John Gilmore  (gnu@cacophony.cygnus.com)
2100
2101         * xcoffexec.c (vmap_ldinfo):  Fix "/" for '/' typo, reported
2102         by Josef Leherbauer, joe@takeFive.co.at.
2103
2104 Wed Feb 24 19:17:11 1993  John Gilmore  (gnu@cacophony.cygnus.com)
2105
2106         * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h,
2107         tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h,
2108         tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h,
2109         tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h,
2110         tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h,
2111         tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h,
2112         tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h,
2113         tm-vx68.h, tm-z8k.h:  Remove remnants of NAMES_HAVE_UNDERSCORE.
2114
2115 Wed Feb 24 07:41:15 1993  Fred Fish  (fnf@cygnus.com)
2116
2117         * symtab.h (SYMBOL_INIT_DEMANGLED_NAME):  Initialize contents
2118         of demangled name fields to NULL if no demangling exists for
2119         a symbol.  SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
2120         symbols if their language is known at the time they are created,
2121         but sometimes the language is not known until later.
2122
2123         * ch-typeprint.c (chill_print_type_base):  Name changed to
2124         chill_type_print_base to match pattern for C and C++ names.
2125         * ch-typeprint.c (chill_print_type):  Change "char" to "CHAR"
2126         to be consistent with other usages.
2127         * ch-typeprint.c (chill_type_print_base):  Add support for
2128         printing Chill STRUCT types.
2129         * ch-valprint.c:  Include values.h.
2130         * ch-valprint.c (chill_print_value_fields):  New function and
2131         prototype for printing Chill STRUCT values.
2132         * ch-valprint.c (chill_val_print):  Fix call to val_print_string
2133         that was being called with two args instead of three.
2134         * ch-valprint.c (chill_val_print):  Call chill_print_value_fields
2135         to print Chill STRUCT values.
2136
2137 Tue Feb 23 18:58:11 1993  Mike Werner  (mtw@poseidon.cygnus.com)
2138
2139         * configure.in: added testsuite to configdirs.
2140
2141 Tue Feb 23 11:46:11 1993  Mike Stump  (mrs@cygnus.com)
2142
2143         * doc/stabs.texi: The `this' pointer is now known by the name
2144         `this' instead of `$t'.
2145
2146 Tue Feb 23 11:21:33 1993  Fred Fish  (fnf@cygnus.com)
2147
2148         * dwarfread.c (read_tag_string_type):  Rewrite to allow forward
2149         references of TAG_string_type DIEs in user defined types.
2150         * ch-lang.c (chill_create_fundamental_type):  Track compiler
2151         change that now emits debugging info with the type long for Chill
2152         longs.
2153
2154 Mon Feb 22 15:21:54 1993  Ian Lance Taylor  (ian@cygnus.com)
2155
2156         * remote-mips.c: New file; implements MIPS remote debugging
2157         protocol.
2158         * config/idt.mt: New file; uses remote-mips.c
2159         * configure.in (mips-idt-ecoff): New target; uses idt.mt.
2160
2161         * mips-tdep.c (mips_fpu): New variable; controls use of MIPS
2162         floating point coprocessor.
2163         (mips_push_dummy_frame): If not mips_fpu, don't save floating
2164         point registers.
2165         (mips_pop_frame): If not mips_fpu, don't restore floating point
2166         registers.
2167         (_initialize_mips_tdep): New function; let the user reset mips_fpu
2168         variable.
2169         * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
2170         mips_fpu, don't use fp0 as floating point return register.
2171         (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
2172         registers.
2173
2174 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
2175
2176         * gdb/testsuite: made modifications to testcases, etc., to allow
2177         them to work properly  given the reorganization of deja-gnu and the
2178         relocation of the testcases from deja-gnu to a "tool" subdirectory.
2179
2180 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
2181
2182         * gdb/testsuite: Initial creation of gdb/testsuite.
2183         Migrated dejagnu testcases and support files for testing nm to
2184         gdb/testsuite from deja-gnu.  These files were moved "as is"
2185         with no modifications.  This migration is part of a major overhaul
2186         of dejagnu.  The modifications to these testcases, etc., which
2187         will allow them to work with the new version of dejagnu will be
2188         made in a future update.
2189
2190 Fri Feb 19 18:36:55 1993  John Gilmore  (gnu@cygnus.com)
2191
2192         * NEWS:  Add reminders for next release.
2193
2194 Fri Feb 19 10:01:39 1993  Ian Lance Taylor  (ian@cygnus.com)
2195
2196         * mipsread.c (parse_lines): Correct check for files compiled with
2197         -g1.
2198
2199 Fri Feb 19 05:56:15 1993  John Gilmore  (gnu@cygnus.com)
2200
2201         * Makefile.in (VERSION):  4.8.1 to distinguish local versions.
2202
2203 Fri Feb 19 01:32:58 1993  John Gilmore  (gnu@cygnus.com)
2204
2205         * Makefile.in (VERSION):  GDB-4.8 release!
2206         * README, NEWS:  Update for release.
2207
2208 Thu Feb 18 22:44:40 1993  Stu Grossman  (grossman@cygnus.com)
2209
2210         * am29k-pinsn.c (print_insn):  Minor nits with const.
2211         * am29k-tdep.c:  More minor nits with arg types for
2212         supply_register, NULL vs. 0, read_register_gen, & reginv_com.
2213
2214 Thu Feb 18 22:38:03 1993  John Gilmore  (gnu@cygnus.com)
2215
2216         * gcc.patch:  Update for a different GCC (G++) bug.
2217         * main.c (print_gdb_version):  Update copyright year to 1993.
2218         * nm-hp300bsd.h:  Decide whether this is BSD 4.3 or 4.4,
2219         conditionalize this file on it.  FIXME, right way is to split
2220         these into two config files.  
2221         (ATTACH_DETACH):  Define for BSD 4.4
2222         (PTRACE_ARG_TYPE):  caddr_t for BSD 4.4, unset for 4.3.
2223         (U_REGS_OFFSET):  Revise for 4.4.
2224         (REGISTER_U_ADDR):  Separate for 4.4, but it doesn't work yet.
2225         * xm-hp300bsd.h:  Move definitions of UINT_MAX, INT_MAX, INT_MIN,
2226         LONG_MAX into this file to avoid cpp "redefinition" warnings.
2227
2228 Thu Feb 18 16:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
2229
2230         * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not
2231           caddr_t.
2232
2233 Thu Feb 18 04:10:06 1993  John Gilmore  (gnu@cygnus.com)
2234
2235         * c-lang.c (c_printstr):  Bugfix for length==0 case.
2236
2237         * c-lang.c (c_printstr):  If a C string ends in a null, don't
2238         print the null.
2239
2240 Thu Feb 18 02:39:21 1993  Stu Grossman  (grossman at cygnus.com)
2241
2242         * defs.h (STRCMP):  Make it work for unsigned chars.
2243
2244 Thu Feb 18 01:56:06 1993  John Gilmore  (gnu@cygnus.com)
2245
2246         * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
2247         * config/hp300bsd.mh (REGEX, REGEX1):  Define.
2248         * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART):  #if __GNUC__,
2249         define to kludge the large opcode table into two smaller tables,
2250         since GCC take exponential space to build the table.  Lint.
2251         (NOPCODES):  Remove, use "numopcodes" from opcode/m68k.h instead.
2252
2253 Wed Feb 17 19:24:40 1993  John Gilmore  (gnu@cygnus.com)
2254
2255         * Makefile.in (VERSION):  Roll to 4.7.9.
2256         * xm-hp300bsd.h:  Define PSIGNAL_IN_SIGNAL_H and put a compatible
2257         definition here, to handle both BSD 4.3 and 4.4 systems.
2258         * mipsread.c (ZMAGIC):  #undef to avoid duplicate define.
2259         * remote.c (alarm):  Move declaration to global level, before 
2260         first reference to it.
2261         * tm-i386bsd.h (NUM_REGS):  There are only eleven, not twelve.
2262         * dbxread.c (process_one_symbol):  Cast to unsigned char, not int.
2263
2264 Wed Feb 17 13:40:29 1993  K. Richard Pixley  (rich@cygnus.com)
2265
2266         * remote.c (readchar): forward declare alarm which otherwise looks
2267           like an undeclared variable to gcc.
2268
2269         * dbxread.c (process_one_symbol): cast enum value N_SO into int
2270           when comparing against an int.  Avoids superfluous warning from
2271           vax ultrix 4.2 cc.
2272
2273         * inflow.c (set_sigint_trap): add cast to assignment from signal.
2274           Avoids superfluous warnings from some systems and/or compilers
2275           (like vax ultrix 4.2.)
2276
2277         * language.c (struct op_print unk_op_print_tab): use the enum
2278           values rather naked zeros as initializers.  Avoids warnings from
2279           ultrix type compilers.
2280
2281 Tue Feb 16 00:53:20 1993  John Gilmore  (gnu@cygnus.com)
2282
2283         * Makefile.in (VERSION):  Roll to 4.7.6.
2284         (SFILES_SUBDIR):  Add 29k-share/udi_soc.
2285         (SFILES_SUBSUBDIR):  Move 29k-share/udi files to this macro.
2286         (alldeps.mak):  Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
2287         (ALLDEPFILES_SUBSUBDIR):  Depend on this for deeper dep files.
2288         (HFILES):  Remove all nm-* except nm-trash.h.  Add ns32k-opcode.h.
2289         (depend):  Fix bug where nm-files in config files weren't noticed.
2290         (make-proto-gdb-1):  Avoid changing directories while building new
2291         prototype.  Build SFILES_SUBSUBDIR with longer symlinks.
2292
2293 Mon Feb 15 20:48:09 1993  John Gilmore  (gnu@cygnus.com)
2294
2295         * remote.c:  Improve error recovery.  Allow user to break out
2296         of initial connection attempt with INTERRUPT.  Treat a timeout
2297         while waiting for remote packet like a retry, unless the remote
2298         side is actively running user code.  Fix a few long printf_filtered's.
2299
2300         * xcoffread.c (read_xcoff_symtab):  Don't use null symbol name for
2301         trampoline symbols.
2302
2303         * buildsym.c (start_subfile):  Allow null file name.
2304
2305 Fri Feb 12 15:46:49 1993  K. Richard Pixley  (rich@cygnus.com)
2306
2307         * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
2308           expects a pointer to complaint rather than a complaint
2309           structure.
2310           (process_linenos): free the previously allocated subfile name,
2311           then allocate the new one from the heap.
2312
2313 Fri Feb 12 08:06:05 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
2314
2315         * h8300-tdep.c, tm-h8300.h: turn off some experimental features
2316
2317 Thu Feb 11 00:59:07 1993  John Gilmore  (gnu@cygnus.com)
2318
2319         * stabsread.c (dbx_lookup_type):  Handle negative type numbers.
2320         Previously, would bogusly index off the bottom of type_vector.
2321         (rs6000_builtin_type):  Accept type number as argument.
2322         (read_type, case '-'):  Handle negatives like any other type number.
2323
2324         * symfile.c (deduce_language_from_filename):  Handle null name.
2325
2326         * mips-tdep.c (isa_NAN):  Fix byte order dependency.
2327         Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
2328         fixed by sato@sm.sony.co.jp.
2329
2330         * xcoffread.c (parmsym):  Don't use an initializer to set up
2331         this struct symbol.  Set it up in initialize_xcoffread.
2332         (read_xcoff_symtab, xcoff_symfile_read):  Surround code that only
2333         works on real rs/6000 target with #ifndef FAKING_RS6000.
2334
2335 Wed Feb 10 23:42:37 1993  John Gilmore  (gnu@cygnus.com)
2336
2337         * stabsread.c (rs6000_builtin_type):  Move function from
2338         xcoffread.c:builtin_type.
2339         * xcoffread.c (builtin_type):  Move to stabsread.  Remove
2340         IBM6000_HOST dependency.  Move misplaced comments.
2341         (various):  Change printf's to complaints.
2342         (patch_block_stabs, process_xcoff_symbol case C_DECL):  Add
2343         objfile argument to read_type calls under #if 0.
2344         (process_xcoff_symbol case C_RSYM):  Fix typo in #ifdef.
2345         * xcoffexec.c (map_vmap):  Don't allocate an objfile for the exec_file.
2346         * Makefile.in:  xcoffread.o is not built by default.
2347         * xm-rs6000.h (IBM6000_HOST):  Remove.
2348         * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
2349         * doc/gdbint.texinfo:  Eliminate IBM6000_HOST, document
2350         IBM6000_TARGET.
2351
2352 Wed Feb 10 18:31:20 1993  Stu Grossman  (grossman at cygnus.com)
2353
2354         * findvar.c (read_var_value):  If REG_STRUCT_HAS_ADDR, then set
2355         VALUE_LVAL to be lval_memory so that we don't try to modify wild
2356         register numbers when user tries to modify elements in structs
2357         passed as arguments.
2358         * inflow.c (child_terminal_info):  Move banner outside of system
2359         specific #ifdefs.
2360         * tm-hppa.h (REG_STRUCT_HAS_ADDR):  Define this for HPPA, which
2361         passes struct/union arguments by address.
2362
2363 Wed Feb 10 15:34:46 1993  Ian Lance Taylor  (ian@cygnus.com)
2364
2365         * Based on patch from Kean Johnston <maw@netcom.com>:
2366         * nm-i386sco4.h: New file.  Like nm-i386sco.h, but define
2367         ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
2368         * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
2369
2370 Tue Feb  9 20:07:18 1993  John Gilmore  (gnu@cygnus.com)
2371
2372         * remote-udi.c (FREEZE_MODE):  Fix && for & typo.  Found and
2373         fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
2374
2375 Tue Feb  9 08:18:07 1993  Ian Lance Taylor  (ian@cygnus.com)
2376
2377         * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
2378         cc debugging output.
2379
2380 Tue Feb  9 00:19:28 1993  John Gilmore  (gnu@cygnus.com)
2381
2382         * stabsread.c (define_symbol):  Complain about unrecognized names
2383         that begin with CPLUS_MARKER (often '$'), but don't die.  Fix
2384         suggested by gb@cs.purdue.edu (Gerald Baumgartner).
2385         (read_cpp_abbrev):  Don't use the class name as part of the
2386         vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
2387         abbrevs.  Inspired by Mike Tiemann.
2388         (read_tilde_fields):  Comment.  Remove ancient dead code.
2389         Remove erroneous but non-dead code.  Simplify.  Add complaints.
2390         (in general):  Remove extraneous (parentheses) in return
2391         statements.
2392
2393 Fri Feb  5 14:01:22 1993  John Gilmore  (gnu@cygnus.com)
2394
2395         * coffread.c (coff_lookup_type):  Fix fencepost error reported
2396         by Art Berggreen, <arg@opal.acc.com>.
2397
2398         Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
2399         <Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>:
2400           
2401         * coffread.c (getfilename):  Eliminate COFF_NO_LONG_FILE_NAMES
2402         test, which is apparently left over from when we used native
2403         include files and couldn't depend on the member names being there.
2404         * tm-3b1.h, tm-altos.h, tm-i386v.h:  Don't set it.
2405
2406 Thu Feb  4 12:23:15 1993  Ian Lance Taylor  (ian@cygnus.com)
2407
2408         * mipsread.c: Major overhaul to use new BFD symbol table reading
2409         routines.  Now swaps information as it is needed, rather than
2410         swapping everything when the file is read.
2411
2412 Thu Feb  4 01:52:36 1993  John Gilmore  (gnu@cygnus.com)
2413
2414         * Makefile.in (TARDIRS):  Add sparclite demo dir.
2415         (*.tab.c):  Change dependency on Makefile to depend on
2416         Makefile.in, otherwise it always rebuilds after configuring.
2417         Force output *.tab.c file into current directory even in "make"
2418         versions that rewrite dependent file names used in command lines.
2419
2420         * TODO:  Remove some things we did.
2421         * am29k-opcode.h, convx-opcode:  Remove; now in ../include/opcode.
2422         * os68k-xdep.c:  Remove; useless file (os68k is a target only).
2423         * convex-pinsn.c:  Use ../include/opcode/convex.h.  Add CONST.
2424         * symtab.h:  Eliminate unnamed unions and structs.
2425
2426 Wed Feb  3 14:48:08 1993  John Gilmore  (gnu@cygnus.com)
2427
2428         * Makefile.in (VERSION):  Roll to 4.7.5.
2429
2430 Tue Feb  2 20:47:42 1993  John Gilmore  (gnu@cygnus.com)
2431
2432         * breakpoint.c (breakpoint_re_set_one):  Handle watchpoints when
2433         re-evaluating symbol pointers.
2434
2435 Tue Feb  2 16:10:31 1993  Fred Fish  (fnf@cygnus.com)
2436
2437         * c-exp.y (lcurly, rcurly):  New nonterminals.
2438         * c-exp.y (exp):  Use lcurly and rcurly for arrays and UNOP_MEMVAL
2439         constructs.
2440         * parse.c (free_funcalls):  Moved prototype from parser-defs.h,
2441         made function static.
2442         * parse.c (struct funcall):  Moved struct def from parser-defs.h.
2443         * parse.c (funcall_chain):  Moved from parser-defs.h, made static.
2444         * parse.c (start_arglist):  
2445         * parser-defs.h (free_funcalls):  Moved prototype to parse.c.
2446         * parser-defs.h (struct funcall):  Moved struct def to parse.c.
2447         * parser-defs.h (funcall_chain):  Moved to parse.c.
2448         * printcmd.c (print_frame_nameless_args): Fix prototype.
2449         * tm-mips.h (setup_arbitrary_frame):  Fix prototype.
2450         * tm-sparc.h (setup_arbitrary_frame):  Fix prototype.
2451         * valops.c (typecmp):  Moved prototype from values.h.
2452         * value.h (typecmp):  Moved prototype to valops.c, made static.
2453         * ch-exp.y (yylex):  Change way control sequences are disabled.
2454         
2455 Tue Feb  2 16:11:43 1993  John Gilmore  (gnu@cygnus.com)
2456
2457         * tm-mips.h, tm-sparc.h:  Fix thinko in SETUP_ARBITRARY_FRAME.
2458
2459 Tue Feb  2 15:30:33 1993  Ian Lance Taylor  (ian@cygnus.com)
2460
2461         * mipsread.c (upgrade_type): Build array types correctly, using
2462         create_range_type and create_array_type.
2463
2464 Tue Feb  2 00:19:08 1993  John Gilmore  (gnu@cygnus.com)
2465
2466         * remote-nindy.c:  Cleanup.
2467
2468         * infrun.c (wait_for_inferior):  When rolling back the PC after
2469         a breakpoint, call write_pc so that NPC gets rolled back as well
2470         (for the 29K).
2471
2472         * blockframe.c (inside_entry_file, inside_main_func,
2473         inside_entry_func):  PC of zero is always "bottom of stack".
2474
2475         * printcmd.c (print_frame_args, print_frame_nameless_args):
2476         Let print_frame_nameless_args decide whether there are any,
2477         laying groundwork for possibly later printing 29K args for
2478         functions where we have tag words but no symbols.       
2479
2480 Mon Feb  1 18:09:58 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
2481
2482         * Makefile.in: fix GDB doc targets for new doc subdir structure
2483
2484 Mon Feb  1 17:56:47 1993  John Gilmore  (gnu@cygnus.com)
2485
2486         * stack.c (parse_frame_specification):  Parse as many arguments
2487         as there are (up to MAXARGS).  Pass all of them in argc, argv
2488         format to SETUP_ARBITRARY_FRAME.  Put the burden of checking how
2489         many there were, onto SETUP_ARBITRARY_FRAME.
2490         * tm-mips.h, tm-sparc.h:  Corresponding changes.
2491         * mips-tdep.c, sparc-tdep.c:  Ditto.
2492
2493 Mon Feb  1 17:19:37 1993  John Gilmore  (gnu@cygnus.com)
2494
2495         * hp300ux-nat.c:  Update copyrights.
2496         * mipsread.c (parse_partial_symbols):  Complain about block
2497         indexes that go backwards.  Fix from Peter Schauer.
2498         * symfile.c (syms_from_objfile, symbol_file_add):  Allow a
2499         symbol-file that has no linkage symbols to be read.
2500         * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends):  Move
2501         from tm- file to xm-file, since they're host dependent.
2502         * valarith.c (value_binop):  Typo.
2503
2504 Mon Feb  1 16:16:59 1993  Stu Grossman  (grossman at cygnus.com)
2505
2506         * sparclite/aload.c:  Add copyleft.
2507         * sparclite/crt0.s:  Add comment at beginning.
2508
2509 Mon Feb  1 14:36:11 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
2510
2511         * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
2512         * parse.c (std_regs): Only declare if NO_STD_REGS is defined.
2513
2514 Sun Jan 31 04:32:48 1993  Michael Tiemann  (tiemann@rtl.cygnus.com)
2515
2516         * values.c (value_headof): Fix typo in which VTBL and ARG were
2517         being confused for one another.
2518
2519         * valops.c (typecmp): Now static.
2520
2521         * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
2522         baseclass--we don't always inherit its virtual function table
2523         pointer.
2524
2525         * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
2526         pointer correctly in case value_struct_elt moves it around.
2527
2528         * valops.c (typecmp): Now static.  Also, now groks references
2529         better.
2530
2531         * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
2532         zero on recursive call.  If NAME is the name of TYPE, return TYPE.
2533
2534 Sat Jan 30 19:55:52 1993  John Gilmore  (gnu@cygnus.com)
2535
2536         * hppah-nat.c:  Eliminate <sys/user.h> and other unnecessary stuff,
2537         to avoid "too much defining" error from native C compiler (!).
2538
2539         * Makefile.in (HFILES):  Add typeprint.h.
2540         * typeprint.[ch]:  Update copyrights.
2541
2542 Thu Jan 28 19:09:02 1993  John Gilmore  (gnu@cygnus.com)
2543
2544         * Makefile.in:  Update to match doc/ subdir changes.
2545
2546         * config/hp300hpux.mh:  No cross-host file needed, just native.
2547         * config/go32.mh:  Remove nonexistent "native" support.
2548
2549         M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
2550         * tm-m88k.h (REGISTER_CONVERT_TO_RAW):  Fix typo.
2551         * m88k-tdep.c (next_insn):  Lint, cleanup.
2552         (store_parm_word):  Lint.
2553
2554         * README:  Fix typo (reported by karl@hq.ileaf.com).
2555
2556 Wed Jan 27 21:34:21 1993  Fred Fish  (fnf@cygnus.com)
2557
2558         * expression.h (BINOP_CONCAT): Document use for self concatenation
2559         an integral number of times.
2560         * language.c (binop_type_check):  Extend BINOP_CONCAT for self
2561         concatenation case.
2562         * valarith.c (value_concat):  Rewrite to support self
2563         concatenation an integral number of times.
2564         * Makefile.in (ch-exp.tab.c):  Change "expect" message.
2565         * ch-exp.y (FIXME's):  Make all FIXME tokens distinct, to
2566         eliminate hundreds of spurious shift/reduce and reduce/reduce
2567         conflicts that mask the 5 real ones.
2568         * ch-exp.y (STRING, CONSTANT, SC):  Remove unused tokens.
2569         * ch-exp.y (integer_literal_expression):  Remove production,
2570         no longer used.
2571
2572 Thu Jan 21 09:58:36 1993  Fred Fish  (fnf@cygnus.com)
2573
2574         * eval.c (evaluate_subexp):  Fix OP_ARRAY, remove code that
2575         implied that "no side effects" was nonfunctional.
2576         * eval.c (evaluate_subexp):  Add BINOP_CONCAT case to deal with
2577         character string and bitstring concatenation.
2578         * expprint.c (dump_expression):  Add case for BINOP_CONCAT.
2579         * expression.h (exp_opcode):  Add BINOP_CONCAT.
2580         * gdbtypes.h (type_code):  Add TYPE_CODE_BITSTRING.
2581         * language.c (string_type):  Add function to determine if a type
2582         is a string type.
2583         * language.c (binop_type_check):  Add case for BINOP_CONCAT.
2584         * valarith.c (value_concat):  New function to concatenate two
2585         values, such as character strings or bitstrings.
2586         * valops.c (value_string):  Remove error stub and implement
2587         function body.
2588         * value.h (value_concat):  Add prototype.
2589         * ch-exp.y (operand_3):  Add actions for SLASH_SLASH (//).
2590         * ch-exp.y (yylex):  Recognize SLASH_SLASH.
2591         * ch-lang.c (chill_op_print_tab):  Add SLASH_SLASH (//) as
2592         BINOP_CONCAT.
2593
2594 Tue Jan 19 14:26:15 1993  Fred Fish  (fnf@cygnus.com)
2595
2596         * c-exp.y (exp):  Add production to support direct creation
2597         of array constants using the obvious syntax.
2598         * c-valprint.c (c_val_print):  Set printed string length.
2599         * dwarfread.c (read_tag_string_type):  New prototype and
2600         function that handles TAG_string_type DIEs.
2601         * dwarfread.c (process_dies):  Add case for TAG_string_type
2602         that calls new read_tag_string_type function.
2603         * expprint.c (print_subexp):  Add support for OP_ARRAY.
2604         * gdbtypes.c (create_range_type, create_array_type):  Inherit
2605         objfile from the index type.
2606         * ch-typeprint.c (chill_print_type):  Add case for
2607         TYPE_CODE_STRING.
2608         * ch-valprint.c (chill_val_print):  Fix case for
2609         TYPE_CODE_STRING.
2610
2611 Mon Jan 18 11:58:45 1993  Ian Lance Taylor  (ian@cygnus.com)
2612
2613         * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
2614         MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
2615         include/coff/mips.h.
2616
2617 Fri Jan 15 20:26:50 1993  Fred Fish  (fnf@cygnus.com)
2618
2619         * c-exp.y (exp:STRING):  Convert C strings into array-of-char
2620         constants with an explicit null byte terminator.  OP_STRING is
2621         now used for real string types.
2622         * c-lang.c (builtin_type_*):  Move declarations to lang.c since
2623         they are used by all languages.
2624         * c-lang.c (_initialize_c_language):  Move initializations of 
2625         builtin_type_* to lang.c.
2626         * c-typeprint.c (c_type_print_varspec_prefix,
2627         c_type_print_varspec_suffix):  TYPE_CODE_PASCAL_ARRAY renamed
2628         to TYPE_CODE_STRING.
2629         * c-valprint.c (c_val_print):  Change the way character arrays
2630         are printed as strings to be consistent with the way strings
2631         are printed when pointer-to-char types are dereferenced.
2632         Remove test of print_max before calling val_print_string, which
2633         now does it's own test.
2634         * eval.c (evaluate_subexp):  Add case for OP_ARRAY.
2635         * expprint.c (print_subexp, dump_expression):  Add case for OP_ARRAY.
2636         * expression.h (enum exp_opcode):  Add OP_ARRAY and document.
2637         * gdbtypes.c (builtin_type_*):  Add declarations moved from
2638         c-lang.c.
2639         * gdbtypes.c (create_string_type):  New function to create real
2640         string types.
2641         * gdbtypes.c (recursive_dump_type):  TYPE_CODE_PASCAL_ARRAY
2642         renamed to TYPE_CODE_STRING.
2643         * gdbtypes.c (_initialize_gdbtypes):  Add initializations of
2644         builtin_type_* types moved from c-lang.c.
2645         * gdbtypes.h (enum type_code):  TYPE_CODE_PASCAL_ARRAY renamed
2646         to TYPE_CODE_STRING.
2647         * gdbtypes.h (builtin_type_string):  Add extern declaration.
2648         * gdbtypes.h (create_string_type):  Add prototype.
2649         * m2-lang.c (m2_create_fundamental_type):  TYPE_CODE_PASCAL_ARRAY
2650         renamed to TYPE_CODE_STRING.
2651         * m88k-tdep.c (pushed_size):  TYPE_CODE_PASCAL_ARRAY renamed to
2652         TYPE_CODE_STRING.
2653         * mipsread.c (_initialize_mipsread):  TYPE_CODE_PASCAL_ARRAY
2654         renamed to TYPE_CODE_STRING.
2655         * parse.c (length_of_subexp, prefixify_subexp):  Add case for
2656         OP_ARRAY.
2657         * printcmd.c (print_formatted):  Recognize TYPE_CODE_STRING.
2658         * typeprint.c (print_type_scalar):  TYPE_CODE_PASCAL_ARRAY renamed
2659         to TYPE_CODE_STRING.
2660         * valops.c (allocate_space_in_inferior):  New function and
2661         prototype, using code ripped out of value_string.
2662         * valops.c (value_string):  Rewritten to use new function
2663         allocate_space_in_inferior, but temporarily disabled until some
2664         other support is in place.
2665         * valops.c (value_array):  New function to create array constants.
2666         * valprint.c (val_print_string):  Add comment to document use, 
2667         complete rewrite to fix several small buglets.
2668         * value.h (value_array):  Add prototype.
2669         * value.h (val_print_string):  Change prototype to match rewrite.
2670         * ch-valprint.c (chill_val_print):  Add case for TYPE_CODE_STRING.
2671         * ch-exp.y (match_character_literal):  Disable recognition of 
2672         control sequence form of character literals and document why.
2673
2674 Thu Jan 14 15:48:12 1993  Stu Grossman  (grossman at cygnus.com)
2675
2676         * nindy-share/nindy.c:  Add comments to #endif's to clarify
2677         grouping.
2678
2679         * hppa-pinsn.c (print_insn):  Use read_memory_integer, instead of
2680         read_memory to get byte order right.
2681         * hppah-tdep.c (find_unwind_info):  Don't read in unwind info
2682         anymore.  This is done in paread.c now.  We expect unwind info
2683         to hang off of objfiles, and search all of the objfiles when until
2684         we find a match.
2685         * (skip_trampoline_code):  Cast arg to target_read_memory.
2686         * objfiles.h (struct objfile):  Add new field obj_private to hold
2687         per object file private data (unwind info in this case).
2688         * paread.c (read_unwind_info):  New routine to read unwind info
2689         for the objfile.  This data is hung off of obj_private.
2690         * tm-hppa.h:  Define struct obj_unwind_info, to hold pointers to
2691         the unwind info for this objfile.  Also define OBJ_UNWIND_INFO to
2692         make this easier to access.
2693
2694 Wed Jan 13 20:49:59 1993  Fred Fish  (fnf@cygnus.com)
2695
2696         * c-valprint.c (cp_print_class_member):  Add extern decl.
2697         * c-valprint.c (c_val_print):  Extract code for printing methods
2698         and move it to cp_print_class_method in cp-valprint.c.
2699         * c-valprint.c (c_val_print):  Extract code to print strings and
2700         move it to val_print_string in valprint.c.
2701         * cp-valprint.c (cp_print_class_method):  New function using
2702         code extracted from c_val_print.
2703         * valprint.c (val_print_string):  New function using code
2704         extracted from c_val_print.
2705         * value.h (val_print_string):  Add prototype.
2706         * ch-exp.y (CHARACTER_STRING_LITERAL):  Set correct token type.
2707         * ch-exp.y (literal):  Add action for CHARACTER_STRING_LITERAL.
2708         * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE,
2709         CHECKBUF, growbuf_by_size):  New variables, macros, and support
2710         functions for implementing a dynamically expandable temp buffer.
2711         * ch-exp.y (match_string_literal):  New lexer function.
2712         * ch-exp.y (match_bitstring_literal):  Dynamic buffer code
2713         removed and replaced with new CHECKBUF macro.
2714         * ch-exp.y (yylex):  Call match_string_literal when appropriate.
2715         * ch-valprint.c (ch_val_print):  Add code for TYPE_CODE_PTR.
2716
2717 Sat Jan  9 19:59:33 1993  Stu Grossman  (grossman at cygnus.com)
2718
2719         * Makefile.in:  Add info for paread.o.
2720         * config/hppahpux.mh:  Add paread.o to NATDEPFILES.
2721
2722         * blockframe.c (frameless_look_for_prologue):  Correct the
2723         comment.
2724         * gdbtypes.h, gdbtypes.c:  Use const in decl of
2725         cplus_struct_default, now that pa-gas assembler has been fixed.
2726         * hppah-nat.c:  Formatting.
2727         * hppah-tdep.c:  Remove lots of useless externs for variables we
2728         don't use.
2729         * (find_unwind_entry):  Speed up by using binary search, and a one
2730         entry cache.
2731         * (rp_saved):  New routine to see what unwind info says about RP
2732         being saved on the stack frame.
2733         * (frame_saved_pc):  Look for prologue to see if we need to
2734         examine the stack for the saved RP or not.
2735         * (init_extra_frame_info):  Check for prologue, instead of
2736         framesize to determine if we are frameless or not.
2737         * (frame_chain_valid):  Stop backtraces when we run into _start.
2738         * (push_dummy_frame):  Reformat to make more readable.
2739         * (find_dummy_frame_regs):  ditto.
2740         * (hp_pop_frame):  ditto.
2741         * (hp_restore_pc_queue):  small cleanup.
2742         * (hp_push_arguments):  ditto.
2743         * (pa_do_registers_info):  ditto.
2744         * (skip_prologue):  New routine created from SKIP_PROLOGUE macro.
2745         * tm-hppa.h:  Move contents of SKIP_PROLOGUE into hppah-tdep.c.
2746         * Define FRAME_CHAIN_VALID.
2747         * Turn on BELIEVE_PCC_PROMOTION so that we can access char args
2748         passed to functions.
2749
2750         * paread.c (pa_symtab_read):  Use new bfd conventions for
2751         accessing linker symbol table.
2752         * (pa_symfile_init):  Access embedded STAB info via BFD section
2753         mechanism and related macros.
2754
2755
2756 Sat Jan  9 19:31:43 1993  Stu Grossman  (grossman at cygnus.com)
2757
2758         * sparc-stub.c:  Use a seperate stack for our traps.
2759         * Handle recursive traps.
2760         * Remove all trap init code.  This needs to be done by the
2761         environment.
2762         * (set_mem_fault_trap):  Call exceptionHandler() to setup this
2763         trap.
2764         * (handle_exception):  See if we are at breakinst, if so, then
2765         advance PC sp that users can just step out of breakpoint().
2766         * (case 'G'):  Don't let GDB hack CWP.  Also, copy saved regs to
2767         new place if SP has changed.
2768         * (case 's'):  Get rid of this, we can't do it yet.
2769         * (case 't'):  New command to test any old random feature.
2770         * (case 'r'):  New command to reset the system.
2771         * (breakpoint):  Add label to breakpoint trap instruction so that
2772         handle_exception() can detect where we are and get past the
2773         breakpoint trivially.
2774
2775 Thu Jan  7 13:33:06 1993  Ian Lance Taylor  (ian@cygnus.com)
2776
2777         * mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
2778
2779 Thu Jan  7 09:21:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2780
2781         * configure.in: recognise all sparclite variants
2782
2783 Wed Jan  6 10:14:51 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
2784
2785         * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
2786         binary files oring in the right bit.
2787
2788         * main.c, source.c, state.c, symmisc.c: use macros defined in
2789         fopen-{bin|both} when fopening files.
2790
2791 Wed Jan  6 08:19:11 1993  Fred Fish  (fnf@cygnus.com)
2792
2793         * defs.h (HOST_CHAR_BIT):  New macro, defaults to either CHAR_BIT
2794         from a configuration file (typically including <limits.h>), or to
2795         TARGET_CHAR_BIT if CHAR_BIT is not defined.
2796         * eval.c (evaluate_subexp):  Use new BYTES_TO_EXP_ELEM macro.
2797         * eval.c (evaluate_subexp):  Add case for OP_BITSTRING.
2798         * expprint.c (print_subexp):  Use new BYTES_TO_EXP_ELEM macro.
2799         * exppritn.c (print_subexp, dump_expression):  Add case for
2800         OP_BITSTRING.
2801         * expression.h (OP_BITSTRING):  New expression element type for
2802         packed bitstrings.
2803         * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM):  New
2804         macros to convert between number of expression elements and bytes
2805         to store that many elements.
2806         * i960-tdep.c (leafproc_return):  Use new macros to access
2807         minimal symbol name and address fields.
2808         * m88k-pinsn.c (sprint_address):  Use new macros to access
2809         minimal symbol name and address fields.
2810         * nindy-tdep.c (nindy_frame_chain_valid):  Use new macro to access
2811         minimal symbol address field.
2812         * parse.c (write_exp_elt, write_exp_string, prefixify_expression,
2813         parse_exp_1):  Use new EXP_ELEM_TO_BYTES macro.
2814         * parse.c (write_exp_string, length_of_subexp, prefixify_expression):
2815         Use new BYTES_TO_EXP_ELEM macro.
2816         * parse.c (write_exp_bitstring):  New function to write packed
2817         bitstrings into the expression element vector.
2818         * parse.c (length_of_subexp, prefixify_subexp):  Add case for
2819         OP_BITSTRING.
2820         * parser-defs.h (struct stoken):  Document that it is used for
2821         OP_BITSTRING as well as OP_STRING.
2822         * parser-defs.h (write_exp_bitstring):  Add prototype.
2823         * ch-exp.y (BIT_STRING_LITERAL):  Change token type to sval.
2824         * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER,
2825         LOWER, LENGTH):  New tokens for keywords.
2826         * ch-exp.y (chill_value_built_in_routine_call, mode_argument, 
2827         upper_lower_argument, length_argument, array_mode_name,
2828         string_mode_name, variant_structure_mode_name):  New non-terminals
2829         and productions.
2830         * ch-exp.y (literal):  Useful production for BIT_STRING_LITERAL.
2831         * ch-exp.y (match_bitstring_literal):  New lexer support function
2832         to recognize bitstring literals.
2833         * ch-exp.y (tokentab6):  New token table for 6 character keywords.
2834         * ch-exp.y (tokentab5):  Add LOWER, UPPER.
2835         * ch-exp.y (tokentab4):  Add PRED, SUCC, CARD, SIZE.
2836         * ch-exp.y (tokentab3):  Add NUM, ABS, MIN, MAX.
2837         * ch-exp.y (yylex):  Check tokentab6.
2838         * ch-exp.y (yylex):  Call match_bitstring_literal.
2839
2840 Mon Jan  4 16:54:18 1993  Fred Fish  (fnf@cygnus.com)
2841
2842         * xcoffexec.c (vmap_symtab):  Use new macros to access minimal
2843         symbol name and value fields.
2844
2845         * c-exp.y (yylex):  Make static, to match prototype and other
2846         <lang>-exp.y files.
2847
2848         * expression.h (exp_opcode):  Add BINOP_MOD.
2849         * eval.c (evaluate_subexp):  Handle new BINOP_MOD.
2850         * expprint.c (dump_expression):  Handle new BINOP_MOD.
2851         * language.c (binop_type_check):  Handle new BINOP_MOD.
2852         * main.c (float_handler):  Re-enable float handler when hit.
2853         * valarith.c (language.h):  Include, need current_language.
2854         * valarith.c (TRUNCATION_TOWARDS_ZERO):  Define default macro
2855         for integer divide truncates towards zero for negative results.
2856         * valarith.c (value_x_binop):  Handle BINOP_MOD if seen.
2857         * valarith.c (value_binop):  Allow arithmetic operations on
2858         TYPE_CODE_CHAR variables.  Add case to handle new BINOP_MOD.
2859         * ch-exp.y (operand_4):  Add useful actions for MOD and REM.
2860         * ch-exp.y (tokentab3):  Add MOD and REM.
2861         * ch-exp.y (yylex):  Set innermost_block for symbols found
2862         in local scopes.  Return LOCATION_NAME for local symbols.
2863         * ch-lang.c (chill_op_print_tab):  Fix MOD entry to use
2864         BINOP_MOD instead of BINOP_REM.  Add REM entry, using BINOP_REM.
2865
2866 Mon Jan  4 07:35:31 1993  Steve Chamberlain  (sac@wahini.cygnus.com)
2867
2868         * command.c (shell_escape, make_command, _initialize_command):
2869         don't create or use fork if CANT_FORK is defined.
2870         * serial.h, ser-go32.c: now compiles, but "the obvious problems of
2871         code written for the IBM PC" remain.
2872         * xm-go32.h: define CANT_FORK
2873
2874 Sun Jan  3 14:24:56 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
2875
2876         * remote-sim.c: first attempt at general simulator interface
2877         * remote-hms.c: whitespace
2878         * h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
2879         understand new stack layout. (print_register_hook): print ccr
2880         register in a fancy way.
2881
2882 Sun Jan  3 14:16:10 1993  Fred Fish  (fnf@cygnus.com)
2883
2884         * eval.c (language.h): Include.
2885         * eval.c (evaluate_subexp_with_coercion):  Only coerce arrays
2886         to pointer types when the current language is C.  It loses for
2887         other languages when the lower index bound is nonzero.
2888         * valarith.c (value_subscript):  Take array lower bounds into
2889         account when performing subscripting operations.
2890         * valops.c (value_coerce_array):  Add comment describing why
2891         arrays with nonzero lower bounds are dealt with in value_subscript,
2892         rather than in value_coerce_array.
2893
2894 Sat Jan  2 12:16:41 1993  Fred Fish  (fnf@cygnus.com)
2895
2896         * ch-exp.y (FLOAT_LITERAL):  Add token.
2897         * ch-exp.y (literal):  Add FLOAT_LITERAL.
2898         * ch-exp.y (match_float_literal):  New lexer routine.
2899         * ch-exp.y (convert_float):  Remove.
2900         * ch-exp.y (yylex):  Call match_float_literal.
2901         * ch-exp.y (yylex):  Match single '.' after trying
2902         to match floating point literals.
2903
2904         * eval.c (evaluate_subexp):  Add case MULTI_SUBSCRIPT.
2905         * expprint.c (print_subexp):  Rename BINOP_MULTI_SUBSCRIPT to
2906         MULTI_SUBSCRIPT.
2907         * expprint.c (dump_expression):  New function for dumping
2908         expression vectors during gdb debugging.
2909         * expression.h (BINOP_MULTI_SUBSCRIPT):  Name changed to
2910         MULTI_SUBSCRIPT and moved out of BINOP range.
2911         * expression.h (DUMP_EXPRESSION):  New macro that calls
2912         dump_expression if DEBUG_EXPRESSIONS is defined.
2913         * m2-exp.y (BINOP_MULTI_SUBSCRIPT):  Changed to MULTI_SUBSCRIPT.
2914         * parse.c (length_of_subexp, prefixify_subexp):  Change
2915         BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
2916         * parse.c (parse_exp_1):  Call DUMP_EXPRESSION before and after
2917         prefixify'ing the expression.
2918         * printcmd.c (print_command_1):  Add comment.
2919         * ch-exp.y (expression_list):  Add useful actions.
2920         * ch-exp.y (value_array_element):  Add useful actions.
2921         * ch-exp.y (array_primitive_value):  Add production.
2922         * ch-exp.y (yylex):  Recognize ',' as a token.
2923
2924 Fri Jan  1 18:22:02 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2925
2926         * Makefile.in: pass prefix and exec_prefix via FLAGS_TO_PASS,
2927         POSIXize the recursive makes (make [variable assignments] target{s})
2928
2929 Fri Jan  1 11:56:23 1993  Fred Fish  (fnf@cygnus.com)
2930
2931         * tm-sun4sol2.h (CPLUS_MARKER):  Remove, now set in tm-sysv4.h.
2932         * tm-sysv4.h (CPLUS_MARKER):  By default, g++ uses '.' as the
2933         CPLUS_MARKER for all SVR4 systems, so follow suit.
2934         * defs.h (strdup_demangled):  Remove prototype.
2935         * dwarfread.c (enum_type, synthesize_typedef):  Use new macro
2936         SYMBOL_INIT_LANGUAGE_SPECIFIC.
2937         * dwarfread.c (new_symbol):  Use SYMBOL_INIT_DEMANGLED_NAME.
2938         * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol,
2939         prim_record_minimal_symbol_and_info):  Use new macro
2940         SYMBOL_INIT_LANGUAGE_SPECIFIC.
2941         * minsyms.c (install_minimal_symbols):  Use new macro
2942         SYMBOL_INIT_DEMANGLED_NAME.
2943         * stabsread.c (define_symbol):  Use new macro
2944         SYMBOL_INIT_DEMANGLED_NAME.
2945         * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
2946         Use new macro SYMBOL_INIT_DEMANGLED_NAME.
2947         * symfile.h (ADD_PSYMBOL_VT_TO_LIST):  Use new macro
2948         SYMBOL_INIT_DEMANGLED_NAME.
2949         * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol):
2950         SYMBOL_DEMANGLED_NAME now tests language itself.
2951         * symtab.c (COMPLETION_LIST_ADD_SYMBOL):  SYMBOL_DEMANGLED_NAME
2952         now tests language itself.
2953         * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME):  New macro that does
2954         what SYMBOL_DEMANGLED_NAME used to do, directly access the C++
2955         mangled name member in the language dependent portion of a symbol.
2956         * symtab.h (SYMBOL_DEMANGLED_NAME):  New macro that returns the
2957         mangled name member appropriate for a symbol's language.
2958         * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME,
2959         SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP):
2960         SYMBOL_DEMANGLED_NAME now tests language itself.
2961         * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC):  New macro that
2962         initializes language dependent portion of symbol.
2963         * symtab.h (SYMBOL_INIT_DEMANGLED_NAME):  New macro that
2964         demangles and caches the demangled form of symbol names.
2965         * utils.c (fputs_demangled, fprint_symbol):  Use current language
2966         to select an appropriate demangling algorithm.
2967         * utils.c (strdup_demangled):  Remove, no longer used.
2968         * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME):  New macro that directly
2969         access the Chill mangled name member in the language dependent
2970         portion of a symbol.
2971         * ch-lang.c (chill_demangle):  New function, simple demangler.
2972         * defs.h (chill_demangle):  Add prototype.
2973         * symtab.h (language_dependent_info):  Add struct for Chill.    
2974
2975 For older changes see ChangeLog-92
2976 \f
2977 Local Variables:
2978 mode: indented-text
2979 left-margin: 8
2980 fill-column: 74
2981 version-control: never
2982 End: