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