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