* valarith.c (value_binop): Figure out type ourself based on
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2
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.
15 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
16 longest_int and longest_unsigned_int.
17 * value.h (struct value): Just align to LONGEST, rather than worrying
18 about CC_HAS_LONG_LONG.
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.
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
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
38 * command.c (shell_escape): Report errors correctly (with error
39 message from strerror).
40
41 Wed 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
47 Wed 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
60 Tue 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
65 Tue 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
70 Tue 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
75 Tue 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
81 Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com)
82
83 * sparc-stub.c: Remove unnecessary #include of memory.h.
84
85 Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
86
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
93 * remote-mips.c: Use unfiltered, not filtered, output most places.
94
95 * blockframe.c (get_prev_frame_info): Detect and stop an infinite
96 backtrace. Revise comments.
97
98 Mon 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
109 Sat 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
117 Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
118
119 * serial.h (SERIAL_SET_TTY_STATE): Comment return value.
120
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
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
132 * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
133 * config/m68k/es1800.mt: Add comment.
134 * remote-es.c: Extensive changes to update to current conventions.
135
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
141 Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
142
143 * c-exp.y (yylex): Reenable nested type code.
144
145 Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
146
147 * a29k-tdep.c (examine_tag): Add comment regarding argcount.
148
149 * remote-mips.c (mips_ops): Fix docstring.
150
151 * remote-bug.c (bug_ops): Remove spurious newline from docstring.
152
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.
156 (HAVE_68881): Don't undefine; HAVE_68881 is obsolete.
157 (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
158 Add FIXME regarding GET_LONGJMP_TARGET.
159
160 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
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.
165
166 Fri 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
171 Fri 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
176 Fri 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
182 Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
183
184 * i386-stub.c: Add ".text" right before "mem_fault:".
185
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
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
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
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
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
225 Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
226
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
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
263 Tue 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
269 Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
270
271 * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h:
272 AIX can use ? instead of \ for continuation. Deal with it.
273
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
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.
284
285 Mon 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
290 Fri 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
295 Sat 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
303 Sat 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
306 pointer value when fixing up the frame at the start of a function.
307
308 Sat 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
313 Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
314
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
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
328 Sat 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
335 Sat 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
341 Fri 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
350 Fri 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
356 Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com)
357
358 * Makefile.in (realclean): Remove info files per make-stds.texi.
359
360 Fri 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
366 Thu 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
371 Fri 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
393 Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
394
395 * xcoffread.c (xcoff_symfile_read): Make second parameter a
396 struct section_offsets *, not a (nonexistent) struct section_offset *.
397
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
402 * coffread.c, xcoffread.c: Include <coff/internal.h>
403 before "symfile.h".
404
405 Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
406
407 * coffread.c (coff_getfilename): Make it not static.
408
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
414 Wed 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
427 Wed 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
440 Tue 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
444 Tue 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
449 Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
450
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
455 * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
456 signals for which stop and print are cleared by default.
457
458 Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
459
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
476 * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
477
478 Mon 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
485 Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com)
486
487 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
488
489 Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
490
491 * README: Update notes for alpha port.
492
493 Mon 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
498 Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
499
500 * Makefile.in (init.c): Add comment explaining formatting conventions.
501
502 * c-exp.y (parse_number): Assign to temporary between the right
503 shifts, to work around a bug in the SCO compiler.
504
505 * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
506 Add various files which were added to GDB recently.
507
508 * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
509 within_function.
510
511 * Makefile.in: Add mostlyclean target.
512
513 Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
514
515 * Version 4.11.4.
516
517 Sat 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
523 Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
524
525 * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
526 const char *, not char *.
527
528 * symtab.h (struct symbol): Make section short, not unsigned short.
529
530 * symtab.c (lookup_symbol): Add comment about QUIT here.
531
532 * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
533
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
542 * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
543 Print our "()" first, then recurse for the target type.
544
545 Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
546
547 * remote-udi.c (udi_create_inferior): Quote empty execfile argument.
548
549 * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h".
550
551 Fri 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
558 Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
559
560 * i960-tdep.c: Include target.h.
561
562 Fri 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
566 Fri 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
572 Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
573
574 * Makefile.in (ALLPARAM): Add config/nm-lynx.h.
575
576 Fri 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
580 Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
581
582 * config/i386/xm-linux.h: Define HAVE_TERMIOS.
583
584 Fri 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
588 Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
589
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
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
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
611 * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
612
613 Wed 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
626 Wed 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
632 Wed 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
645 Wed 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
651 Wed 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
660 Wed 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
666 Tue 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
674 Tue 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
684 Tue 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
688 Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
689
690 * remote-udi.c (udi_resume): Correct prototype.
691
692 Tue 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
702 Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
703
704 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
705 to convert a signal number with appropriate bounds checking.
706
707 * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
708
709 Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
710
711 * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
712 print a newline to end the display anyway.
713
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
718 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
719 Read and write the fsr (float status register) to/from the child
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).
723
724 Mon 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
732 Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
733
734 * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.
735
736 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
737 character filenames.
738 * configure.in: Change accordingly.
739
740 Mon 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
745 Fri 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
753 Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
754
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
764 * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
765
766 Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
767
768 * symtab.c (lookup_symbol): Don't try adding .c to the name.
769
770 * remote-bug.c: At the start of each section, reset srec_frame
771 back to 160.
772
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
793 Tue 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
799 Tue 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
803 Tue 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
839 Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
840
841 * stabsread.c (read_type): Allow defining several type numbers
842 at once (e.g. "(1,2)=(3,4)="...).
843
844 * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int).
845
846 * breakpoint.c (frame_in_dummy): Check PC as well as frame.
847
848 Mon 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
855 Sun 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
859 Sat 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
864 For older changes see ChangeLog-93
865 \f
866 Local Variables:
867 mode: indented-text
868 left-margin: 8
869 fill-column: 74
870 version-control: never
871 End:
This page took 0.046518 seconds and 5 git commands to generate.