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