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