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