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