Fix typo.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Mon Apr 18 10:08:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2
3 * nm-hppab.h (KERNEL_U_ADDR): Define.
4 (FIVE_ARG_PTRACE): Likewise.
5 (CANNOT_STORE_REGISTER): Likewise.
6 * nm-hppah.h (KERNEL_U_ADDR): Define.
7 (FIVE_ARG_PTRACE): Likewise.
8 (CANNOT_STORE_REGISTER): Likewise.
9 (NEED_TEXT_START_END): Likewise.
10
11 * tm-hppah.h (NEED_TEXT_START_END): Delete definition.
12 * xm-hppah.h (KERNEL_U_ADDR): Delete definition.
13 (FIVE_ARG_PTRACE): Likewise.
14 * xm-hppab.h (KERNEL_U_ADDR): Delete definition.
15 (FIVE_ARG_PTRACE): Likewise.
16
17 * hppa-tdep.c (read_unwind_info): Make static.
18 (restore_pc_queue): Indirect through the target vector to
19 reload the register state.
20
21 Sat Apr 16 22:20:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22
23 * paread.c (compare_unwind_entries): Delete function. It's been
24 moved into hppa-tdep.c.
25 (read_unwind_info): Likewise.
26 (pa_symfile_read): No longer call read_unwind_info. The unwind
27 tables will be read in as they are needed.
28
29 * hppa-tdep.c (compare_unwind_entries): New function.
30 (read_unwind_info, internalize_unwinds): Likewise.
31 (find_unwind_entry): Read in unwind information on demand.
32
33 Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com)
34
35 * source.c (DIRNAME_SEPARATOR): New macro, replaces all references
36 to : in search path processing.
37 * defs.h (qsort): Rename argument in prototype.
38 * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in
39 some compilers.
40 * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c
41 (false): Eliminate usages.
42
43 Fri Apr 15 11:35:19 1994 Steve Chamberlain (sac@cygnus.com)
44
45 * h8500-tdep.c (initialize_h8500_tdep, large_command):
46 All references to value changed to value_ptrlage_command is now
47 called big_command.
48 All references to value changed to value_ptr.
49 * remote-e7000.c (e7000_wait): Use target_waitstatus and SETSTOP
50 * remote-hms.c (hms_wait): Timeout after five seconds.
51 * ser-go32.c (dosasync_read): Poll if timeout < 0.
52 * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.
53 * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
54
55 Thu Apr 14 07:01:56 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
56
57 * procfs.c (procfs_wait): Protect watchpoint code with appropriate
58 #ifdefs.
59 (procfs_set_watchpoint, procfs_stopped_by_watchpoint): Likewise.
60
61 Wed Apr 13 14:52:46 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
62
63 * breakpoint.h (enum bptype): Add bp_hardware_watchpoint and
64 bp_watchpoint_scope breakpoints.
65 (struct breakpoint): Add val_chain and related_breakpoint fields
66 for use by watchpoints.
67
68 * breakpoint.c (within_scope): Delete. No longer used.
69 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition.
70 (target_{remove,insert}_watchpoint): Likewise.
71 (can_use_hardware_watchpoint): New function.
72 (remove_breakpoint): New function to remove a single breakpoint
73 or hardware watchpoint.
74 (insert_breakpoints): Handle insertion of hardware watchpoints.
75 Store a copy of the value chain derived from the watchpoint
76 expression.
77 (remove_breakpoints): Simplify by using remove_breakpoint.
78 (delete_breakpoint): Likewise.
79 (watchpoint_check): Delete the watchpoint and watchpoint scope
80 breakpoints when the watchpoint goes out of scope. Save & restore
81 the current frame after checking watchpoints.
82 (breakpoint_init_inferior): Likewise (restarting the program
83 makes all local watchpoints go out of scope).
84 (bpstat_stop_status): Handle hardware watchpoints much like normal
85 watchpoints. Delete the watchpoint and watchpoint scope breakpoint
86 when the watchpoint goes out of scope. Remove and reinsert all
87 breakpoints before returning if we stopped when a hardware watchpoint
88 fired.
89 (watch_command): Use a hardware watchpoint when possible. If
90 watching a local expression, build a scope breakpoint too.
91 (map_breakpoint_numbers): Also call given function for any
92 related breakpoints.
93 (disable_breakpoint): Never disable a scope breakpoint.
94 (enable_breakpoint): Handle hardware breakpoints much like normal
95 breakpoints, but recompute the watchpoint_scope breakpoint's
96 frame and address (if we have an associated scope breakpoint).
97 (read_memory_nobpt): Handle hardware watchpoints like normal
98 watchpoints. When necessary handle watchpoint_scope breakpoints.
99 (print_it_normal, bpstat_what, breakpoint_1, mention): Likewise.
100 (clear_command, breakpoint_re_set_one, enable_command): Likewise.
101 (disable_command): Likewise.
102
103 * blockframe.c (find_frame_addr_in_frame_chain): New function.
104 Extern prototype added to frame.h
105
106 * infrun.c (wait_for_inferior): Set current_frame and select
107 a frame before checking if we stopped due to a hardare watchpoint
108 firing. Handle stepping over hardware watchpoints.
109 (normal_stop): Remove unnecessary call to select_frame.
110
111 * value.h (value_release_to_mark): Declare.
112 * values.c (value_release_to_mark): New function.
113
114 * procfs.c (procfs_wait): Add cases for hardware watchpoints.
115 (procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions.
116
117 * hppab-nat.c (hppa_set_watchpoint): New function.
118
119 * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define.
120 (HAVE_STEPPABLE_WATCHPOINT): Define.
121 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
122 (target_{insert,delete}_watchpoint): Define.
123
124 * config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
125 (STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
126 (target_{insert,remove}_watchpoint): Likewise.
127
128 Mon Apr 11 19:21:27 1994 Stu Grossman (grossman at cygnus.com)
129
130 * xcoffread.c (read_xcoff_symtab): Ignore symbols of class C_EXT,
131 smtyp XTY_LD, sclass XMC_DS (external data segment label). They
132 often have the same names as debug symbols for functions, and
133 confuse lookup_symbol().
134
135 Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
136
137 * remote.c: Around redefinition of PBUFSIZE, adjust whitespace.
138 * config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than
139 REGISTER_RAW_SIZE (1).
140 Together these changes work around a bug in HP's compiler. Both
141 seem to be necessary.
142
143 Mon Apr 11 09:18:24 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
144
145 * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbols
146 with scope SS_EXTERNAL. ST_ENTRY symbols in dynamic executables
147 are type mst_solib_trampoline.
148
149 Fri Apr 8 17:14:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
150
151 * config/m68k/es1800.mt: Change comments.
152
153 Fri Apr 8 17:14:37 1994 Rob Savoye (rob@darkstar.cygnus.com)
154
155 * config/m68k/monitor.mt (TDEPFILES): Don't include remote-es.o.
156
157 Fri Apr 8 15:35:30 1994 Stu Grossman (grossman at cygnus.com)
158
159 * lynx-nat.c: Restore regmap structure for SPARC. It's needed
160 for core files.
161
162 Fri Apr 8 14:53:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
163
164 * values.c (unpack_long): Remove obsolete comment about using a
165 switch statement.
166
167 * symfile.c (symbol_file_command): Add comments about command syntax.
168
169 Thu Apr 7 17:25:21 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
170 Jim Kingdon (kingdon@cygnus.com)
171
172 * infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolines
173 are in the .plt section.
174 * minsyms.c (lookup_solib_trampoline_symbol_by_pc,
175 find_solib_trampoline_target): New functions for handling
176 stepping into -g compiled shared libraries.
177 * symtab.h (lookup_solib_trampoline_symbol_by_pc,
178 find_solib_trampoline_target): Add prototypes.
179 * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE):
180 Define to handle stepping into -g compiled shared libraries.
181 * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle
182 stepping into -g compiled shared libraries.
183
184 Thu Apr 7 17:22:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
185
186 * configure.in: Add mips-*-sysv4* support.
187 * config/mips/mipsv4.mh, config/mips/mipsv4.mt,
188 config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c:
189 New files for MIPS SVR4 support.
190 * Makefile.in: Update for new mipsv4 files.
191 * alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use
192 read_next_frame_reg to obtain the frame relative stack pointer.
193 * mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to
194 obtain the frame relative stack pointer.
195 * mdebugread.c (parse_partial_symbols, psymtab_to_symtab1):
196 Handle stStatic and stStaticProc symbols in stabs-in-ecoff output
197 by entering them into the minimal symbol table.
198 * printcmd.c (print_scalar_formatted): Do not try to unpack to
199 a long for float formats.
200 * solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not
201 get defined in <link.h>.
202 * solib.c (solib_add): Add shared library sections to the section
203 table of the target before adding the symbols.
204 * partial-stab.h: Relocate static and global functions.
205 * dbxread.c (read_dbx_symtab): Remove unused variable
206 end_of_text_address. Relocate text_addr when passing it
207 to end_psymtab.
208
209 For Alpha OSF/1 targets, enable gdb to set breakpoints in shared
210 library functions before the executable is run. Retrieve dynamic
211 symbols from stripped executables.
212 * mipsread.c (read_alphacoff_dynamic_symtab): New function.
213 * mipsread.c (mipscoff_symfile_read): Use it. Issue warning message
214 if no debugging symbols were found.
215 * alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered
216 pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS
217 is defined.
218 * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define,
219 OSF/1 has shared libraries.
220
221 Thu Apr 7 15:11:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
222
223 * dbxread.c (read_dbx_dynamic_symtab): Adjust for recent changes
224 to BFD handling of dynamic symbols.
225
226 Tue Apr 5 15:29:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
227
228 * hppa-tdep.c (hppa_fix_call_dummy): If FUN is a procedure label,
229 then gets its real address into FUN and its GOT/DP value into %r19.
230
231 * tm-hppa.h (CALL_DUMMY): Use %r20, not %r19 as a temporary.
232
233 * hppa-tdep.c (frameless_function_invocation): If no unwind
234 descriptor was found, then assume this was not a frameless
235 function invocation.
236 (frame_saved_pc): If the saved PC is in a linker stub, then
237 return the return address which the linker stub will return to.
238
239 * xm-hppab.h: Never define USG.
240 * xm-hppah.h: Always define USG.
241
242 Tue Apr 5 12:58:47 1994 Per Bothner (bothner@kalessin.cygnus.com)
243
244 * values.c (unpack_long, value_from_longest),
245 valarith.c (value_binop): Allow TYPE_CODE_RANGE.
246
247 Fri Apr 1 14:04:34 1994 Jason Merrill (jason@deneb.cygnus.com)
248
249 * symfile.c (deduce_language_from_filename): .cpp is a C++ extension.
250
251 Fri Apr 1 00:44:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
252
253 For SVR4 targets, enable gdb to set breakpoints in shared
254 library functions before the executable is run.
255 * elfread.c (elf_symtab_read): Handle symbols for shared library
256 functions.
257 * sparc-tdep.c (in_solib_trampoline): Renamed to in_plt_section
258 and moved to objfiles.c.
259 * objfiles.c (in_plt_section): Moved to here from sparc-tdep.
260 * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section.
261 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed,
262 the new generic definition from tm-sysv4.h works for Solaris.
263
264 Wed Mar 30 16:14:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
265
266 * elfread.c (elf_symtab_read): Change storage_needed,
267 number_of_symbols and i to long. Rename get_symtab_upper_bound to
268 bfd_get_symtab_upper_bound. Check for errors from
269 bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
270 * nlmread.c (nlm_symtab_read): Same changes.
271
272 Wed Mar 30 11:43:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
273
274 * xcoffread.c (xcoff_next_symbol_text): New function.
275 (read_xcoff_symtab): Set next_symbol_text_func to it.
276 Move raw_symbol outside of read_xcoff_symtab.
277
278 * remote.c (getpkt): Remove unused "out" label.
279
280 Wed Mar 30 09:15:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
281
282 * breakpoint.c (print_it_normal): Allow GDB to notify the user
283 about more than one watchpoint being triggered.
284
285 Wed Mar 30 08:24:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
286
287 * config/m68k/tm-dpx2.h: Include tm-m68k.h not nonexistent tm-68k.h.
288
289 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
290
291 * blockframe.c (find_pc_partial_function): mst_file_text
292 symbols do not live in the shared library transfer table.
293 * ch-exp.y (decode_integer_value, match_character_literal,
294 match_bitstring_literal): Guard tolower calls with isupper,
295 tolower on old BSD systems blindly subtracts a constant.
296 * dbxread.c (read_ofile_symtab): Check for __gnu_compiled_* as
297 well when determining the producer of the object file.
298 * mdebugread.c (has_opaque_xref): New function to check for
299 cross reference to an opaque aggregate.
300 * mdebugread.c (parse_symbol, parse_partial_symbols): Do not
301 enter typedefs to opaque aggregates into the symbol tables.
302 * mdebugread.c (parse_external): Remove skip_procedures argument,
303 it has always been 1. Remove code that handled stProc symbols,
304 it was never executed and was wrong, as the index of a
305 stProc symbol points to the local symbol table and not to the
306 auxiliary symbol info. Update caller.
307 * mdebugread.c (parse_partial_symbols): Do not enter external
308 stProc symbols into the partial symbol table, they are already
309 entered into the minimal symbol table.
310 * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix.
311 Remove all conditionals and definitions for ptx.
312 I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c.
313 Fix addresses of floating point registers in REGISTER_U_ADDR.
314 STORE_STRUCT_RETURN now handles cc and gcc conventions.
315 FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC,
316 IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through
317 signal trampoline code work.
318 * config/i386/xm-symmetry.h: Clean up, it is now only used for Dynix.
319 Remove all conditionals and definitions for ptx.
320 Remove KDB definitions.
321 * symm-nat.c (store_inferior_registers): Fetch registers before
322 storing them to obtain valid floating point control registers.
323 Store fpu registers.
324 * symm-nat.c (print_1167_control_word): Dynix 3.1.1 defines
325 FPA_PCR_CC_C0 and FPA_PCR_CC_C1, avoid duplicate case value.
326 * symm-nat.c (fetch_inferior_registers, child_xfer_memory):
327 Fix typos.
328 * symm-nat.c (child_resume): Update type of `signal' parameter.
329 * symm-tdep.c (I386_REGNO_TO_SYMMETRY): Moved to tm-symmetry.h.
330
331 Tue Mar 29 23:01:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
332
333 * hppa-tdep.c (hppa_fix_call_dummy): Use an alternate method for
334 calling import stubs for functions in shared libraries.
335
336 Tue Mar 29 21:14:04 1994 Per Bothner (bothner@kalessin.cygnus.com)
337
338 * ch-exp.y: Implement SIZE(mode_name) and SIZE(expression).
339
340 * ch-lang.c (chill_is_varying_struct): Magic string is
341 was "<var_length>" is now "__var_length" (more portable).
342
343 Tue Mar 29 19:41:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
344
345 * remote.c (getpkt): If we get a timeout, actually retry rather
346 than just giving up the first time it happens.
347 * remote.c: Document sequence numbers.
348 (remote_store_registers): Change syntax of 'P' request so that it
349 never looks like a sequence number.
350
351 Tue Mar 29 16:06:01 1994 Kung Hsu (kung@mexican.cygnus.com)
352
353 * os9kread.c (record_minimal_symbol): add section_offset to
354 relocate minimal symbol table.
355 * os9kread.c (read_minimal_symbols): ditto.
356 * os9kread.c (os9k_symfile_init): increase size of dbg and stb
357 file names.
358 * os9kread.c (read_os9k_psymtab): if there's no dbg file, just
359 return. Also if file addr is 0 leave it 0, not to relocate.
360 * remote-os9k.c (_initialize_remote_os9k): add 'set remotexon',
361 'set remotexoff' and 'set remotelog' commands.
362
363 Tue Mar 29 12:38:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
364
365 * remote.c (remote_store_registers): Add 'P' request to set an
366 individual register.
367 (remote_write_bytes, remote_read_bytes): Use %lx, not %x, to print
368 a target address.
369
370 Sat Mar 26 07:05:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
371
372 * config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG.
373 * stabsread (define_symbol): If USE_REGISTER_NOT_ARG, go back to
374 combining all 'p' and 'r' pairs into a LOC_REGPARM.
375
376 * command.c (do_setshow_command, case var_string): Never add a
377 space to the end of the string.
378 * NEWS: Document this change.
379 * .gdbinit: Add a space to the "set prompt" command.
380
381 Fri Mar 25 12:40:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
382
383 * m3-nat.c, i386m3-nat.c, config/i386/i386m3.mh: Many minor
384 changes to make it compile (it doesn't link yet).
385
386 * buildsym.c (start_subfile, patch_subfile_names), demangle.c
387 (set_demangling_style, set_demangling_command): Use savestring not
388 strdup. We were not dealing properly with a NULL return from
389 strdup, and were not declaring strdup (the system header may or
390 may not have it).
391
392 * valprint.c (val_print): Remove inaccurate comment about what
393 types can be stub types.
394
395 * config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o.
396 * symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior):
397 Supply alternate version if ATTACH_DETACH is not defined.
398 * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt,
399 tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files.
400 * configure.in: Recognize i[34]86-sequent-sysv4* host.
401
402 Fri Mar 25 10:14:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
403
404 * hppa-tdep.c (skip_prologue): Do nothing if not at the beginning
405 of a function.
406 (skip_trampoline_code): Rewrite and add support for argument
407 relocation stubs stubs, import/export stubs, calls through
408 "_sr4export" and cascaded trampolines.
409
410 * hppa-tdep.c (skip_prologue): Return "pc" not zero
411 if no unwind descriptor is found.
412
413 * tm-hppa.h (NUM_REGS): Bump to 128 registers.
414 (REGISTER_NAMES): Add entries for "right-half" of FP registers.
415 (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs
416 differently. All registers are four bytes.
417 (REGISTER_BYTES, REGISTER_BYTE): Simplify now that all registers are
418 the same size.
419 (REGISTER_VIRTUAL_TYPE): Use builtin_type_float for all FP regs.
420
421 * hppa-tdep.c (pa_print_fp_reg): Update to print even numbered FP
422 registers as both single and double values (fetching 2nd 32bit half
423 as necessary). Annotate each register printed with its precision.
424
425 * paread.c (read_unwind_info): Fix off-by-one error.
426
427 Fri Mar 25 08:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
428
429 * main.c (complete_command): Deal with it if arg is NULL.
430
431 Thu Mar 24 07:12:09 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
432
433 * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Revise comment
434 regarding using the PC--using the PC is necessary and all the
435 FIXME comments in the world won't make it go away.
436
437 * valops.c (value_at, value_at_lazy): Give error if we dereference
438 a pointer to void.
439 * gdbtypes.h: Fix comments regarding TYPE_CODE_VOID.
440 * stabsread.c: Use 1, not 0, for TYPE_LENGTH of void types.
441
442 * stabsread.c (patch_block_stabs): Add comment about what happens
443 if the definition is in another compilation unit from the stab.
444
445 * dbxread.c (end_psymtab): Add comment about empty psymtabs.
446
447 Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
448
449 * main.c (complete_command): New command, from Rick Sladkey
450 <jrs@world.std.com>.
451 (symbol_completion_function): Don't declare rl_point and
452 rl_line_buffer; they are now declared in readline.h.
453 (show_commands): Don't declare history_base; it is declared in
454 history.h.
455 * command.c (lookup_cmd): Don't delete trailing whitespace.
456 Reverts change of 14 May 1989.
457
458 Wed Mar 23 16:14:52 1994 Stu Grossman (grossman at cygnus.com)
459
460 * minsyms.c (prim_record_minimal_symbol): Move section deduction
461 code from prim_record_minimal_symbol_and_info() to here. Callers
462 of the latter can legitimately supply a section number of -1.
463
464 Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
465
466 * gdbtypes.h, gdbtypes.c: Add comments regarding whether static
467 member functions have an element in args for a (nonexistent) this
468 pointer.
469
470 Tue Mar 22 20:12:53 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
471
472 * config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define.
473
474 * hppa-tdep.c (hppa_pop_frame): Do not restore the PC space
475 queue if NO_PC_SPACE_QUEUE_RESTORE is defined.
476
477 * stabsread.c (REG_STRUCT_HAS_ADDR): Accept additional argument
478 for the structure's type. All callers changed.
479
480 * valops.c (call_function_by_hand): Check REG_STRUCT_HAS_ADDR
481 for each structure argument rather than assuming it's either
482 true or false for all structure arguments.
483
484 * config/pa/tm-hppa.h (REG_STRUCT_HAS_ADDR): Depend only
485 on the length structure passed, not the compiler used.
486
487 * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Accept additional
488 argument for the structure's type.
489
490 Tue Mar 22 15:28:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
491
492 * values.c (set_internalvar): Don't set var->value until we are
493 sure there won't be an error().
494
495 * remote.c (get_offsets): Reinstate comment which was in
496 remote_wait about use of SECT_OFF_TEXT and so on.
497
498 Mon Mar 21 13:11:30 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
499
500 * symmisc.c (maintenance_check_symtabs): New function to check
501 consistency of psymtabs and symtabs.
502 * symtab.h (maintenance_check_symtabs): Add prototype.
503 * maint.c: Add new `maint check-symtabs' command.
504 * config/i386/tm-i386aix.h, config/i386/tm-sun386.h,
505 config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Fix typo.
506 * config/i386/tm-symmetry.h: Make comment inside #if 0 a real
507 comment.
508 * config/i386/tm-symmetry.h (STORE_STRUCT_RETURN): Cast argument
509 to write_memory to avoid warnings from gcc.
510 * config/i386/xm-symmetry.h: Add missing #endif.
511 * config/i386/nm-symmetry.h (NO_PTRACE_H): Add for Dynix.
512 * config/i386/symmetry.mt (TDEPFILES): Add i386-tdep.o.
513 * config/i386/symmetry.mh (NAT_FILE, NATDEPFILES): Add.
514
515 Mon Mar 21 11:50:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
516
517 * hppa-tdep.c (hppa_fix_call_dummy): Use value_ptr.
518 (hppa_push_arguments): Likewise.
519
520 Mon Mar 21 11:02:51 1994 Stu Grossman (grossman at cygnus.com)
521
522 * alpha-tdep.c: Gobs of changes (many imported from mips-tdep) to
523 improve remote debugging efficiency. Also fixed problems with
524 doing function calls for programs with no entry points.
525 * infcmd.c (run_stack_dummy): Use CALL_DUMMY_ADDRESS instead of
526 entry_point_address.
527 * inferior.h (PC_IN_CALL_DUMMY): ditto.
528 * mdebugread.c (parse_symbol, parse_procedure, parse_external,
529 parse_lines): Pass section_offsets info to these routines so that
530 we can relocate symbol table entries upon readin.
531 * (psymtab_to_symtab_1): Set symtab->primary to tell
532 objfile_relocate to do relocations for our symbols.
533 * (ecoff_relocate_efi): New routine to relocate adr field of PDRs
534 (which hang off of the symbol table).
535 * Use prim_record_minimal_symbols_and_info instead of
536 prim_record_minimal_symbols to supply section info to make minimal
537 symbol relocations work.
538 * minsyms.c (prim_record_minimal_symbols_and_info): If section is
539 -1, try to deduce it from ms_type.
540 * objfiles.c (objfile_relocate): Use ALL_OBJFILE_SYMTABS where
541 appropriate. Handle relocation of MIPS_EFI symbols special. Also,
542 add code to relocate objfile->sections data structure.
543 * remote.c (get_offsets): Use new protocol message to acquire
544 section offsets from the target.
545 * (remote_wait): Get rid of relocation stuff. That's all handled
546 by objfile_relocate now.
547 * config/alpha/alpha-nw.mt (TM_FILE): Use tm-alphanw.h.
548 * config/alpha/tm-alpha.h: Define CALL_DUMMY_ADDRESS, and
549 VM_MIN_ADDRESS.
550 * config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0.
551
552 Sun Mar 20 15:21:57 1994 Doug Evans (dje@cygnus.com)
553
554 * sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE
555 instead of 4.
556
557 start-sanitize-v9
558 * sp64-tdep.c (target_ptr_bit, set_target_ptr_bit): Deleted,
559 can no longer set this at run time.
560 * config/sparc/sp64.mt (SIMFILES): Use remote-sim.o now.
561 (TM_CLIBS): Define to -lm, the simulator uses the sqrt() function.
562 * config/sparc/tm-sp64.h (FPS_REGNUM, CPS_REGNUM): Define (so
563 sparc-tdep.c compiles).
564 (TARGET_PTR_BIT): Must be a constant now, fix at 64.
565 end-sanitize-v9
566
567 Sat Mar 19 08:51:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
568
569 * config/m68k/{cisco.mt,tm-cisco.h}: New files.
570 * Makefile.in (ALLPARAM, ALLCONFIG): Add them.
571 * configure.in: Recognize m68*-cisco*-*.
572
573 * Makefile.in (TAGS): Use variables directly, rather than using
574 find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster
575 and means that these filenames no longer need be unique across all
576 the config/* directories.
577 * configure.in: Put the config/*/ into TM_FILE, etc.
578
579 * m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk
580 and trapv exceptions.
581
582 * target.h (struct section_table), objfiles.h (struct obj_section):
583 Change name of field sec_ptr to the_bfd_section. More mnemonic
584 and avoids the (sort of, for the ptx compiler) name clash with
585 the name of the typedef.
586 * exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c,
587 solib.c, irix5-nat.c, objfiles.c, remote.c: Change users.
588
589 * utils.c: Include readline.h.
590 * Makefile.in (utils.o): Add dependency.
591
592 * remote.c (getpkt): Add support for run-length encoding.
593
594 Fri Mar 18 19:11:15 1994 Steve Chamberlain (sac@jonny.cygnus.com)
595
596 * utils.c (prompt_for_continue): Call readline, not gdb_readline.
597
598 Fri Mar 18 10:25:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
599
600 * dstread.c (record_minimal_symbol): New arg objfile. Pass it to
601 prim_record_minimal_symbol.
602 Callers: Pass it.
603
604 * regex.c (EXTEND_BUFFER): Adjust pointers within buffer by
605 computing their offset from the start of the old buffer and adding
606 to the new buffer, rather than by assuming we can add the
607 difference between the old buffer and the new buffer (it might not
608 fit in an int). Merge in cosmetic differences from emacs regex.c
609 version of this macro.
610
611 Wed Mar 16 15:28:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
612
613 * Makefile.in (install-only): Fix use of program_transform_name.
614
615 Wed Mar 16 07:18:43 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
616
617 * printcmd.c: Remove "set print fast-symbolic-addr off" command.
618 The bug which it worked around was fixed on 25 Feb 94 in coffread.c,
619 so I'm nuking the command.
620 * symtab.c (find_addr_symbol): Comment out, no longer used.
621
622 * main.c (main): Don't init_source_path for the -cd argument. Now
623 that source_path doesn't contain the current_directory from when
624 GDB started up, init_source_path is no longer useful (and is
625 harmful because it clobbers a source_path set in $HOME/.gdbinit).
626
627 * TODO: Remove item about line numbers being off. It is useless
628 and confusing without a reproducible test case (it mentions
629 proceed(), but I was able to step through proceed without trouble).
630
631 Tue Mar 15 13:39:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
632
633 For Sunos 4.x targets, enable gdb to set breakpoints in shared
634 library functions before the executable is run. Retrieve dynamic
635 symbols from stripped executables.
636 * symtab.h (minimal_symbol_type): Add mst_solib_trampoline type.
637 * parse.c (write_exp_msymbol), symmisc.c (dump_msymbols),
638 symtab.c (list_symbols): Handle mst_solib_trampoline.
639 * minsyms.c (lookup_minimal_symbol): Handle mst_solib_trampoline
640 for all targets, remove IBM6000_TARGET dependencies.
641 * dbxread.c (read_dbx_dynamic_symtab): New function.
642 * dbxread.c (dbx_symfile_read): Use it.
643 * dbxread.c (SET_NAMESTRING): Set namestring to
644 "<bad string table index>" instead of "foo" if the string index is
645 corrupt.
646 * xcoffread.c (read_xcoff_symtab): Use mst_solib_trampoline instead
647 of mst_unknown.
648 * symtab.c (list_symbols): Take from_tty as parameter and pass it
649 to break_command. Handle mst_file_* minimal symbol types.
650 * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef.
651
652 Tue Mar 15 11:40:43 1994 Kung Hsu (kung@mexican.cygnus.com)
653
654 * c-exp.y(yylex): fix potential memory overflow.
655
656 Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
657
658 * environ.c (set_in_environ): Eliminate special handling of PATH and
659 GNUTARGET.
660 * putenv.c: Removed, conflicts with system declaration of
661 putenv on RS/6000 running AIX 3.2.5, and above change makes it
662 unnecessary.
663 * Makefile.in: Change accordingly.
664 * procfs.c (procfs_create_inferior): Change comment accordingly.
665
666 Tue Mar 15 10:05:27 1994 Jim Kingdon (kingdon@cygnus.com)
667
668 * rs6000-tdep.c: Change value to value_ptr.
669
670 Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
671
672 * i386m3-nat.c: Include floatformat.h.
673 (get_i387_state): Use memset not bzero.
674
675 * Version 4.12.3.
676
677 * Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change
678 ieee-float.h to floatformat.h.
679
680 * valprint.c (val_print_string): Ignore error if the error
681 happened after a terminating '\0'.
682
683 * c-valprint.c (c_val_print): Never add 1 to return value from
684 val_print_string; just return what it returns.
685
686 * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
687 looping through all of the enums.
688 * infrun.c (signals_info): Use it.
689
690 Fri Mar 11 08:08:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
691
692 * main.c (main): When printing warning about bad baud rate, don't
693 use warning(); it relies on current_target which isn't set up yet.
694
695 * breakpoint.c (_initialize_breakpoint): Update docstring for
696 tbreak to match what the code actually does. Don't mention tbreak
697 in docstrings for "enable once" or "enable breakpoints once".
698
699 Thu Mar 10 08:52:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
700
701 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
702 while (0). That defeats the whole purpose of using do . . . while (0).
703 * mdebugread.c (parse_partial_symbols): Don't use ?: expression as
704 list for ADD_PSYMBOL_TO_LIST; the macro takes its address and
705 using a ?: expression as an lvalue is not portable.
706
707 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
708 convert a LOC_ARG to a LOC_REF_ARG. Update code which combines
709 'p' and 'r' symbol descriptors into a single symbol to look for a
710 LOC_REF_ARG.
711 * README, config/sparc/tm-sparc.h: Update comments.
712
713 Wed Mar 9 21:43:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
714
715 * mdebugread.c (parse_type): Do not complain for types with
716 an `indexNil' aux index, these are simply undefined types.
717 Remove indexNil check from caller of parse_type.
718 * mdebugread.c (parse_partial_symbols): Do not enter
719 stGlobal, scCommon symbols into the minimal symbol table, their
720 value is the size of the common, not its address.
721 Handle scInit, scFini, scPData and scXData sections.
722 Use minimal symbol type mst_file_* for stLabel symbols, instead of
723 mst_*.
724 Enter stProc symbols into the global_psymbols list once, not into
725 the static_psymbols_list.
726 Get rid of dummy psymtab if it is empty, to allow proper detection
727 of stripped executables.
728 * mdebugread.c (cross_ref): Allow cross references to Fortran
729 common blocks.
730
731 Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
732
733 * stabsread.c (common_block_end, fix_common_block): Stash the
734 struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so
735 as to not assume that a pointer fits in an enum.
736
737 Wed Mar 9 18:56:36 1994 Kung Hsu (kung@mexican.cygnus.com)
738
739 * os9kread.c (fill_sym): check compiler verion number for pre-
740 UltraC compiler.
741 * os9kread.c (os9k_process_one_symbol): address of symbol is
742 relative to section not module.
743 * stabsread.c (define_symbol): add symbol type 's' as local
744 symbol for os9k.
745 * remote-os9k.c: add command 'set monitor_log' to turn on or off
746 monitor logging.
747 * remote-os9k.c: fix bug in delete breakpoint, single step trace.
748 * remote-os9k.c: fix bug in 'set remotebaud' function.
749 * remote-os9k.c (rombug_link): minimize checking so to improve
750 speed.
751 * symfile.c (symbol_file_command): check if failed to link, also make
752 the command be able to accept more than one filenames.
753 * target.c (target_link): check if failed to link with rombug.
754 * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0.
755
756 Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
757
758 * remote-es.c (es1800_child_ops): Don't declare it static.
759
760 Tue Mar 8 11:42:39 1994 Jim Kingdon (kingdon@cygnus.com)
761
762 * config/i386/tm-i386v4.h: Give just macro name, not args, to #undef.
763
764 Tue Mar 8 06:56:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
765
766 * dbxread.c: New variable lowest_text_address.
767 (record_minimal_symbol, read_dbx_symtab): Set it.
768 (read_dbx_symtab): Use lowest_text_address + text_size instead of
769 end_of_text_address.
770 * config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT.
771
772 * dbxread.c (end_psymtab): Remove old and commented out
773 capping_global and capping_static. Fix comments regarding
774 N_SO_ADDRESS_MAYBE_MISSING to match the real name of the macro.
775
776 * parser-defs.h: Add "extern" to start of variable declarations so
777 we don't end up with commons.
778 * parse.c: Define these variables.
779
780 * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
781 as one.
782
783 Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
784
785 * alpha-tdep.c: Change value to value_ptr.
786
787 Sun Mar 6 17:36:53 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
788
789 * solib.c (elf_locate_base): New function to locate the address
790 of the dynamic linker's runtime structure in the dynamic info section.
791 * solib.c (locate_base): Use it instead of iterating over the list
792 of mapped address segments.
793 * solib.c (look_for_base, bfd_lookup_symbol): Removed, no longer
794 necessary.
795
796 Fri Mar 4 09:50:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
797
798 * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file.
799 (pc_in_interrupt_handler): New function. Also add PARAM decl.
800 (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for
801 signal trampoline and interrupt routines.
802 (frame_saved_pc): Handle signal trampolines and interrupt routines.
803 (frame_chain, frame_chain_valid): Likewise.
804 (hppa_frame_find_saved_regs): Likewise. Also deal with special
805 saved regs convention for SP.
806
807 * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define.
808 (FRAME_BASE_BEFORE_SIGTRAMP): Define.
809 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define.
810
811 * tm-hppah.h (IN_SIGTRAMP): Define.
812
813 Thu Mar 3 12:41:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
814
815 * ch-exp.y (match_simple_name_string): Accept '_' as well as an
816 alphabetic character as the start of a name.
817
818 * sparclite/Makefile.in (all install): Build and install aload.
819
820 * configure.in: Accept i[34]86-*-*sysv32 because that is what
821 config.guess and config.sub produce.
822
823 * mips-tdep.c: Change value to value_ptr.
824
825 Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
826
827 * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,
828 cp-valprint.c, eval.c, expprint.c, findvar.c, language.c,
829 objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c,
830 valarith.c, valops.c, valprint.c, value.h, values.c: Replace
831 value with value_ptr. This is for the ptx compiler.
832 * objfiles.h, target.h: Don't declare a "sec_ptr" field using a
833 "sec_ptr" typedef.
834 * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff.
835 #if 0 i386_float_info.
836 * symm-tdep.c (round): Remove. Also remove sgttyb.
837 * symm-tdep.c: Remove lots of stuff which duplicates stuff from
838 i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb.
839 * i386-tdep.c (i386_frame_find_saved_regs): Put in
840 I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix
841 someday.
842 * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move
843 stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to
844 symm-nat.c. Define CHILD_WAIT and declare child_wait().
845 * config/i386/tm-symmetry.h: Remove call function stuff; stuff in
846 tm-i386v.h is apparently OK.
847 * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not
848 HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and
849 USE_O_NOCTTY.
850
851 Wed Mar 2 11:31:08 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
852
853 * osfsolib.c (xfer_link_map_member): Update to use new
854 target_read_string interface.
855
856 Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
857
858 * infrun.c (wait_for_inferior): In checking
859 remove_breakpoints_on_following_step, check
860 through_sigtramp_breakpoint as well as step_resume_breakpoint.
861
862 Tue Mar 1 16:22:56 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
863
864 * os9kread.c (os9k_process_one_symbol): Rename
865 VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK.
866 * symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not
867 (CORE_ADDR)0, from target_link, since that is what it uses.
868 Process name at end, not during parsing (like we did before Kung's
869 change), so that -readnow and -mapped can appear anywhere.
870 Make text_relocation a local variable.
871 * config/i386/i386os9k.mt: Fix comment.
872 * Makefile.in (ALLDEPFILES): Add remote-os9k.c.
873 * os9kread.c: Put "comments" after #endif inside /* */.
874 * stabsread.h: Add os9k_stabs variable.
875 * stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol):
876 Set it.
877 * stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol
878 descriptor in global_symbols not local_symbols.
879 (read_type): If os9k_stabs, accept 'c', 'i', and 'b' type
880 descriptors.
881 (read_type): If os9k_stabs, accept function parameters after 'f'
882 type descriptor.
883 (read_array_type): If os9k_stabs, don't expect index type and
884 expect lower and upper to be separated by ',' not ';'.
885 (read_enum_type): If os9k_stabs, read a number before the first
886 enumeration constant.
887 (os9k_init_type_vector): New function.
888 (dbx_lookup_type): Call it when starting new type vector.
889 * config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION.
890 * (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol.
891 * os9kstab.c: Removed.
892 * Makefile.in: Update accordingly.
893 * objfiles.c (objfile_relocate_data): Removed.
894 * remote-os9k.c (rombug_wait): Call objfile_relocate
895 not objfile_relocate_data.
896 * objfiles.h, objfiles.c: Remove find_pc_objfile.
897 * remote-os9k.c (rombug_wait): Call find_pc_section not
898 find_pc_objfile.
899 * main.c (quit_command): Check inferior_pid; revert Kung change.
900 * remote-os9k.c (rombug_create_inferior): Set inferior_pid.
901
902 Tue Mar 1 14:56:14 1994 Kung Hsu (kung@mexican.cygnus.com)
903
904 * os9kread.c: New file to read os9000 style symbo table.
905 * os9kstab.c: new file to read os9000 style stabs.
906 * remote-os9k.c: remote protocol talking to os9000 rombug monitor.
907 * objfiles.c (find_pc_objfile): new function to search objfile
908 from pc.
909 * objfiles.c (objfile_relocate_data): new function to relocate
910 data symbols in symbol table.
911 * objfiles.h: Add two aux fields in struct objfile to handle
912 multiple symbol table files situation like in os9000.
913 * symfile.c: Change so 'symbol-file' command can handle multiple
914 files. Also call target_link() to get relocation infos.
915 * target.c (target_link): new function to get relocation info when
916 a symbol file is requested to load.
917 * main.c (quit_command): take out 'inferior_pid != 0' condition,
918 because in cross mode there's no inferior pid, bit they need to
919 be detached.
920 Makefile.in: add os9kread.c os9kstab.c and .o's.
921 configure.in: add i386os9k target.
922 config/i386/i386os9k.mt: new add.
923 config/i386/tm-i386os9k.h: new add.
924
925 Tue Mar 1 13:16:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
926
927 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler.
928 * sparc-tdep.c (sparc_frame_saved_pc): Handle ucbsigvechandler.
929
930 Tue Mar 1 11:54:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
931
932 * target.c, target.h (target_read_string): Provide error detection to
933 caller. Put string in malloc'd space, so caller need not impose
934 arbitrary limits.
935 * solib.c (find_solib): Update to use new interface.
936 * irix5-nat.c (find_solib): Read o_path from inferior
937 (clear_solib): Free storage for o_path.
938 * valprint.c (val_print_string): Add comments.
939
940 Mon Feb 28 23:54:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
941
942 * symtab.c (decode_line_1): Handle the case when skip_quoted does not
943 advance `p'.
944
945 Mon Feb 28 12:40:46 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
946
947 * value.h (struct value): Add modifiable field.
948 * values.c (allocate_value, record_latest_value, value_copy): Set it.
949 (record_latest_value): Don't mess with VALUE_LVAL of value.
950 * valops.c (value_assign): Check it. Reword existing error
951 message on not_lval.
952
953 * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h
954 (STEP_SKIPS_DELAY): Added.
955 * infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in
956 the delay slot.
957
958 * valprint.c (val_print_string): If errcode is set, always print
959 an error, regardless of force_ellipsis. In the non-EIO case,
960 just print the error message rather than calling error(). Don't
961 access *(bufptr-1) if bufptr points to the start of the buffer.
962 When looking for '\0', don't increment bufptr and addr if bufptr
963 started out already at limit. If an error happens on fetching the
964 first character, don't print the string.
965
966 Sun Feb 27 21:05:06 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
967
968 * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is
969 obsolete.
970
971 * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,
972 i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c
973 config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h,
974 m88k-tdep.c: Use floatformat.h instead of ieee-float.h.
975 * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff
976 * findvar.c: Update comment regarding ieee-float.h.
977
978 Sun Feb 27 21:39:48 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
979
980 * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP,
981 FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
982 Define to make backtracing through the various sigtramp handlers
983 work.
984 * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch
985 the saved pc from ucontext on the stack for SVR4 signal handling.
986
987 Fri Feb 25 09:41:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
988
989 * remote.c, remote-mon.c, remote-utils.c, remote-utils.h,
990 target.h, remote-es.c, remote-nindy.c: Don't set baud rate if
991 baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate;
992 just use the global variable itself. When printing baud rate,
993 don't print a baud rate if baud_rate is -1.
994
995 * coffread.c (read_coff_symtab): Pass mst_file_* to
996 record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT
997 symbols in the minimal symbols regardless of SDB_TYPE.
998
999 Thu Feb 24 08:30:33 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1000
1001 * breakpoint.h (enum bptype): New type bp_through_sigtramp.
1002 (bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP.
1003 * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP
1004 if we hit a bp_through_sigtramp breakpoint. Remove kludge which
1005 ignored bs->stop for a bp_step_resume breakpoint.
1006 * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint
1007 which performs one (the check_sigtramp2 one) of the functions
1008 which had been handled by the step_resume_breakpoint. For each
1009 use of the step_resume_breakpoint, make it still use the
1010 step_resume_breakpoint, use the through_sigtramp_breakpoint, or
1011 operate on both.
1012 Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what.
1013 When setting the frame address of the step resume breakpoint, set
1014 it to the address for frame *before* the call instruction is
1015 executed, not after.
1016
1017 * mips-tdep.c (mips_print_register): Print integers using
1018 print_scalar_formatted rather than duplicating all the
1019 CC_HAS_LONG_LONG and so on.
1020 (mips_push_dummy_frame): Use read_register_gen rather than using
1021 read_register and then putting it back in target format with
1022 store_unsigned_integer. If registers are more than 4 bytes, give
1023 an error rather than have some registers overwrite other
1024 registers.
1025 #if 0 unused include of opcode/mips.h.
1026
1027 * symfile.h: Don't declare arguments for coff_getfilename.
1028
1029 * defs.h: Revert Kung change regarding FORCE_LONG_LONG.
1030
1031 Thu Feb 24 08:06:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1032
1033 * configure.in (hppa*-*-osf*): New configuration.
1034 * config/pa/hppaosf.mt: New target makefile fragment.
1035 * config/pa/tm-hppao.h: New target include file.
1036
1037 Thu Feb 24 04:29:19 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1038
1039 * exec.c (print_section_info): Print entry point for exec_bfd only.
1040 * ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case.
1041 * dwarfread.c: Remove second inclusion of <sys/types.h>, which
1042 causes problems if <sys/types.h> has no multiple inclusion protection.
1043
1044 Wed Feb 23 16:28:55 1994 Jeffrey A. Law (law@cygnus.com)
1045
1046 * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of
1047 the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1.
1048 (CALL_DUMMY_LENGTH): Changed accordingly.
1049
1050 Wed Feb 23 16:21:25 1994 Stu Grossman (grossman at cygnus.com)
1051
1052 * sparc-stub.c (trap_low): Make trap handler work for arbitrary
1053 numbers of register windows.
1054
1055 * sparclite/hello.c: Add factorial function for testing.
1056 * salib.c: Use macros instead of constants for I/O addresses to
1057 make 931 support easier.
1058 * sparclite.h: Change constraint for LOC to "rJ" to force use of
1059 register in sta/lda instructions.
1060
1061 Wed Feb 23 10:39:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com)
1062
1063 * dbxread.c (process_one_symbol): Set
1064 block_address_function_relative for COFF like we do for ELF and SOM.
1065
1066 Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1067
1068 * mdebugread.c (new_psymtab): Pass in section_offsets and set
1069 them in the pst.
1070 * mdebugread.c (handle_psymbol_enumerators): New function to enter
1071 the enumerators of an ecoff enum into the partial symbol table.
1072 * mdebugread.c (parse_partial_symbols): Call it.
1073 * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next.
1074 * symmisc.c (dump_psymtab): Fix typo, clean up output of section
1075 offsets. Cast psymtab->read_symtab to PTR before passing it to
1076 gdb_print_address.
1077 * i386-tdep.c (i386_skip_prologue): Skip over instructions that
1078 set up the global offset table pointer in pic compiled code.
1079 * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets,
1080 error() on TYPE_CODE_FLT arguments whose size is greater than 8,
1081 swap all other TYPE_CODE_FLT arguments as mips_push_arguments
1082 ensures that floats are promoted to doubles before they are pushed
1083 on the stack.
1084
1085 Fri Feb 18 23:12:59 1994 Stu Grossman (grossman at cygnus.com)
1086
1087 * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:
1088 Fixup cache_on and flush_i_cache so that they work for both the
1089 930 and 932 processors. Rewrite most low level funcs (uart
1090 access & cache stuff) to use new ASI access macros in sparclite.h.
1091 Also make it easy to access second serial port.
1092
1093 Fri Feb 18 22:17:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1094
1095 * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or
1096 <sys/stat.h>; not needed.
1097
1098 Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1099
1100 * stack.c (print_frame_info): In "pathological" case, don't
1101 distrust the line number information.
1102
1103 Fri Feb 18 16:51:14 1994 Kung Hsu (kung@mexican.cygnus.com)
1104
1105 * mips-tdep.c (mips_print_register): handle 64 bits register.
1106 * valprint.c (print_longest): fix a bug in printing 64 bits value.
1107
1108 Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1109
1110 * Version 4.12.2.
1111
1112 * Makefile.in (install): Do the sed for program_transform_name
1113 ourselves instead of worrying about INSTALL_XFORM. This enables
1114 users to override INSTALL_PROGRAM in the standard way.
1115
1116 * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't
1117 depend on Makefile.in.
1118
1119 * defs.h, valprint.c: Make longest_to_int a function not a macro.
1120 Only test against INT_MIN if a LONGEST is bigger than an int.
1121
1122 * README: Change GhostScript to Ghostscript.
1123
1124 Fri Feb 18 07:30:55 1994 Jim Kingdon (kingdon@cygnus.com)
1125
1126 * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}:
1127 Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14
1128 character file names.
1129 * Makefile.in (ALLPARAM): Add these files.
1130
1131 * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14
1132 character file names.
1133 * Makefile.in: Add Kung's new mips64 files.
1134
1135 Thu Feb 17 17:25:47 1994 Kung Hsu (kung@mexican.cygnus.com)
1136
1137 * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf,
1138 mips64el-*-ecoff and mips64-big-*.
1139 * defs.h: get rid of FORCE_LONG_LONG.
1140 * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction
1141 parsing. Change register size to be MIPS_REGSIZE.
1142
1143 Thu Feb 17 09:30:22 1994 David J. Mackenzie (djm@thepub.cygnus.com)
1144
1145 * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c,
1146 osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c,
1147 xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names.
1148
1149 Fri Feb 11 21:47:24 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
1150
1151 * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust.
1152 (remove_commands, add_commands): Add/remove hms-drain when target
1153 is connected.
1154
1155 Fri Feb 11 16:11:38 1994 Stu Grossman (grossman at cygnus.com)
1156
1157 * configure.in: Add Lynx/rs6000 support.
1158 * lynx-nat.c: Clean up some Sparc stuff. Clean up ptrace error
1159 messages. Add rs6000 support. Don't try to modify unwritable
1160 registers.
1161 * rs6000-nat.c: Move lots of native dependent stuff (like core
1162 file support) from rs6000-tdep.c & xcoffexec.c to here.
1163 * rs6000-tdep.c: Move native dependent stuff to nat.c.
1164 * xcoffexec.c: Move native dependent stuff to nat.c.
1165 * config/rs6000/nm-rs6000.h: Move defs of SOLIB_* macros to here
1166 from tm file.
1167 * config/rs6000/tm-rs6000.h: Remove defs of SOLIB_* funcs, cuz they're
1168 really native.
1169 * config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h:
1170 New files to support Lynx/rs6000.
1171
1172 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1173
1174 * README: Remove note about gcc warnings on alpha, these should be
1175 gone now.
1176 * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c,
1177 m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c
1178 remote-utils.c, stabsread.c: Include <string.h>.
1179 * regex.c: Include "defs.h", change re_comp argument to const char *.
1180 * infptrace.c (fetch_register, store_inferior_registers): Change
1181 regaddr to type CORE_ADDR.
1182 * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
1183 Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
1184
1185 Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1186
1187 * symtab.h: Always define BYTE_BITFIELD to nothing.
1188
1189 Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1190
1191 * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
1192 * configure.in: Remove comment about m68k-em.mt.
1193 * Makefile.in: Remove references.
1194
1195 Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1196
1197 * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
1198 BFD_HOST_64_TYPE.
1199
1200 Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1201
1202 * target.c (target_preopen): If target_kill doesn't remove the
1203 target from the stack, use pop_target to do it.
1204
1205 * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
1206 of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar
1207 changes to stabsread.c from summer 1993.
1208
1209 * remote-udi.c (udi_files_info): If prog_name is NULL, just skip
1210 printing the program, rather than passing NULL to printf.
1211 (udi_detach): Set udi_session_id to -1 so that udi_close doesn't
1212 try to call UDIDisconnect again. Print better message.
1213 (udi_kill): Just call UDIDisconnect ourselves, rather than doing
1214 it via udi_close.
1215 (udi_create_inferior): If udi_session_id is negative, open a new
1216 TIP rather than giving an error.
1217
1218 * config/mips/mipsm3.mh, config/i386/i386m3.mh,
1219 config/ns32k/ns32km3.mh: Define NAT_FILE.
1220 * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H
1221 (it was inconsistent and namespace-wrong) to NM_M3_H.
1222 * m3-nat.c (mach_really_wait): Change parameter name to ourstatus.
1223 (m3_open): New function.
1224 (m3_ops): Use it.
1225 * TODO: Update Mach section.
1226
1227 * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
1228
1229 Sun Feb 6 13:26:21 1994 Per Bothner (bothner@kalessin.cygnus.com)
1230
1231 * printcmd.c (printf_command): Add missing single-letter
1232 backslash-escape sequences, and improve error message.
1233
1234 Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1235
1236 * corelow.c (solib_add_stub, core_open): Pass address of from_tty
1237 rather than trying to shove an int into a pointer and back out
1238 again. This avoids compiler warnings.
1239
1240 * defs.h (alloca): Declare as void *, not char *, on hpux.
1241 Don't prototype it, just declare the return type.
1242
1243 Sun Feb 6 03:25:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1244
1245 * config/i386/tm-sun386.h, config/i386/tm-symmetry.h
1246 (REGISTER_CONVERT_TO_RAW): Add missing backslash.
1247
1248 Sat Feb 5 08:03:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1249
1250 * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or
1251 ZERO_REGNUM, just read it as zero without talking to the board.
1252
1253 * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing
1254 backslash.
1255 * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type)
1256 to store_floating, not nonexistent variable len.
1257
1258 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
1259 New functions.
1260 (mips_store_word): Change calling convention to return errors, and
1261 to provide old contents if the caller wants it.
1262 (mips_xfer_memory): Deal with errors from mips_store_word.
1263 * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT
1264 define now that remote-mips.c doesn't use BREAKPOINT.
1265
1266 * remote-mips.c (mips_create_inferior): Call warning if arguments
1267 specified, and then execute "set args" command. Call error, not
1268 mips_error, if executable file not specified.
1269
1270 * remote-e7000.c: Replace "snoop" command (e7000_noecho) with
1271 remote_debug.
1272
1273 * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast
1274 to unsigned int.
1275
1276 Sat Feb 5 05:27:05 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1277
1278 * value.h (print_longest): Rename "value" to "val" in prototype
1279 declaration because some compilers don't like arguments whose
1280 names are the same as types.
1281 * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char *
1282 before passing it to remote_*_bytes.
1283
1284 Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)
1285
1286 * h8500-tdep.c (saved_pc_after_call): The size of the
1287 pc is memory model dependent. (segmented_command,
1288 unsegmented_command, _initialize_h8500_tdep): New commands to
1289 change memory model.
1290 * remote-e7000.c (_initialize_remote_e7000): Change name of snoop
1291 command.
1292 * remote-hms.c (hms_load): Remove breakpoints when loaded.
1293 (hms_wait): Use new status structure
1294 (hms_open): Push the target here. (hms_before_main_loop): Not
1295 here. (supply_val, hms_fetch_register, hms_store_register): Cope
1296 with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE.
1297 * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print
1298 all registers in a compact way.
1299
1300 Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1301
1302 * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address
1303 as CORE_ADDR to match definition in rs6000-tdep.c.
1304
1305 Fri Feb 4 01:14:20 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1306
1307 * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs.
1308 * dwarfread.c (add_partial_symbol): Do not enter opaque aggregate
1309 definitions into the psymtab.
1310
1311 Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1312
1313 * m68k-stub.c: Treat mc68332 like mc68020 most places. Provide
1314 a special exceptionSize for the 68332.
1315
1316 * remote-udi.c (udi_attach): If no arguments, print error.
1317
1318 Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com)
1319
1320 * Makefile.in (VERSION): Bump to 4.12.1
1321 * NEWS, README: Update to match 4.12 release.
1322
1323 Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1324
1325 * command.c (empty_sfunc): New function.
1326 (add_set_cmd): Use it instead of not_just_help_class_command.
1327 (not_just_help_class_command): Change calling convention back to
1328 what it was before yesterday's change.
1329
1330 * stabsread.c (read_sun_builtin_type): Skip the semicolon at the end
1331 of the type if present.
1332
1333 Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1334
1335 * printcmd.c (decode_format): Don't blithely set the size for
1336 an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT.
1337
1338 * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h.
1339 If BFD64, make a LONGEST a BFD_HOST_64_BIT.
1340 * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead
1341 always just check against INT_MIN and INT_MAX (this also fixes things
1342 if sizeof (long) > sizeof (int), e.g. Alpha).
1343 * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h:
1344 Don't define LONGEST or BUILTIN_TYPE_LONGEST.
1345 * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and
1346 BUILTIN_TYPE_UNSIGNED_LONGEST.
1347 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
1348 longest_int and longest_unsigned_int.
1349 * value.h (struct value): Just align to LONGEST, rather than worrying
1350 about CC_HAS_LONG_LONG.
1351 * valarith.c (value_binop): Figure out type ourself based on
1352 sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The
1353 point is that we don't depend on CC_HAS_LONG_LONG anymore.
1354 * valprint.c (val_print_type_code_int): Just call
1355 extract_unsigned_integer directly, rather than going through
1356 unpack_long.
1357 * printcmd.c (decode_format): Remove code which would sometimes
1358 change 'g' size to 'w' for integers. print_scalar_formatted handles
1359 printing huge integers well enough, thank you.
1360
1361 * command.c (add_set_cmd, not_just_help_class_command): Change
1362 to make this the sfunc, not cfunc, since that is how we call it.
1363 * command.h: Comment difference between sfunc and cfunc.
1364 * demangle.c (set_demangling_command): Add third arg since that
1365 is how it is called.
1366 (_initialize_demangler): Use sfunc, not cfunc, for
1367 set_demangling_command, since that is how it is called.
1368 Remove show_demangling_command; it has no effect.
1369
1370 * command.c (shell_escape): Report errors correctly (with error
1371 message from strerror).
1372
1373 Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1374
1375 * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
1376 x_scnlen.l rather than x_scnlen to match corresponding change in
1377 coff/internal.h.
1378
1379 Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1380
1381 * gdbtypes.h, ch-typeprint.c, ch-valprint.c:
1382 Change comments regarding TYPE_CODE_BOOL.
1383 * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL,
1384 regardless of the language.
1385 (value_true): Just call value_logical_not regardless of language.
1386 * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type):
1387 Remove #if 0'd code which makes some enums TYPE_CODE_BOOL.
1388 * language.h: Improve comment for la_builtin_type_vector.
1389 * m2-lang.c (_initialize_m2_language): Don't add any fields to
1390 builtin_type_m2_bool.
1391
1392 Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com)
1393
1394 * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
1395 Define IN_SIGTRAMP and backtrace correctly through signal handlers.
1396
1397 Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1398
1399 * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl
1400 by restarting the ioctl.
1401
1402 Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1403
1404 * target.h (target_wait): Add comment about calling
1405 return_to_top_level.
1406
1407 Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1408
1409 * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
1410 additional arguments.
1411 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.
1412
1413 Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com)
1414
1415 * sparc-stub.c: Remove unnecessary #include of memory.h.
1416
1417 Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1418
1419 * mips-tdep.c: Remove code which sets saved_regs from
1420 init_extra_frame_info and put it in new function mips_find_saved_regs.
1421 (READ_FRAME_REG): Remove macro and replace uses with the expansion.
1422 * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs,
1423 check if it is NULL and call mips_find_saved_regs if so.
1424
1425 * remote-mips.c: Use unfiltered, not filtered, output most places.
1426
1427 * blockframe.c (get_prev_frame_info): Detect and stop an infinite
1428 backtrace. Revise comments.
1429
1430 Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1431
1432 * mdebugread.c (parse_procedure): Remove _sigtramp kludges for
1433 alpha and irix. The _sigtramp case has to be handled properly
1434 in the tdep files if we have no ecoff debugging info.
1435 * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain),
1436 mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames
1437 without PC_REGNUM kludge.
1438 * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg):
1439 Clean up handling of mips sigtramp frames, improve comments.
1440
1441 Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1442
1443 * paread.c (read_unwind_info): Fix typo.
1444
1445 * paread.c (pa_symtab_read): Update the "check_strange_names"
1446 filter to match GCC's current output. Filter out section symbols
1447 (which the HP linker sometimes puts in the wrong place).
1448
1449 Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1450
1451 * serial.h (SERIAL_SET_TTY_STATE): Comment return value.
1452
1453 * Makefile.in (TAGS): Just echo one line, rather than the whole thing.
1454
1455 * Makefile.in: Remove all references to sparcly-nat.c.
1456
1457 * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h
1458 remote-sim.h directly, rather than via $(remote_utils_h). This avoids
1459 duplicating serial.h and target.h.
1460
1461 * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables
1462 are not used anywhere (a 5 Oct 1993 change removed the uses).
1463
1464 * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
1465 * config/m68k/es1800.mt: Add comment.
1466 * remote-es.c: Extensive changes to update to current conventions.
1467
1468 * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:
1469 If the timeout is too big to fit in c_cc[VTIME], then do multiple reads
1470 to achieve the desired timeout.
1471 * serial.h (serial_t): Add field timeout_remaining.
1472
1473 Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1474
1475 * c-exp.y (yylex): Reenable nested type code.
1476
1477 Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1478
1479 * a29k-tdep.c (examine_tag): Add comment regarding argcount.
1480
1481 * remote-mips.c (mips_ops): Fix docstring.
1482
1483 * remote-bug.c (bug_ops): Remove spurious newline from docstring.
1484
1485 * config/m68k/tm-monitor.h: Changes to bring this into accordance
1486 with the old tm-m68k-em.h:
1487 (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove.
1488 (HAVE_68881): Don't undefine; HAVE_68881 is obsolete.
1489 (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
1490 Add FIXME regarding GET_LONGJMP_TARGET.
1491
1492 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
1493 * infptrace.c (kill_inferior): Add comments.
1494 * main.c (quit_command): Call target_close after we kill or
1495 detach.
1496 * remote-udi.c (udi_close): Don't error() if QUITTING.
1497
1498 Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com)
1499
1500 * configure.in: Make m68k-coff and aout add monitor support in
1501 addition to the standard serial support.
1502
1503 Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1504
1505 * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
1506 index indexNil.
1507
1508 Fri Jan 28 10:40:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1509
1510 * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
1511 * elfread.c (record_minimal_symbol_and_info),
1512 dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
1513
1514 Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1515
1516 * i386-stub.c: Add ".text" right before "mem_fault:".
1517
1518 * main.c (baud_rate): Add FIXME comment about printing -1 value.
1519
1520 * remote-utils.c (usage): Fix message to be accurate and conform
1521 more closely to normal conventions.
1522
1523 * remote-utils.c (gr_files_info): Have the exec_bfd test control
1524 whether to show information about exec_bfd, and not control whether
1525 to show information about device and speed.
1526
1527 * remote-utils.c (gr_open): If sr_get_device returns NULL, give
1528 usage message, don't dump core.
1529
1530 * remote-bug.c (bug_write_memory): Use alloca, not GCC extension
1531 for variable size array.
1532 (bug_fetch_register, bug_store_register): Rename "value" to
1533 "fpreg_buf" because some compilers don't like variables whose
1534 names are the same as types.
1535 (bug_store_register): Use a cast when converting char * to
1536 unsigned char *.
1537
1538 * symmisc.c (maintenance_print_symbols): Don't refer to the name
1539 of the command in error message (the text was referring to the old
1540 name of the command).
1541
1542 * symmisc.c (dump_symtab): Fix args to fprintf_filtered.
1543
1544 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
1545 full details on structure elements without names. This partially
1546 reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect
1547 of those changes was accidental.
1548
1549 * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
1550 defined, make it an error to specify a single argument which is not
1551 a frame number.
1552
1553 * Makefile.in (version.c), main.c (print_gdb_version): Use
1554 host_alias and target_alias, not host_canonical and
1555 target_canonical, to print configuration.
1556
1557 Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1558
1559 * parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead
1560 of builtin_type_long. It is necessary to get a type which is
1561 TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
1562
1563 Fix many sins which will come up in 32 bit x 64 bit GDB, and
1564 various miscellaneous things discovered in the process:
1565 * printcmd.c, defs.h (print_address_numeric): New function.
1566 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print)
1567 breakpoint.c (describe_other_breakpoints, breakpoint_1, mention),
1568 cp-valprint.c (cplus_print_value), infcmd.c (jump_command),
1569 printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c:
1570 Use it.
1571 * utils.c, defs.h (gdb_print_address): New function.
1572 * expprint (dump_expression), gdbtypes.h: Use it.
1573 * breakpoint.c (describe_other_breakpoints),
1574 symmisc.c (dump_symtab, print_symbol):
1575 Use filtered not unfiltered I/O.
1576 (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well
1577 just run gdb under a debugger for this (and it had problems with
1578 printing addresses, how to print b->shadow, etc.).
1579 * buildsym.c (make_blockvector), core.c (memory_error),
1580 exec.c (print_section_info), maint.c (print_section_table),
1581 mdebugread.c (parse_procedure), solib.c, source.c, symfile.c,
1582 symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
1583 Add comments saying code is broken. Marked with "FIXME-32x64".
1584 * dbxread.c (process_one_symbol), partial-stab.h (default),
1585 remote-vx.c (vx_run_files_info):
1586 Don't cast int being passed to local_hex_string.
1587 * symmisc.c (print_symbol): Don't cast long being passed to %lx.
1588 * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE
1589 only being a long.
1590 * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG
1591 and LOC_LOCAL.
1592 * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE.
1593 * source.c: Include <sys/types.h> regardless of USG.
1594
1595 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1596
1597 * valops.c (value_assign): Set `type' after coercing toval.
1598 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print):
1599 Use extract_unsigned_integer to get the address of a reference.
1600
1601 Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1602
1603 * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h:
1604 AIX can use ? instead of \ for continuation. Deal with it.
1605
1606 * paread.c (read_unwind_info): Just assign to objfile->obj_private,
1607 not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which
1608 the HP compiler in ANSI mode doesn't like.
1609
1610 * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it
1611 based on USG, rather than defining HAVE_SIGSETMASK to an
1612 expression containing defined. Having a macro used in #if expand
1613 to an expression containing "defined" is undefined according to
1614 ANSI, and the HP compiler in ANSI mode doesn't do what we wanted
1615 it to.
1616
1617 Mon Jan 24 20:51:29 1994 John Gilmore (gnu@cygnus.com)
1618
1619 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
1620 Clean up the changes of 11 Jan, as recommended by Peter Schauer.
1621
1622 Fri Jan 21 19:10:44 1994 Per Bothner (bothner@kalessin.cygnus.com)
1623
1624 * ch-exp.y (match_string_literal): Allow a zero-length string.
1625 * ch-lang.c (chill_printstr): Don't print zero-length string funny.
1626
1627 Sat Jan 22 17:08:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1628
1629 * i386aix-nat.c (i386_float_info): Reverse order of registers before
1630 passing them to print_387_status.
1631 (print_387_status): Don't subtract top from 7 before using it.
1632 * i387-tdep.c: Remove comment about AIX wanting "top" subtracted
1633 from 7; the above explains it.
1634
1635 Sat Jan 22 20:25:11 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1636
1637 * mips-tdep.c (init_extra_frame_info): Use frame relative stack
1638 pointer value when fixing up the frame at the start of a function.
1639
1640 Sat Jan 22 12:29:13 1994 Stu Grossman (grossman at cygnus.com)
1641
1642 * lynx-nat.c (fetch_core_registers): Load the I & L regs for the
1643 Sparc from the stack.
1644
1645 Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1646
1647 * remote-mips.c (mips_initialize): Clear mips_initializing via
1648 cleanup chain, not directly.
1649
1650 * ser-unix.c (wait_for) [HAVE_TERMIO, HAVE_TERMIOS]: Make a timeout
1651 of -1 mean forever, like in the HAVE_SGTTY case. Warn if we are
1652 munging the timeout due to the limited range of c_cc[VTIME].
1653
1654 * fork-child.c, inferior.h (fork_inferior): New argument shell_file.
1655 * procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior),
1656 m3-nat.c (m3_create_inferior): Pass it.
1657 * procfs.c: Remove ptrace function. It was declared in a way which
1658 conflicted with the prototype in unistd.h on Solaris.
1659
1660 Sat Jan 22 01:37:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1661
1662 * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc
1663 in the sigcontext if it is a signal trampoline frame.
1664 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET):
1665 Define for Solaris2.
1666
1667 Sat Jan 22 00:34:47 1994 Stu Grossman (grossman at cygnus.com)
1668
1669 * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h,
1670 config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to
1671 tm-sparc.h so they can be overridden if necessary.
1672
1673 Fri Jan 21 17:49:28 1994 Stu Grossman (grossman at cygnus.com)
1674
1675 * lynx-nat.c: Add Sparc support.
1676 * sparcly-nat.c: Remove. It's useless.
1677 * config/sparc/nm-sparclynx.h: Rewrite.
1678 * config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o
1679 with lynx-nat.o
1680 * config/sparc/tm-sparclynx.h: Rewrite.
1681
1682 Fri Jan 21 19:08:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1683
1684 * rs6000-pinsn.c: Use the new disassembler in the opcodes
1685 directory. Old code was discarded, since the new opcode table has
1686 a different format.
1687
1688 Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com)
1689
1690 * Makefile.in (realclean): Remove info files per make-stds.texi.
1691
1692 Fri Jan 21 12:47:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1693
1694 * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
1695 if N_SO_ADDRESS_MAYBE_MISSING is defined.
1696 * config/sparc/tm-sun4sol2.h: Define it.
1697
1698 Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1699
1700 * printcmd.c (print_address_symbolic): Unconditionally use msymbol
1701 if we did not find a symbol.
1702
1703 Fri Jan 21 08:20:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1704
1705 * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
1706 is not defined.
1707
1708 * hppab-nat.c (call_ptrace): Delete redundant function.
1709 (kill_inferior, attach, detach, child_resume): Likewise.
1710 (child_xfer_memory): Likewise.
1711
1712 * hppah-nat.c (call_ptrace): Delete redundant function.
1713 (kill_inferior, attach, detach, child_resume): Likewise.
1714
1715 * config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.
1716
1717 * config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.
1718
1719 * config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.
1720
1721 * config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define.
1722 (CHILD_XFER_MEMORY): Define.
1723 (PT_*): Define so that generic infptrace.c code can be used.
1724
1725 Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1726
1727 * xcoffread.c (xcoff_symfile_read): Make second parameter a
1728 struct section_offsets *, not a (nonexistent) struct section_offset *.
1729
1730 * xcoffread.c (read_xcoff_symtab): Make main_aux just a union
1731 internal_xcoff_symtab, not an array of one of them. Change lots of
1732 "main_aux" to "&main_aux" and so on.
1733
1734 * coffread.c, xcoffread.c: Include <coff/internal.h>
1735 before "symfile.h".
1736
1737 Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1738
1739 * coffread.c (coff_getfilename): Make it not static.
1740
1741 * xcoffread.c (read_xcoff_symtab): complain() not abort().
1742
1743 * xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes
1744 a completely gratuitous difference between xcoffread.c and coffread.c).
1745
1746 Wed Jan 19 15:09:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1747
1748 * infrun.c (wait_for_inferior): Don't set frame for
1749 step_resume_breakpoint for IN_SIGTRAMP cases.
1750
1751 * infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what),
1752 breakpoint.c (bpstat_what): Move step_resume from its own field of
1753 the struct bpstat_what into the main_action. Make it override
1754 other breakpoints. This is a conservative change in the sense
1755 that before the step resume breakpoint was a breakpoint.c
1756 breakpoint, hitting the step resume breakpoint overrode even
1757 calling bpstat_stop_status.
1758
1759 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1760
1761 * infrun.c (normal_stop): Set stop_pc after popping the dummy frame
1762 in case execution was stopped in the called function.
1763 * stack.c (print_frame_info, frame_info): If backtracing through
1764 a call dummy, handle the starting source line number on a line
1765 boundary like backtracing through sigtramp.
1766 * sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address
1767 for call dummy frame right. Remove old test for dummy frame,
1768 it has been unused at least since gdb-3.5.
1769 * sparc-tdep.c (sparc_push_dummy_frame): Set return address register
1770 of the dummy frame.
1771
1772 Tue Jan 18 16:16:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1773
1774 * infcmd.c (signal_command): Accept 0 as legitimate signal number.
1775
1776 Tue Jan 18 14:09:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1777
1778 * infrun.c (signals_info), target.c (target_signal_from_name):
1779 Use ugly casts to avoid enumvar < enumvar or enumvar++.
1780
1781 Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1782
1783 * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
1784 * inflow.c (terminal_ours_1): When discussing how to deal with the
1785 tty state, make note of query() as well as readline.
1786
1787 * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
1788 signals for which stop and print are cleared by default.
1789
1790 Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1791
1792 * config/pa/tm-hppa.h (unwind_table_entry): Use one of the
1793 reserved fields to hold a stub unwind entry type. Fix typo.
1794 (stub_unwind_entry): New structure for raw stub unwind entries.
1795 (stub_unwind_types): The types of stubs we may encounter.
1796 (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
1797 * hppa-tdep.c (rp_saved): Use additional information provided
1798 by linker stub unwind descriptors.
1799 (frameless_function_invocation): Likewise.
1800 (frame_chain_valid): Likewise.
1801 * paread.c (compare_unwind_entries): New function for sorting
1802 unwind table entries.
1803 (read_unwind_info): Rewrite to remove dependency on host endianness.
1804 Read in data from the $UNWIND_END$ subspace which contains linker
1805 stub unwind descriptors. Merge that data into the basic unwind
1806 table.
1807
1808 * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
1809
1810 Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1811
1812 * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
1813 from either the symbol name or the auxent.
1814 * coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
1815 no longer static.
1816
1817 Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com)
1818
1819 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
1820
1821 Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1822
1823 * README: Update notes for alpha port.
1824
1825 Mon Jan 17 11:15:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1826
1827 * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
1828 for operation fault, constraint fault, and type fault.
1829
1830 Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1831
1832 * Makefile.in (init.c): Add comment explaining formatting conventions.
1833
1834 * c-exp.y (parse_number): Assign to temporary between the right
1835 shifts, to work around a bug in the SCO compiler.
1836
1837 * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
1838 Add various files which were added to GDB recently.
1839
1840 * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
1841 within_function.
1842
1843 * Makefile.in: Add mostlyclean target.
1844
1845 Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1846
1847 * Version 4.11.4.
1848
1849 Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com)
1850
1851 * main.c (show_commands): Make return type of extern
1852 history_get be HIST_ENTRY, rather than struct _hist_entry.
1853 (The latter loses with the upcoming merged readline.)
1854
1855 Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1856
1857 * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
1858 const char *, not char *.
1859
1860 * symtab.h (struct symbol): Make section short, not unsigned short.
1861
1862 * symtab.c (lookup_symbol): Add comment about QUIT here.
1863
1864 * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
1865
1866 * c-exp.y (parse_number): Check for overflow regardless of range
1867 checking. Fix overflow check to use unsigned LONGEST, not
1868 unsigned int.
1869
1870 * c-exp.y (parse_number): Make it so that integer constants are
1871 builtin_type_long_long if builtin_type_long isn't big enough or if
1872 an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
1873
1874 * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
1875 Print our "()" first, then recurse for the target type.
1876
1877 Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1878
1879 * remote-udi.c (udi_create_inferior): Quote empty execfile argument.
1880
1881 * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h".
1882
1883 Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1884
1885 * utils.c (request_quit): Re-establish signal handler regardless
1886 of USG.
1887
1888 * config/mips/xm-irix4.h: Define HAVE_TERMIOS.
1889
1890 Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1891
1892 * i960-tdep.c: Include target.h.
1893
1894 Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
1895
1896 * lynx-nat.c (sys/wait.h): Don't use absolute pathname.
1897
1898 Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1899
1900 * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
1901 changes (status -> ourstatus; declare status, etc.).
1902 * config/nm-lynx.h: Fix child_wait prototype and include target.h.
1903
1904 Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1905
1906 * Makefile.in (ALLPARAM): Add config/nm-lynx.h.
1907
1908 Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1909
1910 * remote-mips.c (mips_request, mips_wait): Correct prototypes.
1911
1912 Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1913
1914 * config/i386/xm-linux.h: Define HAVE_TERMIOS.
1915
1916 Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1917
1918 * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
1919
1920 Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1921
1922 * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
1923 is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
1924
1925 * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before
1926 writing it.
1927
1928 Add search to target vector (#if 0'd until after 4.12):
1929 * target.h (to_search, target_search): Add.
1930 * gdbcore.h, core.c (generic_search): Add.
1931 * remote.c (remote_search): Add.
1932 * a29k-tdep.c (init_frame_info): Use target_search to find traceback
1933 tag.
1934
1935 * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
1936 is on, call find_pc_function rather than relying just on the minimal
1937 symbols (probably only matters for symbol readers which don't put
1938 statics in the minimal symbols, but changing this strikes me as
1939 not conservative enough).
1940 Initialize name_location in all cases.
1941 If no symbol and no msymbol, don't print anything symbolic.
1942
1943 * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
1944
1945 Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com)
1946
1947 * printcmd.c (print_address_symbolic): Make it search the
1948 symtabs for variables as well as functions. Add `set print
1949 fast-symbolic-addr' and default it to fast (the old way).
1950 Print line numbers for data items as well as functions.
1951
1952 * symtab.c (find_addr_symbol): Return the symtab and the symbol
1953 address, if a symbol is found (take two more args pointing to
1954 where to store these results).
1955
1956 * symtab.h (find_addr_symbol): Add prototype.
1957
1958 Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1959
1960 * objfiles.h: Fix comments to reflect the fact that the phrase
1961 "top of stack" always refers to where the pushing and popping takes
1962 place, regardless of whether it is at the highest or lowest address.
1963
1964 Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1965
1966 * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for
1967 compiler generated tag names.
1968 * mdebugread.c (parse_type): Handle cross references to qualified
1969 aggregate types.
1970 * valops.c (value_struct_elt): Improve error message if the
1971 address of a method is requested from an object instance.
1972 * valops.c (search_struct_method): Make name_matched non-static
1973 to get it initialized correctly.
1974 * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to
1975 exclude segment register which are not writable on newer SCO versions.
1976
1977 Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1978
1979 * go32-xdep.c: Remove unused function uerror.
1980 (sigsetmask): Declare return type. Declare argument (to match the
1981 way it is called). Explicitly return 0.
1982
1983 Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com)
1984
1985 * symtab.h (struct symbol, general_symbol_info, minimal_symbol,
1986 partial_symbol): Shrink the storage sizes of symbols, by making
1987 enums into 1-byte bitfields when compiled __GNUC__, moving all the
1988 enums and small ints to the end of each struct to improve
1989 alignment, and switching the section number from int to unsigned
1990 short.
1991
1992 Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com)
1993
1994 * symtab.c (find_addr_symbol): New routine that will find the nearest
1995 symbol associated with an address. It does so by exhaustive
1996 search of the symtabs, so it's slow but complete.
1997
1998 Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com)
1999
2000 * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab
2001 to [0,0] rather than [0, end of first source file]. This avoids
2002 problems with other parts of GDB looking for linetables in the
2003 _globals_ symtab. Eliminate variables num_object_files and
2004 first_object_file_end.
2005
2006 Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
2007
2008 * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag.
2009 (pop_frame): Restore PC2 and LR0 from dummy frames.
2010 (push_dummy_frame): Save PC2 and LR0 into dummy frames.
2011 (setup_arbitrary_frame): Handle 3 args and set up real frames.
2012 * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments.
2013 (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0.
2014 (SETUP_ARBITRARY_FRAME): Define.
2015
2016 Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2017
2018 * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START.
2019
2020 Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2021
2022 * remote-udi.c (udi_resume): Correct prototype.
2023
2024 Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2025
2026 * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call
2027 hppa_frame_find_saved_regs.
2028 * hppa-tdep.c (dig_fp_from_stack): Delete function.
2029 (prologue_inst_adjust_sp): New function.
2030 (is_branch, inst_saves_gr, inst_saves_fr): New functions.
2031 (skip_prologue): Completely rewrite to use unwind information.
2032 (hppa_frame_find_saved_regs): Likewise.
2033
2034 Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2035
2036 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
2037 to convert a signal number with appropriate bounds checking.
2038
2039 * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
2040
2041 Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
2042
2043 * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
2044 print a newline to end the display anyway.
2045
2046 * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and
2047 coprocessor status regs) when popping a frame. This fixes
2048 float exceptions that occur after calling inferior functions.
2049
2050 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
2051 Read and write the fsr (float status register) to/from the child
2052 process along with the float regs. Remove Peter Schauer's change
2053 of May 24 '93, which has higher overhead and doesn't solve the
2054 real problem (which was that FSR wasn't being set).
2055
2056 Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com)
2057
2058 * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ
2059 stack overflow check isn't right after the register stack
2060 adjustment instruction. Metaware R2.3u compiler moves other
2061 things in front of it. This fix isn't perfect but is what's
2062 running.
2063
2064 Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2065
2066 * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.
2067
2068 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
2069 character filenames.
2070 * configure.in: Change accordingly.
2071
2072 Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com)
2073
2074 * m68k-stub.c, sparc-stub.c: removed spurious introduction of
2075 _filtered io routines from these two files.
2076
2077 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2078
2079 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
2080 config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
2081 * mdebugread.c (parse_symbol): Handle enum sh.type produced by
2082 DEC c89.
2083 * mdebugread.c (add_line): Handle zero linenos produced by DEC c89.
2084
2085 Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2086
2087 * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
2088 printing to gdb_stderr.
2089
2090 * remote-udi.c (udi_kill): Don't close the connection, just set
2091 inferior_pid to zero.
2092 (udi_mourn): Call remove_breakpoints.
2093
2094 * remote-udi.c: Remove obsolete need_artificial_traps comment.
2095
2096 * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
2097
2098 Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2099
2100 * symtab.c (lookup_symbol): Don't try adding .c to the name.
2101
2102 * remote-bug.c: At the start of each section, reset srec_frame
2103 back to 160.
2104
2105 * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.
2106 * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook.
2107 * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with
2108 code which looks for those two waitkinds. Use switch statement.
2109 * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with
2110 CHILD_SPECIAL_WAITSTATUS.
2111
2112 * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
2113 * Move target_signal_from_host, target_signal_to_host, and
2114 store_waitstatus from inftarg.c to target.c. procfs needs them.
2115 * target.c: Include "wait.h" and <signal.h>.
2116 * target.h, infrun.c (proceed), proceed callers: Pass new code
2117 TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with
2118 enums being treated as unsigned and is cleaner.
2119 * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or
2120 TARGET_SIGNAL_0.
2121 * infcmd.c (signal_command), infrun.c (signals_info):
2122 Don't allow user to specify numeric equivalent of
2123 TARGET_SIGNAL_DEFAULT.
2124
2125 Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com)
2126
2127 * config/alpha/alpha-netware.mt: New target support for Alpha
2128 running Netware.
2129 * configure.in: Add alpha-*-netware* target.
2130
2131 Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com)
2132
2133 * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED.
2134
2135 Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2136
2137 * target.h: Add enum target_waitkind, enum target_signal, and
2138 struct target_waitstatus. Change status argument to target_wait to
2139 be struct target_waitstatus * instead of int *.
2140 * target.h, infrun.c, all targets: Change type of signal arguments
2141 to resume(), proceed(), and target_resume() from int to enum
2142 target_signal.
2143 * All targets (*_wait, *_resume): Change accordingly.
2144 * infcmd.c (program_info, signal_command), throughout infrun.c,
2145 * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
2146 * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
2147 signal code stuff right with the new signals would be non-trivial).
2148 * inferior.h (stop_signal): Make it enum target_signal not int.
2149 * target.c, target.h (target_signal_to_string, target_signal_to_name,
2150 target_signal_from_name): New functions.
2151 * inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
2152 store_waitstatus): New functions.
2153 * procfs.c (procfs_notice_signals): Use them.
2154 * i960-tdep.c (i960_fault_to_signal): New function, to replace
2155 print_fault.
2156 * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
2157
2158 * objfiles.c (build_objfile_section_table): Don't abort() if
2159 objfile->sections is already set.
2160
2161 * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD
2162 to match recent change to exec.c.
2163
2164 * Version 4.11.3.
2165
2166 * main.c (print_gdb_version): Change year to 1994.
2167
2168 * ChangeLog, ChangeLog-93: Split ChangeLog at 1994.
2169 * Makefile.in (NONSRC): Add ChangeLog-93.
2170
2171 Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2172
2173 * stabsread.c (read_type): Allow defining several type numbers
2174 at once (e.g. "(1,2)=(3,4)="...).
2175
2176 * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int).
2177
2178 * breakpoint.c (frame_in_dummy): Check PC as well as frame.
2179
2180 Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2181
2182 * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols
2183 to process_one_symbol.
2184 * symtab.c (find_pc_psymbol): Search global_psymbols as well to
2185 avoid caching a bad endaddr in find_pc_partial_function.
2186
2187 Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2188
2189 * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION.
2190
2191 Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2192
2193 * infrun.c (wait_for_inferior): Do not step or step resume past
2194 the end of a one-line function we just stepped into.
2195
2196 For older changes see ChangeLog-93
2197 \f
2198 Local Variables:
2199 mode: indented-text
2200 left-margin: 8
2201 fill-column: 74
2202 version-control: never
2203 End:
This page took 0.074983 seconds and 4 git commands to generate.