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