* valarith.c (value_binop): Figure out type ourself based on
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
5b3591ab
JK
1Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2
eade0c6c
JK
3 * printcmd.c (decode_format): Don't blithely set the size for
4 an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT.
5
6 * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h.
7 If BFD64, make a LONGEST a BFD_HOST_64_BIT.
8 * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead
9 always just check against INT_MIN and INT_MAX (this also fixes things
10 if sizeof (long) > sizeof (int), e.g. Alpha).
11 * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h:
12 Don't define LONGEST or BUILTIN_TYPE_LONGEST.
13 * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and
14 BUILTIN_TYPE_UNSIGNED_LONGEST.
ce855594
JK
15 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
16 longest_int and longest_unsigned_int.
eade0c6c
JK
17 * value.h (struct value): Just align to LONGEST, rather than worrying
18 about CC_HAS_LONG_LONG.
b1de1647
JK
19 * valarith.c (value_binop): Figure out type ourself based on
20 sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The
21 point is that we don't depend on CC_HAS_LONG_LONG anymore.
eade0c6c
JK
22 * valprint.c (val_print_type_code_int): Just call
23 extract_unsigned_integer directly, rather than going through
24 unpack_long.
25 * printcmd.c (decode_format): Remove code which would sometimes
26 change 'g' size to 'w' for integers. print_scalar_formatted handles
27 printing huge integers well enough, thank you.
28
719d9abb
JK
29 * command.c (add_set_cmd, no_just_help_class_command): Change
30 to make this the sfunc, not cfunc, since that is how we call it.
31 * command.h: Comment difference between sfunc and cfunc.
32 * demangle.c (set_demangling_command): Add third arg since that
33 is how it is called.
34 (_initialize_demangler): Use sfunc, not cfunc, for
35 set_demangling_command, since that is how it is called.
36 Remove show_demangling_command; it has no effect.
37
5b3591ab
JK
38 * command.c (shell_escape): Report errors correctly (with error
39 message from strerror).
40
37f24dc9
ILT
41Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
42
43 * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
44 x_scnlen.l rather than x_scnlen to match corresponding change in
45 coff/internal.h.
46
61932a8e
JK
47Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
48
49 * gdbtypes.h, ch-typeprint.c, ch-valprint.c:
50 Change comments regarding TYPE_CODE_BOOL.
51 * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL,
52 regardless of the language.
53 (value_true): Just call value_logical_not regardless of language.
54 * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type):
55 Remove #if 0'd code which makes some enums TYPE_CODE_BOOL.
56 * language.h: Improve comment for la_builtin_type_vector.
57 * m2-lang.c (_initialize_m2_language): Don't add any fields to
58 builtin_type_m2_bool.
59
7bec77b4
JK
60Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com)
61
62 * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
63 Define IN_SIGTRAMP and backtrace correctly through signal handlers.
64
8afd05c0
JK
65Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
66
67 * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl
68 by restarting the ioctl.
69
10b9bb56
JK
70Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
71
72 * target.h (target_wait): Add comment about calling
73 return_to_top_level.
74
bf8d9d28
ILT
75Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
76
77 * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
78 additional arguments.
79 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.
80
efe3ff3e
SG
81Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com)
82
83 * sparc-stub.c: Remove unnecessary #include of memory.h.
84
37dea45f
JK
85Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
86
14d79562
JK
87 * mips-tdep.c: Remove code which sets saved_regs from
88 init_extra_frame_info and put it in new function mips_find_saved_regs.
89 (READ_FRAME_REG): Remove macro and replace uses with the expansion.
90 * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs,
91 check if it is NULL and call mips_find_saved_regs if so.
92
47d52968
JK
93 * remote-mips.c: Use unfiltered, not filtered, output most places.
94
37dea45f
JK
95 * blockframe.c (get_prev_frame_info): Detect and stop an infinite
96 backtrace. Revise comments.
97
0434c1a0
PS
98Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
99
100 * mdebugread.c (parse_procedure): Remove _sigtramp kludges for
101 alpha and irix. The _sigtramp case has to be handled properly
102 in the tdep files if we have no ecoff debugging info.
103 * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain),
104 mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames
105 without PC_REGNUM kludge.
106 * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg):
107 Clean up handling of mips sigtramp frames, improve comments.
108
d64956fa
JL
109Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
110
111 * paread.c (read_unwind_info): Fix typo.
112
113 * paread.c (pa_symtab_read): Update the "check_strange_names"
114 filter to match GCC's current output. Filter out section symbols
115 (which the HP linker sometimes puts in the wrong place).
116
9db58d3a
JK
117Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
118
3a479851
JK
119 * serial.h (SERIAL_SET_TTY_STATE): Comment return value.
120
a0b352c0
JK
121 * Makefile.in (TAGS): Just echo one line, rather than the whole thing.
122
123 * Makefile.in: Remove all references to sparcly-nat.c.
124
125 * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h
126 remote-sim.h directly, rather than via $(remote_utils_h). This avoids
127 duplicating serial.h and target.h.
128
7a78db15
JK
129 * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables
130 are not used anywhere (a 5 Oct 1993 change removed the uses).
131
895efe6b
JK
132 * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
133 * config/m68k/es1800.mt: Add comment.
3a479851 134 * remote-es.c: Extensive changes to update to current conventions.
895efe6b 135
9db58d3a
JK
136 * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:
137 If the timeout is too big to fit in c_cc[VTIME], then do multiple reads
138 to achieve the desired timeout.
139 * serial.h (serial_t): Add field timeout_remaining.
140
f28c6e38
JK
141Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
142
143 * c-exp.y (yylex): Reenable nested type code.
144
b09f44d2
JK
145Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
146
7f2ffa58
JK
147 * a29k-tdep.c (examine_tag): Add comment regarding argcount.
148
796d1fd3
JK
149 * remote-mips.c (mips_ops): Fix docstring.
150
97cc0428
JK
151 * remote-bug.c (bug_ops): Remove spurious newline from docstring.
152
ddd0223e
JK
153 * config/m68k/tm-monitor.h: Changes to bring this into accordance
154 with the old tm-m68k-em.h:
155 (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove.
97cc0428 156 (HAVE_68881): Don't undefine; HAVE_68881 is obsolete.
ddd0223e
JK
157 (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
158 Add FIXME regarding GET_LONGJMP_TARGET.
159
b09f44d2 160 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
97cc0428
JK
161 * infptrace.c (kill_inferior): Add comments.
162 * main.c (quit_command): Call target_close after we kill or
163 detach.
164 * remote-udi.c (udi_close): Don't error() if QUITTING.
b09f44d2 165
0ffba029
RS
166Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com)
167
168 * configure.in: Make m68k-coff and aout add monitor support in
169 addition to the standard serial support.
170
bb7cb982
JK
171Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
172
173 * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
174 index indexNil.
175
9fdb3f7a
JK
176Fri Jan 28 10:40:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
177
178 * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
179 * elfread.c (record_minimal_symbol_and_info),
180 dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
181
a28d16d3
JK
182Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
183
6202263d
JK
184 * i386-stub.c: Add ".text" right before "mem_fault:".
185
9c41f6a6
JK
186 * main.c (baud_rate): Add FIXME comment about printing -1 value.
187
188 * remote-utils.c (usage): Fix message to be accurate and conform
189 more closely to normal conventions.
190
191 * remote-utils.c (gr_files_info): Have the exec_bfd test control
192 whether to show information about exec_bfd, and not control whether
193 to show information about device and speed.
194
195 * remote-utils.c (gr_open): If sr_get_device returns NULL, give
196 usage message, don't dump core.
197
198 * remote-bug.c (bug_write_memory): Use alloca, not GCC extension
199 for variable size array.
200 (bug_fetch_register, bug_store_register): Rename "value" to
201 "fpreg_buf" because some compilers don't like variables whose
202 names are the same as types.
203 (bug_store_register): Use a cast when converting char * to
204 unsigned char *.
205
d5c551c9
JK
206 * symmisc.c (maintenance_print_symbols): Don't refer to the name
207 of the command in error message (the text was referring to the old
208 name of the command).
209
210 * symmisc.c (dump_symtab): Fix args to fprintf_filtered.
211
0e4ad984
JK
212 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
213 full details on structure elements without names. This partially
214 reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect
215 of those changes was accidental.
216
577da8cb
JK
217 * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
218 defined, make it an error to specify a single argument which is not
219 a frame number.
220
a28d16d3
JK
221 * Makefile.in (version.c), main.c (print_gdb_version): Use
222 host_alias and target_alias, not host_canonical and
223 target_canonical, to print configuration.
224
833e0d94
JK
225Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
226
d92f3f08
JK
227 * parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead
228 of builtin_type_long. It is necessary to get a type which is
229 TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
230
833e0d94
JK
231 Fix many sins which will come up in 32 bit x 64 bit GDB, and
232 various miscellaneous things discovered in the process:
233 * printcmd.c, defs.h (print_address_numeric): New function.
234 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print)
235 breakpoint.c (describe_other_breakpoints, breakpoint_1, mention),
236 cp-valprint.c (cplus_print_value), infcmd.c (jump_command),
237 printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c:
238 Use it.
239 * utils.c, defs.h (gdb_print_address): New function.
240 * expprint (dump_expression), gdbtypes.h: Use it.
241 * breakpoint.c (describe_other_breakpoints),
242 symmisc.c (dump_symtab, print_symbol):
243 Use filtered not unfiltered I/O.
244 (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well
245 just run gdb under a debugger for this (and it had problems with
246 printing addresses, how to print b->shadow, etc.).
247 * buildsym.c (make_blockvector), core.c (memory_error),
248 exec.c (print_section_info), maint.c (print_section_table),
249 mdebugread.c (parse_procedure), solib.c, source.c, symfile.c,
250 symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
251 Add comments saying code is broken. Marked with "FIXME-32x64".
252 * dbxread.c (process_one_symbol), partial-stab.h (default),
253 remote-vx.c (vx_run_files_info):
254 Don't cast int being passed to local_hex_string.
255 * symmisc.c (print_symbol): Don't cast long being passed to %lx.
256 * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE
257 only being a long.
258 * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG
259 and LOC_LOCAL.
260 * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE.
261 * source.c: Include <sys/types.h> regardless of USG.
262
67e9b3b3
PS
263Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
264
265 * valops.c (value_assign): Set `type' after coercing toval.
266 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print):
267 Use extract_unsigned_integer to get the address of a reference.
268
36464897
JK
269Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
270
91a0575c
JK
271 * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h:
272 AIX can use ? instead of \ for continuation. Deal with it.
273
36464897
JK
274 * paread.c (read_unwind_info): Just assign to objfile->obj_private,
275 not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which
276 the HP compiler in ANSI mode doesn't like.
277
278 * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it
3bc45b7a
JK
279 based on USG, rather than defining HAVE_SIGSETMASK to an
280 expression containing defined. Having a macro used in #if expand
281 to an expression containing "defined" is undefined according to
282 ANSI, and the HP compiler in ANSI mode doesn't do what we wanted
283 it to.
36464897 284
2ba6182b
JG
285Mon Jan 24 20:51:29 1994 John Gilmore (gnu@cygnus.com)
286
287 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
288 Clean up the changes of 11 Jan, as recommended by Peter Schauer.
289
96b6b765
PB
290Fri Jan 21 19:10:44 1994 Per Bothner (bothner@kalessin.cygnus.com)
291
292 * ch-exp.y (match_string_literal): Allow a zero-length string.
293 * ch-lang.c (chill_printstr): Don't print zero-length string funny.
294
dfd4c728
JK
295Sat Jan 22 17:08:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
296
297 * i386aix-nat.c (i386_float_info): Reverse order of registers before
298 passing them to print_387_status.
299 (print_387_status): Don't subtract top from 7 before using it.
300 * i387-tdep.c: Remove comment about AIX wanting "top" subtracted
301 from 7; the above explains it.
302
5efd597b
PS
303Sat Jan 22 20:25:11 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
304
305 * mips-tdep.c (init_extra_frame_info): Use frame relative stack
67e9b3b3 306 pointer value when fixing up the frame at the start of a function.
5efd597b 307
e90445c9
SG
308Sat Jan 22 12:29:13 1994 Stu Grossman (grossman at cygnus.com)
309
310 * lynx-nat.c (fetch_core_registers): Load the I & L regs for the
311 Sparc from the stack.
312
08f74b92
JK
313Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
314
864df7e6
JK
315 * remote-mips.c (mips_initialize): Clear mips_initializing via
316 cleanup chain, not directly.
317
318 * ser-unix.c (wait_for) [HAVE_TERMIO, HAVE_TERMIOS]: Make a timeout
319 of -1 mean forever, like in the HAVE_SGTTY case. Warn if we are
320 munging the timeout due to the limited range of c_cc[VTIME].
321
08f74b92
JK
322 * fork-child.c, inferior.h (fork_inferior): New argument shell_file.
323 * procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior),
324 m3-nat.c (m3_create_inferior): Pass it.
325 * procfs.c: Remove ptrace function. It was declared in a way which
326 conflicted with the prototype in unistd.h on Solaris.
327
cdcf48be
PS
328Sat Jan 22 01:37:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
329
330 * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc
331 in the sigcontext if it is a signal trampoline frame.
332 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET):
333 Define for Solaris2.
334
8bf94f44
SG
335Sat Jan 22 00:34:47 1994 Stu Grossman (grossman at cygnus.com)
336
337 * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h,
338 config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to
339 tm-sparc.h so they can be overridden if necessary.
340
d575ddc0
SG
341Fri Jan 21 17:49:28 1994 Stu Grossman (grossman at cygnus.com)
342
343 * lynx-nat.c: Add Sparc support.
344 * sparcly-nat.c: Remove. It's useless.
345 * config/sparc/nm-sparclynx.h: Rewrite.
346 * config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o
347 with lynx-nat.o
348 * config/sparc/tm-sparclynx.h: Rewrite.
349
00240279
ILT
350Fri Jan 21 19:08:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
351
352 * rs6000-pinsn.c: Use the new disassembler in the opcodes
353 directory. Old code was discarded, since the new opcode table has
354 a different format.
355
a2608ea1
FF
356Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com)
357
358 * Makefile.in (realclean): Remove info files per make-stds.texi.
359
6545c6a0
JK
360Fri Jan 21 12:47:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
361
362 * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
363 if N_SO_ADDRESS_MAYBE_MISSING is defined.
364 * config/sparc/tm-sun4sol2.h: Define it.
365
cd5ee294
JK
366Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
367
368 * printcmd.c (print_address_symbolic): Unconditionally use msymbol
369 if we did not find a symbol.
370
918fea3e
JL
371Fri Jan 21 08:20:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
372
373 * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
374 is not defined.
375
376 * hppab-nat.c (call_ptrace): Delete redundant function.
377 (kill_inferior, attach, detach, child_resume): Likewise.
378 (child_xfer_memory): Likewise.
379
380 * hppah-nat.c (call_ptrace): Delete redundant function.
381 (kill_inferior, attach, detach, child_resume): Likewise.
382
383 * config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.
384
385 * config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.
386
387 * config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.
388
389 * config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define.
390 (CHILD_XFER_MEMORY): Define.
391 (PT_*): Define so that generic infptrace.c code can be used.
392
27ad511f
JK
393Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
394
1b880e74
JK
395 * xcoffread.c (xcoff_symfile_read): Make second parameter a
396 struct section_offsets *, not a (nonexistent) struct section_offset *.
397
6657a0c7
JK
398 * xcoffread.c (read_xcoff_symtab): Make main_aux just a union
399 internal_xcoff_symtab, not an array of one of them. Change lots of
400 "main_aux" to "&main_aux" and so on.
401
27ad511f
JK
402 * coffread.c, xcoffread.c: Include <coff/internal.h>
403 before "symfile.h".
404
d4a0983a
JK
405Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
406
dbb0fae2
JK
407 * coffread.c (coff_getfilename): Make it not static.
408
d4a0983a
JK
409 * xcoffread.c (read_xcoff_symtab): complain() not abort().
410
411 * xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes
412 a completely gratuitous difference between xcoffread.c and coffread.c).
413
d7e7e851
JK
414Wed Jan 19 15:09:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
415
416 * infrun.c (wait_for_inferior): Don't set frame for
417 step_resume_breakpoint for IN_SIGTRAMP cases.
418
419 * infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what),
420 breakpoint.c (bpstat_what): Move step_resume from its own field of
421 the struct bpstat_what into the main_action. Make it override
422 other breakpoints. This is a conservative change in the sense
423 that before the step resume breakpoint was a breakpoint.c
424 breakpoint, hitting the step resume breakpoint overrode even
425 calling bpstat_stop_status.
426
f1de67d3
PS
427Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
428
429 * infrun.c (normal_stop): Set stop_pc after popping the dummy frame
430 in case execution was stopped in the called function.
431 * stack.c (print_frame_info, frame_info): If backtracing through
432 a call dummy, handle the starting source line number on a line
433 boundary like backtracing through sigtramp.
434 * sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address
435 for call dummy frame right. Remove old test for dummy frame,
436 it has been unused at least since gdb-3.5.
437 * sparc-tdep.c (sparc_push_dummy_frame): Set return address register
438 of the dummy frame.
439
c6e0f918
JK
440Tue Jan 18 16:16:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
441
442 * infcmd.c (signal_command): Accept 0 as legitimate signal number.
443
db4340a6
JK
444Tue Jan 18 14:09:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
445
446 * infrun.c (signals_info), target.c (target_signal_from_name):
447 Use ugly casts to avoid enumvar < enumvar or enumvar++.
448
4d4f2d50
JK
449Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
450
d881dd86
JK
451 * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
452 * inflow.c (terminal_ours_1): When discussing how to deal with the
453 tty state, make note of query() as well as readline.
454
4d4f2d50
JK
455 * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
456 signals for which stop and print are cleared by default.
457
5c38fcee
JL
458Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
459
c7f3b703
JL
460 * config/pa/tm-hppa.h (unwind_table_entry): Use one of the
461 reserved fields to hold a stub unwind entry type. Fix typo.
462 (stub_unwind_entry): New structure for raw stub unwind entries.
463 (stub_unwind_types): The types of stubs we may encounter.
464 (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
465 * hppa-tdep.c (rp_saved): Use additional information provided
466 by linker stub unwind descriptors.
467 (frameless_function_invocation): Likewise.
468 (frame_chain_valid): Likewise.
469 * paread.c (compare_unwind_entries): New function for sorting
470 unwind table entries.
471 (read_unwind_info): Rewrite to remove dependency on host endianness.
472 Read in data from the $UNWIND_END$ subspace which contains linker
473 stub unwind descriptors. Merge that data into the basic unwind
474 table.
475
5c38fcee
JL
476 * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
477
af8b7906
JK
478Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
479
480 * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
481 from either the symbol name or the auxent.
482 * coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
483 no longer static.
484
0e7da49c
FF
485Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com)
486
487 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
488
b90811f9
PS
489Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
490
491 * README: Update notes for alpha port.
492
24a11a79
JK
493Mon Jan 17 11:15:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
494
495 * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
496 for operation fault, constraint fault, and type fault.
497
b76dcd4b
JK
498Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
499
623d7380
JK
500 * Makefile.in (init.c): Add comment explaining formatting conventions.
501
a39f7739
JK
502 * c-exp.y (parse_number): Assign to temporary between the right
503 shifts, to work around a bug in the SCO compiler.
504
07919221
JK
505 * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
506 Add various files which were added to GDB recently.
507
91cc45da
JK
508 * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
509 within_function.
510
b76dcd4b
JK
511 * Makefile.in: Add mostlyclean target.
512
d7a5ff3c
JK
513Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
514
515 * Version 4.11.4.
516
8b564df8
PB
517Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com)
518
519 * main.c (show_commands): Make return type of extern
520 history_get be HIST_ENTRY, rather than struct _hist_entry.
521 (The latter loses with the upcoming merged readline.)
522
dac317dc
JK
523Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
524
ab5f7971
JK
525 * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
526 const char *, not char *.
527
fb155ce3
JK
528 * symtab.h (struct symbol): Make section short, not unsigned short.
529
87041845
JK
530 * symtab.c (lookup_symbol): Add comment about QUIT here.
531
f29351d9
JK
532 * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
533
a9b32d61
JK
534 * c-exp.y (parse_number): Check for overflow regardless of range
535 checking. Fix overflow check to use unsigned LONGEST, not
536 unsigned int.
537
538 * c-exp.y (parse_number): Make it so that integer constants are
539 builtin_type_long_long if builtin_type_long isn't big enough or if
540 an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
541
dac317dc
JK
542 * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
543 Print our "()" first, then recurse for the target type.
544
4c0b3e57
JK
545Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
546
831a39d7
JK
547 * remote-udi.c (udi_create_inferior): Quote empty execfile argument.
548
4c0b3e57
JK
549 * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h".
550
44a09a68
JK
551Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
552
553 * utils.c (request_quit): Re-establish signal handler regardless
554 of USG.
555
556 * config/mips/xm-irix4.h: Define HAVE_TERMIOS.
557
98506620
JK
558Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
559
560 * i960-tdep.c: Include target.h.
561
658821b9
SS
562Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
563
564 * lynx-nat.c (sys/wait.h): Don't use absolute pathname.
565
566Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
567
568 * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
569 changes (status -> ourstatus; declare status, etc.).
570 * config/nm-lynx.h: Fix child_wait prototype and include target.h.
571
4e8bc56f
JK
572Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
573
574 * Makefile.in (ALLPARAM): Add config/nm-lynx.h.
575
aeb145f8
ILT
576Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
577
578 * remote-mips.c (mips_request, mips_wait): Correct prototypes.
579
d253eb7a
JK
580Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
581
582 * config/i386/xm-linux.h: Define HAVE_TERMIOS.
583
52b3045e
PS
584Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
585
586 * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
587
ae682b80
JK
588Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
589
d0acb092
JK
590 * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
591 is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
592
593 * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before
594 writing it.
595
63dcc380
JK
596 Add search to target vector (#if 0'd until after 4.12):
597 * target.h (to_search, target_search): Add.
598 * gdbcore.h, core.c (generic_search): Add.
599 * remote.c (remote_search): Add.
600 * a29k-tdep.c (init_frame_info): Use target_search to find traceback
601 tag.
602
d6596eee
JK
603 * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
604 is on, call find_pc_function rather than relying just on the minimal
605 symbols (probably only matters for symbol readers which don't put
606 statics in the minimal symbols, but changing this strikes me as
607 not conservative enough).
608 Initialize name_location in all cases.
609 If no symbol and no msymbol, don't print anything symbolic.
610
ae682b80
JK
611 * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
612
314e6bf3
JG
613Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com)
614
615 * printcmd.c (print_address_symbolic): Make it search the
616 symtabs for variables as well as functions. Add `set print
617 fast-symbolic-addr' and default it to fast (the old way).
618 Print line numbers for data items as well as functions.
619
620 * symtab.c (find_addr_symbol): Return the symtab and the symbol
621 address, if a symbol is found (take two more args pointing to
622 where to store these results).
623
624 * symtab.h (find_addr_symbol): Add prototype.
625
470dfa0c
JK
626Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
627
628 * objfiles.h: Fix comments to reflect the fact that the phrase
629 "top of stack" always refers to where the pushing and popping takes
630 place, regardless of whether it is at the highest or lowest address.
631
a8c49897
PS
632Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
633
634 * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for
635 compiler generated tag names.
636 * mdebugread.c (parse_type): Handle cross references to qualified
637 aggregate types.
638 * valops.c (value_struct_elt): Improve error message if the
639 address of a method is requested from an object instance.
640 * valops.c (search_struct_method): Make name_matched non-static
641 to get it initialized correctly.
642 * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to
643 exclude segment register which are not writable on newer SCO versions.
644
4ad942bf
JK
645Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
646
647 * go32-xdep.c: Remove unused function uerror.
648 (sigsetmask): Declare return type. Declare argument (to match the
649 way it is called). Explicitly return 0.
650
21578747
JG
651Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com)
652
653 * symtab.h (struct symbol, general_symbol_info, minimal_symbol,
654 partial_symbol): Shrink the storage sizes of symbols, by making
655 enums into 1-byte bitfields when compiled __GNUC__, moving all the
656 enums and small ints to the end of each struct to improve
657 alignment, and switching the section number from int to unsigned
658 short.
659
e0ea0fbd
JG
660Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com)
661
662 * symtab.c (find_addr_symbol): New routine that will find the nearest
663 symbol associated with an address. It does so by exhaustive
664 search of the symtabs, so it's slow but complete.
665
011d4ed9
JG
666Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com)
667
668 * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab
669 to [0,0] rather than [0, end of first source file]. This avoids
670 problems with other parts of GDB looking for linetables in the
671 _globals_ symtab. Eliminate variables num_object_files and
672 first_object_file_end.
673
eb5b74ca
JG
674Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
675
676 * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag.
677 (pop_frame): Restore PC2 and LR0 from dummy frames.
678 (push_dummy_frame): Save PC2 and LR0 into dummy frames.
679 (setup_arbitrary_frame): Handle 3 args and set up real frames.
680 * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments.
681 (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0.
682 (SETUP_ARBITRARY_FRAME): Define.
683
4d69cf57
JK
684Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
685
686 * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START.
687
6a69975f
ILT
688Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
689
690 * remote-udi.c (udi_resume): Correct prototype.
691
c598654a
JL
692Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
693
694 * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call
695 hppa_frame_find_saved_regs.
696 * hppa-tdep.c (dig_fp_from_stack): Delete function.
697 (prologue_inst_adjust_sp): New function.
698 (is_branch, inst_saves_gr, inst_saves_fr): New functions.
699 (skip_prologue): Completely rewrite to use unwind information.
700 (hppa_frame_find_saved_regs): Likewise.
701
6397809b
JK
702Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
703
f3fe8934
JK
704 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
705 to convert a signal number with appropriate bounds checking.
706
6397809b
JK
707 * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
708
c369b6a3
JG
709Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
710
a31f4b90
JG
711 * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
712 print a newline to end the display anyway.
713
c6d8db40
JG
714 * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and
715 coprocessor status regs) when popping a frame. This fixes
716 float exceptions that occur after calling inferior functions.
717
c369b6a3
JG
718 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
719 Read and write the fsr (float status register) to/from the child
c6d8db40
JG
720 process along with the float regs. Remove Peter Schauer's change
721 of May 24 '93, which has higher overhead and doesn't solve the
722 real problem (which was that FSR wasn't being set).
c369b6a3 723
7b2bcbf5
JG
724Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com)
725
726 * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ
727 stack overflow check isn't right after the register stack
728 adjustment instruction. Metaware R2.3u compiler moves other
729 things in front of it. This fix isn't perfect but is what's
730 running.
731
6aaa61de
JK
732Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
733
85b8aa88
JK
734 * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.
735
6aaa61de
JK
736 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
737 character filenames.
738 * configure.in: Change accordingly.
739
ef118278
TL
740Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com)
741
742 * m68k-stub.c, sparc-stub.c: removed spurious introduction of
743 _filtered io routines from these two files.
744
9d51b3c5
PS
745Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
746
747 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
748 config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
749 * mdebugread.c (parse_symbol): Handle enum sh.type produced by
750 DEC c89.
751 * mdebugread.c (add_line): Handle zero linenos produced by DEC c89.
752
11ebf939
JK
753Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
754
17d059d4
JK
755 * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
756 printing to gdb_stderr.
757
758 * remote-udi.c (udi_kill): Don't close the connection, just set
759 inferior_pid to zero.
760 (udi_mourn): Call remove_breakpoints.
761
762 * remote-udi.c: Remove obsolete need_artificial_traps comment.
763
11ebf939
JK
764 * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
765
fcbc95a7
JK
766Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
767
d8a66e60
JK
768 * symtab.c (lookup_symbol): Don't try adding .c to the name.
769
e3a7e9d5
JK
770 * remote-bug.c: At the start of each section, reset srec_frame
771 back to 160.
772
fcbc95a7
JK
773 * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.
774 * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook.
775 * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with
776 code which looks for those two waitkinds. Use switch statement.
777 * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with
778 CHILD_SPECIAL_WAITSTATUS.
779
780 * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
781 * Move target_signal_from_host, target_signal_to_host, and
782 store_waitstatus from inftarg.c to target.c. procfs needs them.
783 * target.c: Include "wait.h" and <signal.h>.
784 * target.h, infrun.c (proceed), proceed callers: Pass new code
785 TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with
786 enums being treated as unsigned and is cleaner.
787 * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or
788 TARGET_SIGNAL_0.
789 * infcmd.c (signal_command), infrun.c (signals_info):
790 Don't allow user to specify numeric equivalent of
791 TARGET_SIGNAL_DEFAULT.
792
7f85a716
SG
793Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com)
794
795 * config/alpha/alpha-netware.mt: New target support for Alpha
796 running Netware.
797 * configure.in: Add alpha-*-netware* target.
798
5efb3899
SS
799Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com)
800
801 * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED.
802
67ac9759
JK
803Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
804
805 * target.h: Add enum target_waitkind, enum target_signal, and
806 struct target_waitstatus. Change status argument to target_wait to
807 be struct target_waitstatus * instead of int *.
808 * target.h, infrun.c, all targets: Change type of signal arguments
809 to resume(), proceed(), and target_resume() from int to enum
810 target_signal.
811 * All targets (*_wait, *_resume): Change accordingly.
812 * infcmd.c (program_info, signal_command), throughout infrun.c,
813 * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
814 * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
815 signal code stuff right with the new signals would be non-trivial).
816 * inferior.h (stop_signal): Make it enum target_signal not int.
817 * target.c, target.h (target_signal_to_string, target_signal_to_name,
818 target_signal_from_name): New functions.
819 * inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
820 store_waitstatus): New functions.
821 * procfs.c (procfs_notice_signals): Use them.
822 * i960-tdep.c (i960_fault_to_signal): New function, to replace
823 print_fault.
824 * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
825
826 * objfiles.c (build_objfile_section_table): Don't abort() if
827 objfile->sections is already set.
828
829 * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD
830 to match recent change to exec.c.
831
832 * Version 4.11.3.
833
834 * main.c (print_gdb_version): Change year to 1994.
835
836 * ChangeLog, ChangeLog-93: Split ChangeLog at 1994.
837 * Makefile.in (NONSRC): Add ChangeLog-93.
838
b35885f2
JK
839Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
840
4b404661
JK
841 * stabsread.c (read_type): Allow defining several type numbers
842 at once (e.g. "(1,2)=(3,4)="...).
843
eaba7fae
JK
844 * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int).
845
b35885f2
JK
846 * breakpoint.c (frame_in_dummy): Check PC as well as frame.
847
ae5c71d6
PS
848Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
849
850 * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols
851 to process_one_symbol.
852 * symtab.c (find_pc_psymbol): Search global_psymbols as well to
853 avoid caching a bad endaddr in find_pc_partial_function.
854
d568b76a
JK
855Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
856
857 * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION.
858
9ddb33a8
PS
859Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
860
861 * infrun.c (wait_for_inferior): Do not step or step resume past
862 the end of a one-line function we just stepped into.
863
67ac9759 864For older changes see ChangeLog-93
bd5635a1
RP
865\f
866Local Variables:
867mode: indented-text
868left-margin: 8
869fill-column: 74
870version-control: never
871End:
This page took 0.257589 seconds and 4 git commands to generate.