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