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