Commit | Line | Data |
---|---|---|
d0e51077 DE |
1 | Thu Dec 5 14:06:23 1996 Doug Evans <dje@canuck.cygnus.com> |
2 | ||
3 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef. | |
4 | (TARGET_BYTE_ORDER_SELECTABLE): Define. | |
5 | (BREAKPOINT): Undef. | |
6 | ({BIG,LITTLE}_BREAKPOINT): Define. | |
7 | ||
6823374b GN |
8 | Wed Dec 4 16:34:05 1996 Geoffrey Noer <noer@cygnus.com> |
9 | ||
10 | * config/mn10300/mn10300.mt | |
11 | * config/mn10300/tm-mn10300.h: new config files for mn10300 | |
12 | processor | |
13 | ||
14 | Tue Dec 3 13:02:08 1996 Fred Fish <fnf@ninemoons.com> | |
15 | ||
16 | * infptrace.c (store_inferior_registers): Move some common code out | |
17 | to store_register, like fetch_inferior_registers & fetch_register. | |
18 | (store_register): New function, from store_inferior_registers. | |
19 | (fetch_inferior_registers, fetch_register): Minor code tweaks to | |
20 | make {fetch,store}_inferior_registers and {fetch,store}_register | |
21 | routines as similar in structure as possible. | |
22 | (fetch_inferior_registers, store_inferior_registers): Eliminate | |
23 | local variable numregs and just use ARCH_NUM_REGS directly. | |
24 | ||
e47d1a4e MS |
25 | Tue Dec 3 11:38:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
26 | ||
27 | * blockframe.c: add macro USE_GENERIC_DUMMY_FRAMES to enable/disable | |
28 | code for generic call_dummy frames. | |
29 | * config/h8300/tm-h8300.h: turn on USE_GENERIC_DUMMY_FRAMES | |
30 | start-sanitize-m32r | |
31 | * config/m32r/tm-m32r.h: turn on USE_GENERIC_DUMMY_FRAMES | |
32 | end-sanitize-m32r | |
33 | * config/sh/tm-sh.h: turn on USE_GENERIC_DUMMY_FRAMES | |
34 | start-sanitize-v850 | |
35 | * config/v850/tm-v850.h: turn on USE_GENERIC_DUMMY_FRAMES | |
36 | end-sanitize-v850 | |
37 | ||
94cff946 PS |
38 | Sun Dec 1 00:41:47 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
39 | ||
40 | * vax-tdep.c (vax_print_insn, print_insn_arg): Use info functions | |
41 | for printing. From Valeriy Ushakov <uwe@ptc.spbu.ru>. | |
42 | ||
e47d1a4e MS |
43 | Sun Dec 1 00:40:46 1996 Geoffrey Noer <noer@cygnus.com> |
44 | ||
45 | * configure.tgt: add new mn10300 entry | |
46 | ||
0db3fe94 PS |
47 | Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
48 | ||
49 | Add support for Irix 6.2 native O32 and N32 ABI. | |
50 | ||
51 | * config.in, configure.in, configure: Check for <objlist.h>. | |
52 | * configure.tgt: Handle mips*-sgi-irix6* like irix5 for now. | |
53 | ||
54 | * cp-valprint.c (cp_print_value_fields): Use SYMBOL_VALUE_ADDRESS | |
55 | instead of SYMBOL_BLOCK_VALUE to get the address of a static member. | |
56 | ||
57 | * dwarf2read.c: Turn warnings and recoverable errors into complaints, | |
58 | add new complaints where appropriate. | |
59 | gcc -Wall cleanup. | |
60 | (struct line_head): Change line_base from char to int to avoid | |
61 | problems with compilers whose plain char is represented by an | |
62 | unsigned char. | |
63 | (struct partial_die_info): Add is_declaration field. | |
64 | (dwarf2_tmp_obstack): New obstack for allocating temporary storage | |
65 | used during symbol reading. | |
66 | (cu_header_offset): New variable for resolving relative reference | |
67 | dies. | |
68 | (optimized_out, basereg, islocal, frame_base_reg, frame_base_offset): | |
69 | New interface variables for decode_locdesc. | |
70 | (struct dwarf2_pinfo): New structure for communication between | |
71 | psymtab and symtab reading, passed via pst->read_symtab_private. | |
72 | (dwarf2_has_info, dwarf2_build_psymtabs): Accept objects files | |
73 | without line number sections. | |
74 | (dwarf2_build_psymtabs_hard): Initialize temporary obstack | |
75 | for symbol reading. | |
76 | Allocate and initialize pst->read_symtab_private. | |
77 | Relocate pst->textlow and pst->texthigh with baseaddr. | |
78 | (scan_partial_symbols): Do not add DW_AT_declaration symbols | |
79 | to the partial symbol table. | |
80 | Add file scope enumerator symbols to the partial symbol table. | |
81 | Fix typo in highpc computation. | |
82 | If we didn't find a lowpc, set it to highpc to avoid complaints | |
83 | from `maint check. | |
84 | (add_partial_symbol): Relocate symbol values with baseaddr. | |
85 | Add static DW_TAG_subprogram and DW_TAG_variable symbols to the | |
86 | minimal symbol table. | |
87 | Obtain symbol values for DW_TAG_variable symbols from the location | |
88 | descriptor, skip symbols with missing location desciptors. | |
89 | Skip symbols for aggregate types without children. | |
90 | Handle enumerator symbols. | |
91 | (dwarf2_psymtab_to_symtab): Issue symbol reading message if verbose. | |
92 | (psymtab_to_symtab_1): Set local variables from | |
93 | pst->read_symtab_private, set cu_header_offset and baseaddr. | |
94 | Initialize temporary obstack for symbol reading, initialize | |
95 | buildsym and add a cleanup to really_free_pendings. | |
96 | Relocate highpc with baseaddr when calling end_symtab. | |
97 | If the compilation is from a C file generated by language | |
98 | preprocessors, do not set the symtab language if it was already | |
99 | deduced by start_subfile. | |
100 | Removed verbose sorting symbol table message. | |
101 | (process_die): Handle DW_TAG_ptr_to_member_type and | |
102 | DW_TAG_reference_type. | |
103 | Use read_subroutine_type to get the function type for | |
104 | DW_TAG_subprogram before calling read_func_scope. | |
105 | (read_file_scope): Initialize file name to <unknown>, start_subfile | |
106 | expects a non-NULL name. | |
107 | If we didn't find a lowpc, set it to highpc to avoid complaints | |
108 | from finish_symbol. | |
109 | Relocate lowpc and highpc with baseaddr. | |
110 | Get rid of Irix6.2 native cc compile machine prefix in comp_dir. | |
111 | Zero out ftypes for each new compilation unit (may be different | |
112 | language or different objfile). | |
113 | Accept compilation units without line number information, pass | |
114 | comp_dir to decode_lines. | |
115 | (read_func_scope): Initialize function name to <unknown> to avoid | |
116 | core dumps when DW_AT_name is missing. | |
117 | Relocate lowpc and highpc with baseaddr. | |
118 | Handle DW_AT_frame_base, keep result for DW_OP_fbreg operations. | |
119 | Pass function type to new_symbol. | |
120 | (read_lexical_block_scope): Relocate lowpc and highpc with baseaddr. | |
121 | (read_structure_scope): Set TYPE_TAG_NAME, not TYPE_NAME. | |
122 | Handle DW_TAG_class_type. | |
123 | Copy fields to type_obstack, release temporary storage for fields. | |
124 | Don't add symbol if die is a stub die and has no children. | |
125 | Handle C++ static member fields. | |
126 | (read_enumeration): Set TYPE_TAG_NAME, not TYPE_NAME. | |
127 | Copy fields to type_obstack, release temporary storage for fields. | |
128 | Let new_symbol handle the symbol creation for enumerators | |
129 | instead of handcrafting a symbol. | |
130 | Determine signedness of enum type from enumerators. | |
131 | (dwarf_read_array_type): Handle variable length arrays. | |
132 | Use lookup_pointer_type instead of handcrafting a type. | |
133 | Create array type only if a DW_TAG_subrange_type was found. | |
134 | (read_tag_pointer_type, read_tag_reference_type): | |
135 | Use lookup_pointer_type and lookup_reference_type instead | |
136 | of handcrafting a type. | |
137 | (read_tag_ptr_to_member_type): New function to handle | |
138 | DW_TAG_ptr_to_member_type. | |
139 | (read_subroutine_type): Handle parameter dies. | |
140 | Use lookup_function_type instead of handcrafting a type. | |
141 | (read_typedef): Allocate a TYPE_CODE_TYPEDEF type for the typedef. | |
142 | (read_base_type): If the type has a name, use init_type to create | |
143 | a new type instead of second guessing a fundamental type. | |
144 | (read_comp_unit): Reset die reference table before building | |
145 | a new one. | |
146 | (dwarf2_read_section): Read section contents into psymbol_obstack. | |
147 | (dwarf2_read_abbrevs): Handle unterminated abbreviations | |
148 | for a compile unit gracefully. | |
149 | (read_partial_die): Zero partial die before reading its info. | |
150 | Handle DW_AT_declaration. | |
151 | Fix typo in handling of DW_FORM_block4. | |
152 | (read_full_die): Fix typo in handling of DW_FORM_block4. | |
153 | (read_1_signed_byte, read_2_signed_bytes, read_4_signed_bytes): | |
154 | New routines to get signed values from a buffer. | |
155 | (read_n_bytes, read_string): Allocate storage from the temporary | |
156 | obstack. If the host char size permits it, return pointer | |
157 | to buffer instead of allocating storage. | |
158 | (set_cu_language): Handle DW_LANG_Mips_Assembler. | |
159 | (dwarf_attr): Return NULL if reference die for DW_AT_specification | |
160 | or DW_AT_abstract_origin die is not found. | |
161 | (record_minimal_symbol): Removed, replaced with a direct call to | |
162 | prim_record_minimal_symbol, it now handles saving the string itself. | |
163 | (convert_locdesc): Removed, partial symtab reading now uses | |
164 | decode_locdesc. | |
165 | (dwarf_attr): Use dwarf2_get_ref_die_offset to get the absolute | |
166 | offset for the die reference. | |
167 | (dwarf_decode_lines): Complain if the line section info is missing. | |
168 | Use read_1_signed_byte to extract lh.line_base to avoid | |
169 | problems with compilers whose plain char is represented by an | |
170 | unsigned char. | |
171 | Add cleanups for allocated temporary storage. | |
172 | Start a subfile for the first file in the state machine. | |
173 | Fix off by one problem with dirs.dirs access. | |
174 | Use comp_dir when directory index is 0. | |
175 | Support multiple sequences (from Jason Merrill <jason@cygnus.com>). | |
176 | (dwarf2_start_subfile): Try to keep line numbers from identical | |
177 | absolute and relative file names in a common subfile. | |
178 | (new_symbol): Allocate symbol and symbol name on the symbol_obstack. | |
179 | Set SYMBOL_LINE from DW_AT_decl_line if present. | |
180 | Set SYMBOL_TYPE from passed type if not NULL. | |
181 | Change DW_TAG_variable symbol types with missing type entries | |
182 | to a sensible type. | |
183 | Handle optimized_out, offreg and islocal storage classes. | |
184 | Add external symbols with type information whose address isn't | |
185 | known as LOC_UNRESOLVED symbols. | |
186 | Synthesize typedefs for C++ classes, structs, unions and enumerations. | |
187 | Handle DW_TAG_enumerator symbols, complain for unrecognized | |
188 | symbol tags. | |
189 | (die_type): A missing DW_AT_type represents a void type. | |
190 | Use dwarf2_get_ref_die_offset to get the absolute offset for | |
191 | the die reference. | |
192 | (die_containing_type): New function to build type from | |
193 | DW_AT_containing_type attribut. | |
194 | (read_type_die): Handle DW_TAG_ptr_to_member_type. | |
195 | Treat DW_TAG_subprogram like DW_TAG_subroutine_type. | |
196 | (dwarf_base_type): Fix typo with creation of FT_UNSIGNED_SHORT | |
197 | fundamental type. | |
198 | (create_name): Removed, symbol name allocation is now done | |
199 | in new_symbol. | |
200 | (dump_die): Use print_address_numeric to print a CORE_ADDR. | |
201 | (dwarf2_empty_die_ref_table): New function to clear the die | |
202 | reference table. | |
203 | (dwarf2_get_ref_die_offset): New function to get the absolute | |
204 | die offset from a die reference attribute. | |
205 | (decode_locdesc): Complete rewrite using a stack, code mostly | |
206 | borrowed from dwarfread.c:locval. | |
207 | (dwarf_alloc_type): Removed, replaced by direct calls to alloc_type. | |
208 | (dwarf_alloc_block): Allocate block on temporary obstack. | |
209 | ||
210 | * elfread.c (elf_symtab_read): When handling Irix dynamic symbols, | |
211 | skip section name symbols and relocate all others. | |
212 | (elf_symfile_read): Build dwarf2 psymtab even if offset is non-zero. | |
213 | ||
214 | * irix5-nat.c (fetch_core_registers): Handle core_reg_sect | |
215 | from N32 executables. Call registers_fetched after extracting | |
216 | the registers. | |
217 | (obj_list_variant, struct link_map, LM_OFFSET, LM_ADDR): New | |
218 | definitions to enable support of O32 and N32 format objlists. | |
219 | (struct so_list): New members offset, so_name and lmstart to | |
220 | eliminate dependencies from the objlist format used. | |
221 | (solib_map_sections, symbol_add_stub, solib_add, | |
222 | info_sharedlibrary_command, solib_address, clear_solib): Use | |
223 | so_name and LM_OFFSET. | |
224 | (first_link_map_member): Rewrite to enable support of O32 and N32 | |
225 | format objlists. | |
226 | (next_link_map_member, xfer_link_map_member): New functions to | |
227 | support O32 and N32 format objlists. | |
228 | (find_solib): Use first_link_map_member, next_link_map_member and | |
229 | xfer_link_map_member. | |
230 | (solib_create_inferior_hook): Use TARGET_SIGNAL_* instead of | |
231 | host signal numbers. | |
232 | ||
233 | * mdebugread.c (parse_partial_symbols, handle_psymbol_enumerators): | |
234 | Pass CORE_ADDR variant to add_psymbol_to_list. | |
235 | ||
236 | * mips-tdep.c (heuristic_proc_desc): Stop examining the prologue | |
237 | if we encounter a positive stack adjustment. Handle `move $30,$sp'. | |
238 | Handle `sd reg,offset($sp)' for 32 bit ABIs. | |
239 | ||
240 | * symmisc.c (dump_msymbols, print_partial_symbols): Use | |
241 | print_address_numeric to print a SYMBOL_VALUE_ADDRESS. | |
242 | (dump_symtab): Print compilation directory if it is not NULL. | |
243 | ||
244 | * valops.c (search_struct_field, value_struct_elt_for_reference): | |
245 | Use SYMBOL_VALUE_ADDRESS instead of SYMBOL_BLOCK_VALUE to get the | |
246 | address of a static member. | |
247 | ||
0f75e2e3 PS |
248 | Thu Nov 28 00:46:24 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
249 | ||
250 | * vax-tdep.c (vax_print_insn): Made static, modified to take | |
251 | disassemble_info as parameter. | |
252 | (_initialize_vax_tdep): New function to initialize tm_print_insn | |
253 | to vax_print_insn. | |
254 | ||
409f64ae MS |
255 | Wed Nov 27 11:29:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
256 | ||
257 | * blockframe.c: ...Remove old-style CALL_DUMMY code... | |
e47d1a4e MS |
258 | * h8300-tdep.c: ditto |
259 | * config/h8300/tm-h8300.h: ditto | |
409f64ae | 260 | start-sanitize-m32r |
e47d1a4e MS |
261 | * m32r-tdep.c: ditto |
262 | * config/m32r/tm-m32r.h: ditto | |
409f64ae | 263 | end-sanitize-m32r |
e47d1a4e MS |
264 | * sh-tdep.c: ditto |
265 | * config/sh/tm-sh.h: ditto | |
409f64ae | 266 | start-sanitize-v850 |
e47d1a4e MS |
267 | * v850-tdep.c: ditto |
268 | * config/v850/tm-v850.h: ditto | |
409f64ae MS |
269 | end-sanitize-v850 |
270 | ||
dc1b349d MS |
271 | Wed Nov 27 10:32:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
272 | ||
273 | * breakpoint.c: DELETE command will not delete CALL_DUMMY breakpoint. | |
274 | * blockframe.c: Add target-independant support for managing | |
275 | CALL_DUMMY frames on the host side. | |
276 | * frame.h: Declarations for generic CALL_DUMMY frame support. | |
277 | * h8300-tdep.c: Add target function calls using generic frame support. | |
278 | * config/h8300/tm-h8300.h: config for generic target function calls. | |
279 | start-sanitize-m32r | |
280 | * m32r-tdep.c: Add target function calls using generic frame support. | |
281 | * config/m32r/tm-m32r.h: config for generic target function calls. | |
282 | end-sanitize-m32r | |
283 | * sh-tdep.c: Add target function calls using generic frame support. | |
284 | * config/sh/tm-sh.h: config for generic target function calls. | |
285 | start-sanitize-v850 | |
286 | * v850-tdep.c: Add target function calls using generic frame support. | |
287 | * config/v850/tm-v850.h: config for generic target function calls. | |
288 | end-sanitize-v850 | |
289 | * valops.c: ADD PUSH_RETURN_ADDRESS so that it doesn't have to be | |
290 | done by PUSH_ARGUMENTS when there's no CALL_DUMMY. | |
291 | ||
96431497 MA |
292 | Tue Nov 26 19:21:35 1996 Mark Alexander <marka@cygnus.com> |
293 | ||
294 | * config/mips/tm-mips.h (ADDR_BITS_REMOVE, TARGET_READ_SP): Define. | |
295 | (mips_addr_bits_remove): Declare. | |
296 | * mips-tdep.c (mips_push_dummy_frame): Fix heuristic-fence-post | |
297 | errors when hitting breakpoints during inferior function calls | |
298 | in 64-bit programs. | |
299 | (fix_sign_extension): Make public, rename to mips_addr_bits_remove. | |
300 | * utils.c (paddr_nz, preg_nz): New functions, similar to | |
301 | paddr and preg but don't print leading zeroes. | |
302 | * defs.h (paddr_nz, preg_nz): Declare. | |
303 | * remote-mips.c: Use paddr_nz instead of paddr throughout | |
304 | to reduce packet size. | |
305 | (pmon_end_download): Improve timeout error handling. | |
306 | ||
8b701284 ILT |
307 | Tue Nov 26 17:21:37 1996 Ian Lance Taylor <ian@cygnus.com> |
308 | ||
309 | * configure: Rebuild with autoconf 2.12. | |
310 | ||
22ba28a5 FF |
311 | Mon Nov 25 13:17:16 1996 Fred Fish <fnf@ninemoons.com> |
312 | ||
313 | From: Paul Eggert <eggert@twinsun.com> | |
314 | * remote-bug.c (wait_strings): Avoid creating a trigraph. | |
315 | ||
316 | start-sanitize-d10v | |
317 | Fri Nov 22 15:55:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
318 | ||
319 | * valops.c (value_at, value_fetch_lazy): Put in D10V call | |
320 | to fix up address pointers. | |
321 | * values.c (value_from_longest): Removed previous d10v changes. | |
322 | * config/d10v/tm-d10v.h (TARGET_PTR_BIT): Change to 4 bytes. | |
323 | ||
324 | end-sanitize-d10v | |
00b45456 PS |
325 | Fri Nov 22 10:06:19 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
326 | ||
327 | * config/i386/nm-i386v4.h (LOSING_POLL): Define, needed for | |
328 | Unixware 1.1.2. | |
329 | ||
ee455463 MA |
330 | Thu Nov 21 19:13:58 1996 Mark Alexander <marka@cygnus.com> |
331 | ||
332 | * mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN. | |
333 | (common_breakpoint): Use paddr instead of %x to print 64-bit values. | |
334 | (heuristic_proc_desc): Add tests for 64-bit instructions. | |
335 | (init_extra_frame_info, mips_push_arguments): Recognize additional | |
336 | registers for EABI. | |
337 | * remote-mips.c: Extend DDB target to allow TFTP downloads. | |
338 | * config/mips/tm-mips.h (MIPS_LAST_ARG_REGNUM, MIPS_NUM_ARG_REGS): | |
339 | Define. | |
340 | ||
d716b33d MH |
341 | Wed Nov 20 19:09:16 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
342 | ||
343 | * infcmd.c (do_registers_info): Call val_print with the | |
344 | virtual buf instead of the raw buf. Needed for REGISTER_CONVERT | |
345 | to work with non-floating point regs. | |
346 | ||
347 | start-sanitize-d10v | |
348 | * d10v-tdep.c (d10v_skip_prologue): If we have line debugging | |
349 | information, then the end of the prologue should the first | |
350 | assembly instruction of the first source line. | |
351 | ||
352 | * values.c (value_from_longest): Put in D10V call to | |
353 | fix up address pointers. | |
354 | ||
355 | * config/d10v/tm-d10v.h (REGISTER_VIRTUAL_SIZE): Modified. | |
356 | (REGISTER_VIRTUAL_TYPE): Modified for PC_REGNUM and SP_REGNUM. | |
357 | (REGISTER_CONVERTIBLE): Make PC and SP convertible. | |
358 | (REGISTER_CONVERT_TO_VIRTUAL): Define. | |
359 | (REGISTER_CONVERT_TO_RAW): Define. | |
360 | (D10V_MAKE_DADDR): Define. | |
361 | (D10V_MAKE_IADDR): Define. | |
362 | end-sanitize-d10v | |
9fb53c4f GN |
363 | Wed Nov 20 16:15:15 1996 Geoffrey Noer <noer@cygnus.com> |
364 | ||
365 | * config/i386/cygwin32.mh: add MMALLOC_CFLAGS = -I$(MMALLOC_SRC) | |
366 | -DMMCHECK_FORCE=1 so memory checks are loaded for cygwin32 gdb | |
367 | ||
4da8b2a5 DE |
368 | Wed Nov 20 00:43:09 1996 Doug Evans <dje@canuck.cygnus.com> |
369 | ||
38012297 SS |
370 | * callback.h: Delete, moved to ../include. |
371 | * callback.c: Delete, moved to ../sim/common. | |
4da8b2a5 DE |
372 | * Makefile.in (SFILES,COMMON_OBJS): Delete callback.[co]. |
373 | (callback.o): Delete rule. | |
38012297 | 374 | * remote-sim.h: No longer include callback.h. |
4da8b2a5 DE |
375 | (sim_callback_write_stdout): Delete prototype. |
376 | * remote-sim.c (init_callbacks,end_callbacks): New functions. | |
377 | (gdb_os_write_stdout, gdb_os_printf_filtered): New functions. | |
378 | (gdb_callback, callbacks_initialized): New static globals. | |
379 | (gdbsim_open): Call init_callbacks. | |
380 | (gdbsim_close): Call end_callbacks. | |
381 | (simulator_command): Call init_callbacks. | |
382 | ||
cd6dfa93 DE |
383 | * config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a. |
384 | * config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a. | |
385 | ||
a5a6e3bd | 386 | start-sanitize-gdbtk |
bd45f82f TT |
387 | Tue Nov 19 09:26:14 1996 Tom Tromey <tromey@cygnus.com> |
388 | ||
389 | * gdbtk.c (gdbtk_readline): Fix memory leak. | |
390 | ||
a5a6e3bd TT |
391 | Mon Nov 18 23:43:05 1996 Tom Tromey <tromey@cygnus.com> |
392 | ||
393 | Fixes for Tcl 7.6 / Tk 4.2: | |
394 | * gdbtk.tcl (apply_filespec): Use tk_getOpenFile. | |
38012297 SS |
395 | Remove old fileselect code. |
396 | * gdbtk.c (Tcl_Alloc): Rename from Tcl_Malloc. | |
a5a6e3bd TT |
397 | |
398 | end-sanitize-gdbtk | |
692a601f JW |
399 | Mon Nov 18 15:58:05 1996 Jim Wilson <wilson@cygnus.com> |
400 | ||
401 | * config/mips/tm-mips.h (FIX_CALL_DUMMY): Change unsigned LONGEST | |
402 | to ULONGEST. | |
403 | ||
e172af81 FF |
404 | Fri Nov 15 15:34:18 1996 Fred Fish <fnf@cygnus.com> |
405 | ||
406 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
407 | * procfs.c (wait_fd): Handle EINTR error return from poll | |
408 | by restarting the poll. | |
409 | * defs.h (PIDGET): Define a default version that just | |
410 | returns its argument unchanged. | |
411 | * inflow.c (terminal_init_inferior): Eliminate #ifdef | |
412 | of PIDGET and fold both alternatives into common code. | |
413 | (pass_signal): Use PIDGET for pid passed to kill(). | |
414 | ||
9ef5835a MM |
415 | Thu Nov 14 15:54:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
416 | ||
9f7f9710 MM |
417 | * utils.c (paddr,preg): Use a static variable initialized to 32 |
418 | instead of doing addr>>32 to eliminate a warning produced by GCC | |
419 | on 32-bit systems. | |
420 | ||
38012297 | 421 | start-sanitize-d10v |
9ef5835a MM |
422 | * config/d10v/tm-d10v.h (ULONGEST): Define. |
423 | ||
38012297 | 424 | end-sanitize-d10v |
9ef5835a MM |
425 | Tue Nov 12 12:25:27 1996 Jim Wilson <wilson@cygnus.com> |
426 | ||
427 | * c-typeprint.c (cp_type_print_method_args): Pass -1 for show in | |
428 | recursive call to type_print. | |
429 | ||
119dfbb7 JW |
430 | Tue Nov 12 12:18:29 1996 Jim Wilson <wilson@cygnus.com> |
431 | ||
432 | * defs.h (ULONGEST): New macro. | |
433 | * alpha-tdep.c, breakpoint.c, c-exp.y, ch-exp.c, convex-xdep.c, | |
434 | corefile.c, defs.h, f-exp.y, findvar.c, gdbcore.h, m2-exp.y, | |
435 | m88k-tdep.c, printcmd.c, remote-hms.c, remote-mips.c, sparc-tdep.c, | |
436 | valarith.c, valops.c, values.c, config/gould/tm-np1.h, | |
437 | config/mips/tm-mips.h, mswin/prebuilt/gdb/cexptab.c, | |
438 | mswin/prebuilt/gdb/fexptab.c, mswin/prebuilt/gdb/m2exptab.c: | |
439 | Change all occurances of unsigned LONGEST to ULONGEST. | |
440 | ||
441 | * configure.host (mips-sgi-irix6): Add. | |
442 | ||
69992fc8 MS |
443 | Tue Nov 12 12:16:40 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
444 | ||
445 | * sh-tdep.c: Add functionality for target function calls. | |
446 | * config/sh/tm-sh.h: Add support for target function calls. | |
447 | ||
6f3eea2b MS |
448 | start-sanitize-m32r |
449 | Tue Nov 12 12:06:58 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
450 | ||
69992fc8 MS |
451 | * m32r-tdep.c: Add functionality for target function calls. |
452 | * valops.c: Small change to support target function calls. | |
453 | * config/m32r/tm-m32r.h: Add support for target function calls. | |
6f3eea2b MS |
454 | end-sanitize-m32r |
455 | ||
cad9cd60 GN |
456 | Mon Nov 11 17:15:59 1996 Geoffrey Noer <noer@cygnus.com> |
457 | ||
38012297 SS |
458 | * defs.h: Modify Nov 11 12:59:00 change so _MSC_VER is checked |
459 | instead of _WIN32. | |
460 | * win32-nat.c: Fix Nov 11 12:59:00 change (windows.h should | |
cad9cd60 GN |
461 | be included instead of windefs.h for compilers other than |
462 | VC++). | |
38012297 SS |
463 | * mswin/windefs.h: Remove ^Ms and change C++ style comments |
464 | to C style comments. | |
cad9cd60 | 465 | |
57821e0c MA |
466 | Mon Nov 11 14:32:38 1996 Mark Alexander <marka@cygnus.com> |
467 | ||
468 | * utils.c (get_cell): Fix off-by-one bug. | |
469 | * mips-tdep.c (get_frame_pointer, fix_sign_extension): | |
470 | New functions to consolidate common code. | |
471 | (mips_frame_chain, init_extra_frame_info): Use new functions | |
472 | to fix problems with backtrace and finish commands on ddb board. | |
28444bf3 DP |
473 | |
474 | Mon Nov 11 12:59:00 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
475 | ||
476 | * mips-tdep.c, remote-mips.c, values.c, mdebugread.c, | |
477 | config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support. | |
38012297 | 478 | * defs.h: Cleanup; add prototypes. |
28444bf3 DP |
479 | * corefile.c: Change FIXME #ifdef |
480 | * win32-nat.c: Include windefs instead of windows.h. | |
481 | * utils.c: Add routines for printing addresses and registers | |
482 | based on type size. | |
483 | ||
074d813d PS |
484 | Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
485 | ||
486 | * alpha-tdep.c (heuristic_proc_desc): Stop examining the prologue | |
487 | if we encounter a positive stack adjustment. | |
488 | (find_proc_desc): If heuristic_fence_post is non-zero, use | |
489 | heuristic_proc_start to determine the start of a function before | |
490 | calling heuristic_proc_desc. | |
491 | ||
492 | * coffread.c (coff_symtab_read): Change minimal symbol types | |
493 | for C_LABEL symbols from mst_* to mst_file_*. | |
494 | ||
495 | * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. | |
496 | ||
497 | * configure.in: Handle error message from sun3 native ld when | |
498 | configuring HLDFLAGS. | |
499 | * configure: Regenerated with autoconf. | |
500 | ||
501 | * c-valprint.c (c_value_print): Adjust value address by VALUE_OFFSET. | |
502 | * cp-valprint.c (cp_print_value): Prevent gdb crashes by making sure | |
503 | that the virtual base pointer from an user object still points to | |
504 | accessible memory. | |
505 | ||
506 | * dbxread.c (dbx_symfile_init): Initialize sym_stab_info to | |
507 | clear the recently added header_files fields. | |
508 | (dbx_symfile_finish): Free hfiles[i].vector to avoid storage leak. | |
509 | ||
4dc42997 MS |
510 | Fri Nov 8 14:30:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
511 | ||
38012297 SS |
512 | * config/tm-sh.h: Added a missing comma in middle of |
513 | REGISTER_NAMES list. | |
4dc42997 | 514 | |
07997f65 SS |
515 | Fri Nov 8 12:29:51 1996 Stan Shebs <shebs@andros.cygnus.com> |
516 | ||
944257d4 SS |
517 | * monitor.c: Fix some formatting and comments. |
518 | ||
07997f65 SS |
519 | * remote-sim.c (simulator_command): Set up callbacks before |
520 | entering the simulator. | |
521 | ||
81a6f5b2 MH |
522 | start-sanitize-d10v |
523 | Thu Nov 7 15:19:08 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
524 | ||
525 | * d10v-tdep.c: Fix some problems with inferior function calls. | |
526 | * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Change dummy to be | |
527 | a pointer to the dummy's stack instead of just a flag. | |
528 | ||
529 | end-sanitize-d10v | |
e1703d1f MS |
530 | start-sanitize-m32r |
531 | Tue Nov 5 10:21:02 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
532 | ||
533 | * m32r-tdep.c: Improved frame_chain and fn prologue analysis. | |
534 | * config/tm-m32r.h: Add framesize and register to extra_frame_info. | |
535 | end-sanitize-m32r | |
536 | ||
7af1bcd6 SG |
537 | Tue Nov 5 10:08:07 1996 Stu Grossman (grossman@critters.cygnus.com) |
538 | ||
539 | * mswin/gdbwin.h: Remove bogus definition of CORE_ADDR. | |
540 | * mswin/srcwin.cpp (CSrcScroll1::CSrcScroll1): Initialize depth | |
541 | to fix divide-by-zero problem with clicking on source window. | |
542 | ||
237fa47e SG |
543 | Mon Nov 4 00:48:37 1996 Stu Grossman (grossman@critters.cygnus.com) |
544 | ||
9356d50d | 545 | * mswin/recordit: Fix problem with absolute paths. |
237fa47e SG |
546 | * mswin/recordit: Fix problem with relative paths. |
547 | ||
0f6e2984 SG |
548 | Sun Nov 3 18:06:42 1996 Stu Grossman (grossman@critters.cygnus.com) |
549 | ||
550 | * mswin/{Makefile.in configure configure.in}: New files for | |
551 | configuring wingdb under Unix. | |
552 | ||
73b8e6a9 PS |
553 | Sat Nov 2 03:54:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
554 | ||
555 | * irix5-nat.c, osfsolib.c, solib.c (symbol_add_stub): Handle | |
556 | missing or zero-sized .text sections properly. | |
557 | * mdebugread.c: Handle scRConst and scSUndefined storage classes. | |
558 | * stabsread.c (scan_file_globals): Try to resolve symbols | |
559 | for shared libraries from the minimal symbol table of the main | |
560 | executable first. | |
561 | ||
21260fe1 MH |
562 | start-sanitize-d10v |
563 | Fri Nov 1 13:59:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
564 | ||
565 | * d10v-tdep.c, config/d10v/tm-d10v.h: Major fixes to support | |
566 | inferior function calls and proper stack backtracing on D10V-EVA | |
567 | board. | |
568 | ||
569 | end-sanitize-d10v | |
5db7cc25 MM |
570 | Fri Nov 1 10:50:51 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
571 | ||
572 | * config/powerpc/linux.mh (NATDEPFILES): Fix up things so that it | |
573 | links. | |
574 | (GDBSERVER_DEPFILES,TERMCAP): Ditto. | |
575 | ||
576 | * monitor.c (dev_name,targ_ops): Move static variables before | |
577 | first use, to avoid compiler warnings. | |
578 | ||
70ab088d | 579 | start-sanitize-m32r |
8665f3dc MS |
580 | Thu Oct 31 16:37:17 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
581 | ||
582 | * m32r-tdep.c: Improved frame_chain and fn prologue analysis. | |
583 | * configure.tgt: Add entry for m32r target. | |
584 | * monitor.h: Add a flag to tell monitor_store_register to use | |
585 | (val, regno) instead of (regno, val). | |
586 | * monitor.c: Make monitor_store_register honor the above flag. | |
587 | Make monitor_exp ignore DC1/DC3 for m32r. | |
588 | Increase buf size in monitor_dump_regs. | |
589 | ||
70ab088d MS |
590 | Wed Oct 30 18:14:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
591 | ||
592 | * m32r-tdep.c, m32r-rom.c: New files. | |
593 | * config/m32r/m32r.mt: New file. | |
594 | * config/m32r/tm-m32r.h: New file. | |
595 | end-sanitize-m32r | |
596 | ||
ea5c2d66 GN |
597 | Tue Oct 29 16:56:01 1996 Geoffrey Noer <noer@cygnus.com> |
598 | ||
599 | * config/i386/xm-cygwin32.h: | |
600 | * config/powerpc/xm-cygwin32.h: | |
601 | add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly | |
70ab088d | 602 | truncated. |
ea5c2d66 | 603 | |
3f740173 MM |
604 | Tue Oct 29 18:36:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
605 | ||
606 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE): | |
607 | Define. | |
608 | ||
62c0cf24 SS |
609 | Tue Oct 29 14:59:20 1996 Stan Shebs <shebs@andros.cygnus.com> |
610 | ||
611 | * TODO: Add item suggesting an "info bfd" command. | |
612 | ||
19414cdf MH |
613 | start-sanitize-d10v |
614 | Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
615 | ||
616 | * d10v-tdep.c: Snapshot that supports D10V-EVA board. | |
617 | ||
618 | * config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap. | |
619 | (TARGET_READ_FP,TARGET_WRITE_FP): Define. | |
620 | ||
621 | end-sanitize-d10v | |
cb5e6e68 SG |
622 | Mon Oct 28 17:34:24 1996 Stu Grossman (grossman@critters.cygnus.com) |
623 | ||
624 | * mswin/genmakes mswin/recordit: New scripts to generate make | |
625 | files for MSVC. | |
626 | ||
627 | Sun Oct 27 20:18:04 1996 Mark Alexander <marka@cygnus.com> | |
628 | ||
629 | * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}: | |
630 | New files. | |
631 | * configure.tgt: Modify cases for vr5000 to use new files. | |
632 | ||
1cb1b16c PS |
633 | Sat Oct 26 07:15:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
634 | ||
635 | * config/alpha/alpha-osf3.mh (XM_CLIBS): Add -lm for OSF/1-4.0. | |
636 | ||
637 | * procfs.c (proc_set_exec_trap): Under Alpha OSF/1-4.0, tracing | |
638 | the entry to the exit system call to detect termination of the | |
639 | inferior stopped working. Trace termination of the inferior via | |
640 | PRFS_STOPTERM instead. | |
641 | (procfs_init_inferior): Do not trace entry to exit system call | |
642 | if PIOCSSPCACT is defined. | |
643 | (procfs_wait): Handle PR_DEAD event, which signals the termination | |
644 | of the inferior if PRFS_STOPTERM is set. | |
645 | ||
646 | * mdebugread.c (parse_partial_symbols): Ignore stNil section | |
647 | start address symbols. | |
648 | ||
649 | * sparc-tdep.c (get_saved_register): Get saved PC from the | |
650 | frame info if not in innermost frame. | |
651 | ||
652 | Thu Oct 24 10:51:45 1996 Mark Alexander <marka@cygnus.com> | |
653 | ||
654 | * dbxread.c (process_one_symbol): Interpret end-of-function | |
655 | markers correctly; this fixes problem on Vr5000 where all | |
656 | functions in a module had the same address. | |
657 | * configure.in, configure.tgt, configure.host, gdbserver/configure.in: | |
658 | Correct for pc-linux-gnu problem in config.guess. | |
659 | * configure: Regenerate. | |
660 | ||
139e2c0f SG |
661 | Thu Oct 24 10:06:58 1996 Stu Grossman (grossman@critters.cygnus.com) |
662 | ||
663 | * dbxread.c: Don't swap symbols in place, since internal and | |
664 | external forms may have different sizes. Don't assume that an | |
665 | internal_nlist has the same layout as an external_nlist. Create | |
666 | symbol for n_strx element so to hide specifics of nlist from | |
667 | partial-stab.h. | |
668 | * partial-stab.h: Don't reference dbxread symbols directly. Use | |
669 | CUR_SYMBOL_STRX instead. | |
670 | * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP. | |
671 | ||
672 | start-sanitize-v850 | |
673 | * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for | |
674 | MSVC builds. | |
675 | * mswin/gdbwin.c (reg_order): Define register order for V850. | |
676 | * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for | |
677 | V850. | |
678 | * mswin/regdoc.h: Define MAXREGS for V850. | |
679 | end-sanitize-v850 | |
a638512f SG |
680 | start-sanitize-v850 |
681 | Tue Oct 22 16:28:20 1996 Stu Grossman (grossman@critters.cygnus.com) | |
682 | ||
683 | * v850-tdep.c (scan_prologue): Changes to deal with scheduled | |
684 | prologues correctly. First, prologue end is now defined by | |
685 | presence of a branch, jump or call insn. Second, can no longer | |
686 | fix frame offsets because we may not know the offset until after a | |
687 | register has been saved. | |
688 | * (v850_init_extra_frame_info): Fixup frame offsets here because | |
689 | we have all the info at this time. | |
690 | * (v850_frame_chain): Use new calling convention for scan_prologue. | |
691 | ||
692 | end-sanitize-v850 | |
fcabf676 MH |
693 | start-sanitize-d10v |
694 | Tue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
695 | ||
696 | * d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack | |
697 | backtraces and inferior function calls. | |
698 | ||
699 | end-sanitize-d10v | |
5efcbe36 SS |
700 | Tue Oct 22 10:32:46 1996 Stan Shebs <shebs@andros.cygnus.com> |
701 | ||
702 | * mpw-make.sed: Update init.c editing to work with Oct 8 change. | |
703 | (@HLDFLAGS@): Always edit out. | |
704 | ||
d8831024 MA |
705 | Mon Oct 21 18:17:08 1996 Mark Alexander <marka@cygnus.com> |
706 | ||
707 | * mdebugread.c (parse_partial_symbols): Fix 64-bit | |
708 | sign-extension problems in calculating psymtab addresses. | |
709 | * buildsym.c (end_symtab): Use macro to pop context. | |
710 | ||
53845f94 | 711 | start-sanitize-v850 |
23da411a SG |
712 | Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com) |
713 | ||
714 | * v850-tdep.c: Cleanup lots of things. Add many comments. | |
23da411a | 715 | |
53845f94 SG |
716 | * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix |
717 | sign bugs with scanning prologues. Get a little smarter about | |
718 | calculating the length of uninteresting instructions. | |
719 | ||
a638512f | 720 | end-sanitize-v850 |
62dd860e MS |
721 | Mon Oct 21 14:01:38 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
722 | ||
723 | * top.c: Add new commands "set annotate" and "show annotate". | |
724 | ||
972256e7 PS |
725 | Sun Oct 20 04:38:39 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
726 | ||
727 | * corelow.c (core_close): Clear inferior_pid only if there is | |
728 | an open core_bfd. | |
729 | ||
730 | * cp-valprint.c (cp_print_value_fields): Pass correct address | |
731 | to val_print, not 0. | |
732 | ||
733 | From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de): | |
734 | * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase | |
735 | typedefs before checking for integral type of right operand. | |
736 | ||
91d12e12 MA |
737 | Fri Oct 18 17:26:22 1996 Mark Alexander <marka@cygnus.com> |
738 | ||
739 | * mdebugread.c (parse_symbol): Fix crash when malloc has | |
740 | no type info and void type has no associated pointer type. | |
741 | ||
943e243c SS |
742 | Thu Oct 17 18:18:20 1996 Stan Shebs <shebs@andros.cygnus.com> |
743 | ||
744 | * configure.host: New file, host configuration mapping. | |
745 | * configure.tgt: New file, target configuration mapping. | |
746 | * configure.in: Remove host and target mapping. | |
747 | * configure: Rebuild. | |
748 | ||
93ed453c SS |
749 | Wed Oct 16 17:46:03 1996 Stan Shebs <shebs@andros.cygnus.com> |
750 | ||
751 | * breakpoint.c (must_shift_inst_regs): New global. | |
752 | (bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into | |
753 | equivalent expression uses. | |
754 | * infrun.c (wait_for_inferior): Ditto. | |
755 | ||
687f4e23 SG |
756 | start-sanitize-v850 |
757 | Wed Oct 16 01:53:43 1996 Stu Grossman (grossman@critters.cygnus.com) | |
758 | ||
759 | * v850-tdep.c (v850_push_arguments): Use symbolic names for arg | |
760 | registers. | |
761 | * config/v850/tm-v850.h: Change FP to 29. Define arg regs. | |
762 | ||
763 | end-sanitize-v850 | |
ac954805 SG |
764 | Tue Oct 15 16:30:07 1996 Stu Grossman (grossman@critters.cygnus.com) |
765 | ||
9bf9a318 SG |
766 | * Makefile.in (init.c): Don't use -s option with grep. It means |
767 | something different under Digital Unix. | |
768 | ||
ac954805 SG |
769 | * buildsym.c (finish_block): Treat LOC_BASEREG_ARG and |
770 | LOC_LOCAL_ARG as arguments so that GDB will know about function | |
771 | args declared this way. Mostly affects dwarf. | |
772 | * dwarfread.c (decode_die_type): Change default type from int to | |
773 | void. This allows GDB to recognize void functions. | |
774 | * (new_symbol): If AT_PROTOTYPED is present, set a flag in the | |
775 | type structure. | |
776 | * findvar.c (extract_floating store_floating): Clean up comments | |
777 | to reflect reality. | |
778 | * gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a | |
779 | function has a prototype. Currently, only dwarf supports this. | |
780 | * utils.c (floatformat_from_doublest): Fix logic error with | |
781 | converting from double to float. (It wasn't shifting mant_long if | |
782 | it had a hidden bit.) | |
783 | ||
784 | start-sanitize-v850 | |
785 | * v850-tdep.c: Add support for function calling. Fix some | |
786 | problems with debugging code w/o debug symbols. | |
787 | * config/v850/tm-v850.h: Ditto. | |
687f4e23 | 788 | |
ac954805 | 789 | end-sanitize-v850 |
03e2a8c8 ILT |
790 | Tue Oct 15 18:19:42 1996 Ian Lance Taylor <ian@cygnus.com> |
791 | ||
792 | * utils.c: Always ensure that size_t is defined. Check | |
793 | HAVE_STDDEF_H rather than __STDC__ | |
794 | (xmalloc, xrealloc): Use size_t rather than long. | |
795 | ||
3f3d60c1 MH |
796 | Tue Oct 15 14:24:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
797 | ||
798 | * config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets | |
799 | can use single-step commands. | |
800 | ||
801 | Sun Oct 13 11:38:25 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
802 | ||
803 | * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero, | |
804 | follow typedefs before checking TYPE_CODE for structures and unions. | |
805 | ||
e5a2ac8b SG |
806 | Fri Oct 11 15:43:54 1996 Stu Grossman (grossman@critters.cygnus.com) |
807 | ||
ac954805 SG |
808 | * frame.h: Move definition of struct frame_saved_regs to before |
809 | struct frame to make it possible to use frame_saved_regs in | |
e5a2ac8b SG |
810 | EXTRA_FRAME_INFO macro. |
811 | ||
812 | start-sanitize-v850 | |
813 | * v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and | |
814 | macros to make frame operations (such as backtrace) work. | |
815 | ||
816 | end-sanitize-v850 | |
693e9bf6 FF |
817 | Fri Oct 11 14:23:50 1996 Fred Fish <fnf@cygnus.com> |
818 | ||
819 | * dbxread.c (process_one_symbol): Check for null string directly | |
820 | rather than using strcmp against "". | |
821 | * partial-stab.h: Ditto. | |
822 | ||
913a7c4c MA |
823 | Fri Oct 11 12:18:32 1996 Mark Alexander <marka@cygnus.com> |
824 | ||
825 | * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}: | |
826 | Make it compile on Linux and eliminate some warnings. | |
827 | ||
e96dc1f7 SG |
828 | Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com) |
829 | ||
830 | * Makefile.in (init.c): Fixup final sed script to work around | |
831 | Linux bug with `p' operator. | |
832 | ||
5dad8312 SS |
833 | Wed Oct 9 18:02:48 1996 Stan Shebs <shebs@andros.cygnus.com> |
834 | ||
835 | * remote-mips.c: Use the correct name everywhere (DDB) for NEC's | |
836 | VR4300 target. | |
837 | (ddb_ops, pmon_ops): Fix the documentation strings. | |
838 | ||
5faa6e1e SG |
839 | Wed Oct 9 07:42:44 1996 Stu Grossman (grossman@critters.cygnus.com) |
840 | ||
841 | * Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip | |
842 | filenames with sed instead. | |
843 | ||
99283e87 SG |
844 | Tue Oct 8 15:59:44 1996 Stu Grossman (grossman@critters.cygnus.com) |
845 | ||
846 | * defs.h: Remove decls of xmalloc and xrealloc. There is a | |
847 | conflicting definition in libiberty.h. | |
848 | ||
a7f56d5a FF |
849 | Tue Oct 8 11:47:13 1996 Fred Fish <fnf@cygnus.com> |
850 | ||
851 | * dbxread.c (dbx_symfile_read): Call free_pending_blocks rather | |
852 | than poking global variable (which is now static). | |
853 | * hpread.c (hpread_build_psymtabs): Ditto. | |
854 | * os9kread.c (os9k_symfile_read): Ditto. | |
855 | * xcoffread.c (xcoff_initial_scan): Ditto. | |
856 | ||
857 | * buildsym.h (free_pending_blocks): Declare here. | |
858 | (pending_blocks): Remove declaration of global symbol. | |
859 | (free_pendings): Remove declaration of global symbol. | |
860 | (make_blockvector): Declare here. | |
861 | (record_pending_block): Declare here. | |
862 | ||
863 | * dstread.c (make_blockvector): Remove static copy that was old | |
864 | clone of version in buildsym.c. | |
865 | (process_dst_block): Call record_pending_block rather than doing | |
866 | it by hand. | |
867 | (read_dst_symtab): Ditto. | |
868 | ||
869 | * buildsym.c (make_blockvector): Make global rather than static, | |
870 | (record_pending_block): New function, code moved from finish_block. | |
871 | (finish_block): Use record_pending_block. | |
872 | (free_pending_blocks): New function. | |
873 | (really_free_pendings): Call free_pending_blocks. | |
874 | (pending_blocks): Make static instead of global. | |
875 | (free_pendings): Make static instead of global. | |
876 | ||
5d394f70 SG |
877 | Tue Oct 8 09:03:22 1996 Stu Grossman (grossman@critters.cygnus.com) |
878 | ||
8a5c77a1 SG |
879 | * config/i386/windows.mh config/i386/xm-windows.h:: New config |
880 | files to support building Wingdb (built under Microsoft build | |
881 | environment). | |
882 | ||
5d394f70 SG |
883 | * Makefile.in: Add rule for hpux-thread.o (needs special header |
884 | files). | |
885 | * (SUBDIRS): Remove mswin. | |
886 | * Change procedure for creating init.c. Speeds things up quite a | |
887 | bit. | |
888 | * config.in configure configure.in: Check for select, poll. | |
889 | * Check for OSF header files before including hpux-thread.o. | |
890 | * Don't configure doc or testsuite when building under MSVC. | |
891 | * findvar.c value.h (read_register_pid write_register_pid): Make | |
892 | global. Needed for hppa-tdep.c. | |
893 | * (supply_register): Don't set pid to inferior_pid when supplying | |
894 | registers. | |
895 | * hppa-tdep.c (saved_pc_after_call): frame_saved_pc -> | |
896 | FRAME_SAVED_PC. | |
897 | * (frame_saved_pc): Change name to hppa_frame_saved_pc. | |
898 | * (hppa_pop_frame): Don't use a pid of 0 with target_write_pc. | |
899 | Use write_pc instead, which uses the correct pid. | |
900 | * (target_read_pc target_write_pc): Use read/write_register_pid | |
901 | instead of read/write_register to preserve the pid passed in. | |
902 | * inftarg.c (child_can_run): Add flag child_suppress_run to allow | |
903 | hpux-threads.c to override this as a runnable target. | |
904 | * config/pa/nm-hppah.h: Define target_new_objfile and | |
905 | target_pid_to_str. | |
906 | * config/pa/tm-hppa.h (FRAME_SAVED_PC): Use hppa_frame_saved_pc | |
907 | instead of frame_saved_pc. | |
908 | * config/m68k/tm-m68k.h: Define TARGET_M68K for Wingdb. | |
909 | * config/m68k/tm-monitor.h: Use FRAME_CHAIN_VALID_ALTERNATE, since | |
910 | we can't easily determine the start file bounds with ELF. | |
911 | * config/mips/tm-mips.h: Define TARGET_MIPS for Wingdb. | |
912 | * hpux-thread.c: New file for HPUX/OSF thread support. | |
913 | * osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h | |
914 | RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h | |
915 | cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h | |
916 | cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h | |
917 | cma_stack_int.h cma_tcb_defs.h cma_util.h}: New files for OSF | |
918 | thread support. | |
919 | ||
73369488 FF |
920 | Sun Oct 6 15:48:09 1996 Fred Fish <fnf@cygnus.com> |
921 | ||
922 | * buildsym.c (finish_block): Change innerblock_anon_complaint to | |
923 | print the addresses as part of the complaint. Add a complaint for | |
924 | cases where the block end address is smaller than the block start | |
925 | address, in case any such conditions slip through our fixup mechanism. | |
926 | * symmisc.c (dump_symtab): Only print blockvector for primary | |
927 | symtabs, to avoid massive duplication of output due to secondary | |
928 | symtabs that point to same blockvector. Also do some minor | |
929 | formatting tweaks. | |
930 | ||
7f8da359 PB |
931 | Mon Oct 7 10:42:32 1996 Per Bothner <bothner@deneb.cygnus.com> |
932 | ||
933 | Replace header_files global by per-objfile field. | |
934 | * gdb-stabs.h (struct dbx_symfile_info): Add fields header_files, | |
935 | n_header_files, n_allocated_header_files. | |
936 | * stabsread.h (header_files, n_header_files, n_allocated_header_files): | |
937 | Replace externs by macros HEADER_FILES, N_HEADER_FILES, and | |
938 | N_ALLOCATED_HEADER_FILES. | |
939 | * dbxread.c (dbx_symfile_finish): Free HEADER_FILES. | |
940 | (free_header_files, init_header-files): Don't free/init headerfiles. | |
941 | (various functions): Use macros instead of header_files globals. | |
942 | * stabsread.c (various functions): Likewise. | |
943 | ||
e61a754e JM |
944 | Sun Oct 6 22:43:06 1996 Jason Merrill <jason@yorick.cygnus.com> |
945 | ||
946 | * dwarf2read.c (read_tag_reference_type): New fn. | |
947 | (read_type_die): Call it. | |
948 | (dwarf_attr): Also look in the DIEs referred to by specification | |
949 | or abstract_origin attributes. | |
950 | ||
5bb23a95 FF |
951 | Wed Oct 2 22:07:16 1996 Fred Fish <fnf@cygnus.com> |
952 | ||
953 | * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and | |
954 | SIGTRAMP_END. | |
955 | * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END): | |
956 | Define with dummy pc arg. | |
957 | * config/m68k/tm-nbsd.h: Ditto. | |
958 | * doc/gdbint.texinfo: Document that SIGTRAMP_START and | |
959 | SIGTRAMP_END are macros that take an single argument. | |
960 | ||
b51843d8 FF |
961 | Mon Sep 30 20:02:45 1996 Fred Fish <fnf@cygnus.com> |
962 | ||
963 | * defs.h: Remove define of PRIVATE_XMALLOC. | |
964 | ||
b51843d8 FF |
965 | start-sanitize-v850 |
966 | Mon Sep 30 15:39:28 1996 Stu Grossman (grossman@critters.cygnus.com) | |
967 | ||
968 | * config/v850/tm-v850.h: Use distinct register for PC, not EIPC. | |
969 | ||
970 | end-sanitize-v850 | |
e20c36ba JL |
971 | Mon Sep 30 11:16:34 1996 Jeffrey A Law (law@cygnus.com) |
972 | ||
973 | * top.c (execute_control_command): Free values from while_control | |
974 | and if_control conditions after evaluation to avoid storage leaks. | |
975 | From Peter Schauer. | |
976 | ||
e2810631 SG |
977 | start-sanitize-v850 |
978 | Fri Sep 27 17:43:06 1996 Stu Grossman (grossman@critters.cygnus.com) | |
979 | ||
1fa83dcd | 980 | * configure configure.in: Recognize v850 target. |
e2810631 SG |
981 | * v850-tdep.c: New file, NEC V850 target support. |
982 | * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support. | |
983 | ||
984 | end-sanitize-v850 | |
be23e5a4 PS |
985 | Fri Sep 27 14:48:15 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
986 | ||
987 | * infrun.c (wait_for_inferior): Update current_line and | |
988 | current_symtab when stepping continues in the middle of a new line. | |
989 | ||
50140ab2 FF |
990 | Fri Sep 27 10:25:30 1996 Fred Fish <fnf@cygnus.com> |
991 | ||
992 | * top.c (print_gdb_version): Rewrote to comply with new GNU coding | |
993 | standards for the --version option. | |
994 | (print_gnu_advertisement): Remove, now part of print_gdb_version. | |
995 | (show_version): Remove call to print_gnu_advertisement. | |
996 | * top.h (print_gnu_advertisement): Remove prototype. | |
997 | * main.c (print_gdb_help): Move help to static function and | |
998 | add prototype. | |
999 | (main): Call print_gdb_help rather than inlining it. | |
1000 | (main): Remove call to print_gnu_advertisement. | |
1001 | start-sanitize-gdbtk | |
1002 | * gdbtk.tcl (create_copyright_window): Increase timeout from | |
1003 | 15 seconds to 30 seconds. | |
1004 | end-sanitize-gdbtk | |
1005 | ||
d266afa9 MM |
1006 | start-sanitize-d10v |
1007 | Fri Sep 27 13:32:53 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1008 | ||
1009 | * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define. | |
fb0097a0 | 1010 | (TARGET_{,LONG_}DOUBLE_BIT): Ditto. |
d266afa9 MM |
1011 | |
1012 | end-sanitize-d10v | |
54225fd0 MA |
1013 | Thu Sep 26 23:10:26 1996 Mark Alexander <marka@cygnus.com> |
1014 | ||
1015 | * configure.in, config/i386/tm-linux.h: Fix configure | |
1016 | problem on older Linux systems that prevented core files | |
1017 | from being recognized. | |
1018 | ||
1019 | Wed Sep 25 18:31:33 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1020 | ||
1021 | * dbug-rom.c: New file, support for Motorola's dBUG monitor. | |
1022 | * config/m68k/monitor.mt (TDEPFILES): Add it. | |
1023 | * NEWS: Mention it. | |
1024 | ||
1025 | start-sanitize-d10v | |
1026 | Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1027 | ||
1028 | * config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed. | |
1029 | Now single-steps correctly. | |
1030 | * d10v-tdep.c (d10v_pop_frame): Fixed. | |
1031 | ||
1032 | end-sanitize-d10v | |
12ffa10c SS |
1033 | Fri Sep 20 16:10:58 1996 Stan Shebs <shebs@andros.cygnus.com> |
1034 | ||
1035 | * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to | |
1036 | be consistent with GCC. | |
1037 | (FPUL_REGNUM, etc): Renumber to match list changes. | |
1038 | (ADDR_BITS_REMOVE): Delete. | |
1039 | * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names): | |
1040 | Rearrange to match REGISTER_NAMES. | |
1041 | * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto. | |
1042 | ||
e05bda9f | 1043 | start-sanitize-d10v |
81dc176f MH |
1044 | Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
1045 | ||
1046 | * d10v-tdep.c: Stack chain should work now. | |
1047 | ||
e05bda9f MH |
1048 | Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
1049 | ||
1050 | * d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot. | |
1051 | ||
1052 | end-sanitize-d10v | |
88907d73 ILT |
1053 | Tue Sep 17 12:20:50 1996 Ian Lance Taylor <ian@cygnus.com> |
1054 | ||
1055 | * configure.in: Add cases for MIPS 5000 like MIPS 4300. | |
1056 | * configure: Rebuild. | |
1057 | ||
5b59224e DP |
1058 | Tue Sep 17 12:09:00 1996 Dawn Perchik <dawn@critters.cygnus.com> |
1059 | ||
1060 | * ser-e7kpc.c: Added wingdb support for target e7000pc. | |
1061 | ||
1062 | Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk> | |
1063 | ||
5dad8312 | 1064 | * remote-mips.c (pmon_wait): DDB PMON does not require forced |
5b59224e DP |
1065 | re-entry back into debug mode. |
1066 | ||
aeb8f981 JSC |
1067 | Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk> |
1068 | ||
1069 | * remote-mips.c (mips_load): Ensure that the PC is explicitly | |
5dad8312 | 1070 | loaded after a load to a DDB PMON system. |
aeb8f981 | 1071 | |
1d5eb137 FF |
1072 | Fri Sep 13 12:02:39 1996 Fred Fish <fnf@cygnus.com> |
1073 | ||
1074 | * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list. | |
1075 | (HLDENV): Set to @HLDENV@. | |
1076 | (gdb): Prefix link command line with $(HLDENV). | |
1077 | * configure.in: Add support to test for --enable-shared and | |
1078 | generate appropriate values for HLDFLAGS and HLDENV. | |
1079 | * configure: Regenerated with autoconf. | |
1080 | ||
948a9d92 FF |
1081 | Sun Sep 8 15:26:27 1996 Fred Fish <fnf@cygnus.com> |
1082 | ||
1083 | * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype | |
1084 | change for core_read_registers in struct core_fns. | |
1085 | * core-regset.c (fetch_core_registers): Ditto & add prototype. | |
1086 | * core-sol2.c (fetch_core_registers): Ditto & add prototype. | |
1087 | * i386aix-nat.c (fetch_core_registers): Ditto & add prototype. | |
1088 | * i386b-nat.c (fetch_core_registers): Ditto. | |
1089 | * i386mach-nat.c (fetch_core_registers): Ditto & add prototype. | |
1090 | * irix4-nat.c (fetch_core_registers): Ditto. | |
1091 | * irix5-nat.c (fetch_core_registers): Ditto. | |
1092 | * lynx-nat.c (fetch_core_registers): Ditto & add prototype. | |
1093 | * m68knbsd-nat.c (fetch_core_registers): Ditto. | |
1094 | * mips-nat.c (fetch_core_registers): Ditto & add prototype. | |
1095 | * rs6000-nat.c (fetch_core_registers): Ditto. | |
1096 | * sparc-nat.c (fetch_core_registers): Ditto. | |
1097 | * sun3-nat.c (fetch_core_registers): Ditto & add prototype. | |
1098 | * ultra3-nat.c (fetch_core_registers): Ditto & add prototype. | |
1099 | ||
1100 | * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change. | |
1101 | * delta68-nat.c (register_addr): Ditto. | |
1102 | * gdbserver/low-linux.c (register_addr): Ditto. | |
1103 | * gdbserver/low-hppabsd.c (register_addr): Ditto. | |
1104 | * i386m3-nat.c (register_addr): Ditto. | |
1105 | * mips-nat.c (register_addr): Ditto. | |
1106 | * ultra3-nat.c (register_addr): Ditto. | |
1107 | ||
7bd1f0c5 SG |
1108 | Sun Sep 8 15:14:00 1996 Stu Grossman (grossman@critters.cygnus.com) |
1109 | ||
1110 | * blockframe.c (inside_main_func): Cleanup slightly. Move | |
1111 | mainsym def into the block it's used in. | |
1112 | * configure.in configure: Allow NATDEPFILES to be recognized in | |
1113 | .mh files regardless of whitespace. | |
1114 | ||
1115 | * cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to | |
1116 | keep downloads from hanging. | |
1117 | ||
1118 | * remote-wiggler.c: Add support for flash upgrades. | |
1119 | * (wiggler_error): Fix message format. Add new error code. | |
1120 | * (wiggler_write_byets): Error code is hex. Report errors with | |
1121 | proper routine name. | |
1122 | * (wiggler_read_byets): Report errors with proper routine name. | |
1123 | * (get_packet): Add support for new flash commands. | |
1124 | * (wiggler_load): Call clear_symtab_users() to reset things | |
1125 | properly after download. | |
1126 | * (flash_xfer_memory bdm_update_flash_command): New funxtions to | |
1127 | support flash upgrades for Wiggler. | |
1128 | * (_initialize_remote_wiggler): Add `bdm update-flash' command. | |
1129 | ||
94a42c63 GN |
1130 | Fri Sep 6 13:14:13 1996 Geoffrey Noer <noer@cygnus.com> |
1131 | ||
1132 | * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__ | |
1133 | ||
421fafa2 GN |
1134 | Thu Sep 5 17:05:13 1996 Geoffrey Noer <noer@cygnus.com> |
1135 | ||
1136 | * config/i386/cygwin32.mh: | |
1137 | * config/powerpc/cygwin32.mh: build ser-tcp.o for both hosts | |
1138 | ||
9e9358eb PB |
1139 | Thu Sep 5 12:09:13 1996 Per Bothner <bothner@deneb.cygnus.com> |
1140 | ||
1141 | * value.h (COERCE_REF): Fix previous change. | |
1142 | (COERCE_ENUM): Add a check_typedef (this is the real fix). | |
1143 | ||
947ca025 WM |
1144 | Thu Sep 5 03:28:30 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
1145 | ||
1146 | * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a | |
1147 | better check of array boundaries. | |
1148 | ||
5819f35d SG |
1149 | Thu Sep 5 01:29:42 1996 Stu Grossman (grossman@critters.cygnus.com) |
1150 | ||
1151 | * configure: Update aclocal.m4 and re-run autoconf to get correct | |
1152 | defs for BFD stuff. | |
1153 | * remote-wiggler.c (wiggler_error): Error codes are hex. Also, | |
1154 | fix default message generation. | |
1155 | ||
0ca4776e SG |
1156 | Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com) |
1157 | ||
1158 | * Makefile.in: Add mswin to SUBDIRS. Add rules for | |
1159 | mswin/libwingdb.a and remote-wiggler.o. | |
1160 | * breakpoint.c (breakpoint_here_p): Clean up bp enabled test. | |
1161 | * (breakpoint_inserted_here_p): New func, just like | |
1162 | breakpoint_here_p, except it's honest. Honestly. | |
1163 | * breakpoint.h: Proto for above. | |
1164 | start-sanitize-gdbtk | |
1165 | * configure configure.in: Add host *windows* to list of hosts | |
1166 | that don't support GDBtk. | |
1167 | end-sanitize-gdbtk | |
1168 | * configure configure.in: Add mswin to configdirs if host is | |
1169 | i[3456]86-*-windows. | |
1170 | * core-aout.c (fetch_core_registers register_addr) gdbcore.h: | |
1171 | Change all vars that can contain addresses to type CORE_ADDR. | |
1172 | * findvar.c (supply_register): Allow val to be NULL. This means | |
1173 | that regno is unsupported. | |
1174 | * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms | |
1175 | just call pid forms with inferior_pid so that there's only once | |
1176 | place to hack PC's and such. | |
1177 | * infrun.c (proceed): Don't skip breakpoints if user changed PC. | |
1178 | * remote-wiggler.c: New file. Support for BDM interface from | |
1179 | Macraigor Systems. | |
1180 | * serial.c: Enhance serial logging capability. Add hex and octal | |
1181 | output modes (set remotelogbase {hex|octal|ascii}. Also log | |
1182 | breaks, timeouts, errors, and eofs. | |
1183 | * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper | |
1184 | function so that we can log breaks. Don't export serial_logfile | |
1185 | or serial_logfp. | |
1186 | * top.c (execute_command): Don't test for serial_logfp here. | |
1187 | Just call serial_log_comand, and let serial.c sort it out. | |
1188 | * valops.c (value_of_variable): Don't attempt to establish frames | |
1189 | for static and global variables. This makes things work a bit | |
1190 | better if the stack or frame pointer is trashed. | |
1191 | * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o. | |
1192 | * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack | |
1193 | misaligned stacks during function calls. | |
1194 | ||
10d183a0 ILT |
1195 | Wed Sep 4 13:06:26 1996 Ian Lance Taylor <ian@cygnus.com> |
1196 | ||
1197 | * terminal.h: Don't use #elif. | |
1198 | ||
b5865bb2 WM |
1199 | Wed Sep 4 06:49:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
1200 | ||
1201 | * ch-exp.c (parse_tuple_element): Allow (*): for array tuples | |
1202 | if we have a type. | |
1203 | ||
1204 | * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: | |
1205 | check number of args against bounds of array to avoid | |
1206 | memory corruption. | |
1207 | ||
1208 | * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get | |
1209 | a TYPE_CODE_TYPEDEF. | |
1210 | ||
1211 | Fri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk> | |
1212 | ||
5dad8312 SS |
1213 | * remote-mips.c: Provide support for DDBVR4300 target board. |
1214 | (ddb_open, ddb_ops): Added. | |
1215 | (mips_monitor_type): MON_DDB Added. | |
b5865bb2 WM |
1216 | (mips_enter_debug, mips_exit_debug, mips_initialize, |
1217 | mips_fetch_registers, common_breakpoint, mips_load, | |
1218 | _initialize_remote_mips): Updated. | |
1219 | ||
26c543ea MM |
1220 | Thu Aug 29 17:00:18 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1221 | ||
1222 | * nlm/configure.in (i[345]86-*-*): Recognize i686 for pentium pro. | |
1223 | * nlm/configure: Regenerate. | |
1224 | ||
1225 | * gdbserver/configure.in (i[345]86-*-*): Recognize i686 for | |
1226 | pentium pro. | |
26c543ea | 1227 | |
0cf433d9 ILT |
1228 | Wed Aug 28 13:11:15 1996 Ian Lance Taylor <ian@cygnus.com> |
1229 | ||
1230 | * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run | |
1231 | CY_AC_LOAD_TCLCONFIG. | |
1232 | * configure: Rebuild. | |
1233 | ||
1234 | Tue Aug 27 12:40:40 1996 Fred Fish <fnf@cygnus.com> | |
1235 | ||
1236 | * infrun.c (wait_for_inferior): Initialize stop_func_end before calling | |
1237 | find_pc_partial_function. | |
1238 | ||
855f9c58 MM |
1239 | Tue Aug 27 10:17:34 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1240 | ||
1241 | * configure: Regenerate again. | |
1242 | ||
1243 | Tue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com> | |
1244 | ||
1245 | * configure.in: work around host_alias configure bug. | |
1246 | AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL | |
1247 | and second by AC_CANONICAL_SYSTEM). The second clobbers the | |
1248 | previous setting. Circumventing by moving the second check | |
1249 | to before the first. | |
1250 | * configure: regenerated | |
1251 | ||
7b3fa778 MH |
1252 | start-sanitize-d10v |
1253 | Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1254 | ||
1255 | * config/d10v/d10v.mt: New file. | |
1256 | * config/d10v/tm-d10v.h: New file. | |
1257 | * configure.in: New target D10V. | |
1258 | * d10v-tdep.c: New file. | |
1259 | ||
1260 | end-sanitize-d10v | |
94b4f756 FF |
1261 | Sun Aug 25 00:09:47 1996 Fred Fish <fnf@rtl.cygnus.com> |
1262 | ||
1263 | * rs6000-tdep.c: Fix typo in comment. | |
1264 | * valops.c (call_function_by_hand): Set using_gcc to 2 | |
1265 | for code compiled without -g, per comment in code. | |
1266 | * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment. | |
1267 | * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment. | |
1268 | * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment. | |
1269 | * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment. | |
1270 | * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment. | |
1271 | * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1272 | (STACK_ALIGN): Add comment, move to be with other associated | |
1273 | macros, and document. | |
1274 | * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1275 | (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. | |
1276 | * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1277 | * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely, | |
1278 | handled by PUSH_ARGUMENTS. | |
1279 | (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1280 | ||
1281 | Fri Aug 23 13:55:05 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
1282 | ||
1283 | * infrun.c (wait_for_inferior): Try to reenable shared library | |
1284 | breakpoints even if auto_solib_load is not set. | |
1285 | ||
26b3dc44 | 1286 | Fri Aug 23 00:44:57 1996 Fred Fish <fnf@cygnus.com> |
fe58c81f FF |
1287 | |
1288 | * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and | |
1289 | gracefully degrade to using command line interface if none is | |
1290 | found. | |
1291 | ||
26b3dc44 | 1292 | Wed Aug 21 16:31:27 1996 Fred Fish <fnf@cygnus.com> |
d538f9cf FF |
1293 | |
1294 | * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as | |
1295 | PRINTF_HAS_LONG_LONG. | |
1296 | * expprint.c (dump_expression): Ditto. | |
1297 | * configure.in: Fix check for long long support in compiler to | |
1298 | use a function body, not a nested function. | |
1299 | * configure: Rebuild with autoconf. | |
1300 | ||
fef1696f ILT |
1301 | Tue Aug 20 17:59:42 1996 Ian Lance Taylor <ian@cygnus.com> |
1302 | ||
1303 | * aclocal.m4: Include ../bfd/aclocal.m4. | |
1304 | * configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call | |
1305 | BFD_NEED_DECLARATION on malloc, realloc, and free. | |
1306 | * acconfig.h: Add NEED_DECLARATION_MALLOC, | |
1307 | NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE. | |
1308 | * configure, config.in: Rebuild. | |
1309 | * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H | |
1310 | rather than __STDC__. Only declare malloc, realloc, and free if | |
1311 | NEED_DECLARATION_* is defined. | |
1312 | ||
26b3dc44 | 1313 | Tue Aug 20 15:37:03 1996 Fred Fish <fnf@cygnus.com> |
dbc4eefc FF |
1314 | |
1315 | * solib.c (_initialize_solib): Add missing '\' chars at ends of | |
1316 | strings that continue on next line. | |
1317 | (enable_break): Replace "return 0" with setting success to zero | |
1318 | and letting normal return handle the return. | |
1319 | ||
1320 | Sat Aug 17 14:16:23 1996 Fred Fish <fnf@cygnus.com> | |
1321 | ||
1322 | * mips-tdep.c (mips_push_arguments): Make sure sp and struct_addr | |
1323 | are properly aligned. | |
1324 | ||
2f163bc3 SS |
1325 | Fri Aug 16 17:54:26 1996 Stan Shebs <shebs@andros.cygnus.com> |
1326 | ||
1327 | * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments. | |
1328 | * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments | |
1329 | to function, declare function correctly. | |
1330 | ||
68fc375e DP |
1331 | Fri Aug 16 17:24:35 1996 Dawn Perchik <dawn@critters.cygnus.com> |
1332 | ||
1333 | * symtab.h: changed namespace to _namespace for compiling under | |
1334 | MFC v4.0. | |
1335 | ||
b208ff3b SS |
1336 | Fri Aug 16 13:52:21 1996 Stan Shebs <shebs@andros.cygnus.com> |
1337 | ||
1338 | * mpw-make.sed: Update for various recent changes, add some | |
1339 | comments. | |
1340 | start-sanitize-gm | |
1341 | * mpw-config.in: Fix name of Magic Cap-specific file. | |
1342 | end-sanitize-gm | |
1343 | ||
b597998a MM |
1344 | Fri Aug 16 15:47:36 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1345 | ||
1346 | * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Cast args to be an | |
1347 | integer for type correctness. | |
1348 | ||
4caa1158 JSC |
1349 | Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk> |
1350 | ||
1351 | * config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when | |
1352 | simulator is included. | |
1353 | ||
eb17f9d5 FF |
1354 | Thu Aug 15 13:44:13 1996 Fred Fish <fnf@cygnus.com> |
1355 | ||
1356 | * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC | |
1357 | is not defined. | |
1358 | (read_register_pid): Only needed when TARGET_READ_PC is not | |
1359 | defined. | |
1360 | * hppa-tdep.c (frame_saved_pc): Remove prototype. | |
1361 | * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is | |
1362 | not defined. | |
1363 | * config/xm-aix4.h (aix_resizewindow): Convert old style decl | |
1364 | to prototype. | |
1365 | * xcoffsolib.c (command.h): Include for needed prototypes. | |
1366 | ||
1367 | Wed Aug 14 17:54:19 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1368 | ||
1369 | * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make | |
1370 | native work. | |
1371 | ||
26b3dc44 | 1372 | Wed Aug 14 02:03:42 1996 Fred Fish <fnf@cygnus.com> |
81a80f32 | 1373 | |
e5718bee FF |
1374 | From Blair MacIntyre <bm@cs.columbia.edu>: |
1375 | * hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather | |
1376 | than SYMBOL_TYPE on msymbols. | |
1377 | * somsolib.c (som_solib_create_inferior_hook): Ditto. | |
1378 | ||
81a80f32 FF |
1379 | * Makefile.in (init.c): Generate with prototypes. |
1380 | ||
1381 | * config/pa/tm-hppa.h (frame_saved_pc): Add prototype. | |
1382 | * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto. | |
1383 | * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto. | |
1384 | (pc_load_segment_name): Ditto. | |
1385 | (pop_frame): Ditto. | |
1386 | (extract_return_value): Ditto. | |
1387 | (is_magic_function_pointer): Ditto. | |
1388 | (push_dummy_frame): Ditto. | |
1389 | (fix_call_dummy): Ditto. | |
1390 | (push_arguments): Ditto. | |
1391 | (skip_trampoline_code): Ditto. | |
1392 | (aix_process_linenos): Ditto. | |
1393 | ||
1394 | * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype. | |
1395 | * config/m68k/tm-es1800.h: Ditto. | |
1396 | * config/m68k/tm-vx68.h: Ditto. | |
1397 | * config/m68k/tm-sun3.h: Ditto. | |
1398 | * config/m68k/tm-m68kv4.h: Ditto. | |
1399 | ||
857dcde8 FF |
1400 | Tue Aug 13 23:04:36 1996 Fred Fish <fnf@cygnus.com> |
1401 | ||
1402 | * config/mips/nm-mips.h (get_longjmp_target): Add prototype. | |
1403 | * config/mips/nm-irix3.h (get_longjmp_target): Add prototype. | |
1404 | * remote-mips.c (mips_read_processor_type): Remove prototype. | |
1405 | * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static. | |
1406 | * irix5-nat.c (fetch_core_registers): Add prototype. | |
1407 | ||
c1d58bcd FF |
1408 | Mon Aug 12 21:23:44 1996 Fred Fish <fnf@cygnus.com> |
1409 | ||
1410 | * remote-pa.c (boot_board): Add dummy params to make type compatible | |
1411 | for passing to add_com. | |
1412 | * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized. | |
1413 | * buildsym.c (compare_line_numbers): Change function to match | |
1414 | prototype and also what qsort expects. | |
1415 | ||
cd21cbc4 MA |
1416 | Mon Aug 12 19:19:00 1996 Mark Alexander <marka@cygnus.com> |
1417 | ||
1418 | * remote.c: Make remote_write_size public. | |
1419 | * sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300 | |
1420 | to prevent packet errors with some versions of CMON. | |
1421 | ||
8501c742 SG |
1422 | Mon Aug 12 16:20:58 1996 Stu Grossman (grossman@critters.cygnus.com) |
1423 | ||
1424 | * defs.h: Define CONST_PTR as blank if compiling with Microsoft | |
1425 | C, else it's `const'. | |
1426 | * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c | |
1427 | scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR | |
1428 | macro instead. | |
1429 | * configure configure.in defs.h: Use AC_C_CONST to figure out if | |
1430 | the compiler supports const. Gets rid of some cruft in defs.h. | |
1431 | * dwarf2read.c: <string.h> -> "gdb_string.h" | |
1432 | * remote-sim.c: Add prototypes. Fix call to gdbsim_kill. | |
1433 | * sparcl-tdep.c (download): Add prototypes to write_routine and | |
1434 | start_routine args. | |
1435 | ||
1436 | * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get | |
1437 | rid of varargs.h Include string.h. | |
1438 | * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f | |
1439 | update): Fix prototypes, fix calls. | |
1440 | * (update): Return value for catch_errors. | |
1441 | * (run_execute_command togdb_command_from_tty togdb_command): | |
1442 | Cleanup catching of errors from calls to execute_command. Also, | |
1443 | dup command string to avoid modifying const strings. | |
1444 | * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead | |
1445 | of NULL when see if b->address isn't set. | |
1446 | * (bi_disable_bpt bi_enable_bpt bi_delete_all | |
1447 | bi_delete_breakpoint): Add arg to calls to update. | |
1448 | * (gui_command): Add prototype. | |
1449 | * (mswin_query): Fix prototype. | |
1450 | * (_initialize_gdbwin): Dup string to avoid modifying const. | |
1451 | * (info_path togdb_get_info_path): Remove const from decls cuz | |
1452 | this can't be const (it points at malloc'ed memory). | |
1453 | * (togdb_searchpath): Remove const from path. Dup string to | |
1454 | avoid modifying const strings. | |
1455 | * rindex -> strrchr. | |
1456 | * (gdbwin_list_symbols): Regexp param is const. | |
1457 | * Fix lots of refs to psymtabs to deref correct pointers. | |
1458 | * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal, | |
1459 | not &sal. | |
1460 | * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path | |
1461 | toget_set_info_path): Fix prototypes to match reality. | |
1462 | * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines | |
1463 | with proper prototypes. | |
1464 | * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args. | |
1465 | * mswin/ser-win32s.c: Fix defs of min and max. | |
1466 | * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be | |
1467 | USHORT. | |
1468 | * (WriteComm16): Change lpBug from LPVOID to LPCSTR. | |
1469 | * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16. | |
1470 | ||
82c6139b SG |
1471 | Sun Aug 11 20:54:16 1996 Stu Grossman (grossman@critters.cygnus.com) |
1472 | ||
1473 | * main.c (main): Make sure command loop is used with cygwin32. | |
1474 | * terminal.h: Allow cygwin32 to use termios.h. | |
1475 | ||
611f046f TT |
1476 | start-sanitize-gdbtk |
1477 | Fri Aug 9 12:32:53 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1478 | ||
1479 | * Makefile.in (LIB_INSTALL_DIR): New macro. | |
1480 | (TCL): Include @TCL_LD_SEARCH_FLAGS@. | |
1481 | ||
1482 | end-sanitize-gdbtk | |
c149559f JL |
1483 | Fri Aug 9 12:42:49 1996 Jeffrey A Law (law@cygnus.com) |
1484 | ||
1485 | * somread.c (som_symtab_read): Handle secondary definition | |
1486 | symbols (aka weak symbols). | |
bb1847ca JL |
1487 | |
1488 | * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko in | |
1489 | last change. | |
1490 | ||
e618c70e SG |
1491 | Thu Aug 8 10:12:36 1996 Stu Grossman (grossman@critters.cygnus.com) |
1492 | ||
8d42089e SG |
1493 | * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ to |
1494 | _WIN32. | |
1495 | ||
e618c70e SG |
1496 | * somread.c: Rearrange order of includes to fix warnings under |
1497 | hpux-10.10. Also don't include sys/file.h. | |
1498 | ||
500992b7 SG |
1499 | Wed Aug 7 21:45:52 1996 Stu Grossman (grossman@critters.cygnus.com) |
1500 | ||
1501 | * dbxread.c: Don't include param.h or sys/file.h. | |
1502 | * (dbx_symfile_read): Determine symfile_relocatable from bfd | |
1503 | flags instead of file extension. Also clean up a little bit. | |
1504 | ||
9e77e83d SG |
1505 | Wed Aug 7 17:18:37 1996 Stu Grossman (grossman@critters.cygnus.com) |
1506 | ||
1507 | * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c | |
1508 | mdebugread.c os9kread.c source.c top.c utils.c: Don't | |
1509 | include param.h or sys/file.h (or unistd.h in some cases). | |
1510 | * defs.h exec.c inflow.c remote-array.c remote-e7000.c | |
1511 | sparcl-tdep.c terminal.h utils.c: Replace all occurances of | |
1512 | __WIN32__, WINGDB, WIN32, etc... with _WIN32. | |
1513 | * main.c: Remove #ifndef WINGDB around option processing. Fix | |
1514 | bug with passing argc==0 and argv==NULL to getopt. | |
1515 | * (main) Remove calls to access() before source_command. Let | |
1516 | soure_command handle access errors. | |
1517 | * maint.c (maintenance_dump_me): #ifdef out for _WIN32. | |
1518 | * symtab.c (operator_chars): Make this global for wingdb. | |
1519 | * top.c (disconnect): #ifdef out for _WIN32. | |
1520 | * (source_command): If got an error and from_tty, then call print | |
1521 | error, else just return quietly. | |
1522 | * utils.c (fatal_dump_core): Can't kill ourselves under windows. | |
1523 | Just exit. | |
1524 | * (pollquit notice_quit): #ifdef out stuff that doesn't exist | |
1525 | under windows. | |
1526 | ||
0d43c8e7 JL |
1527 | Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com) |
1528 | ||
8d038451 JL |
1529 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for |
1530 | structures > 4 bytes in size. | |
1531 | ||
0d43c8e7 JL |
1532 | * valops.c (call_function_by_hand): Handle aligning stacks that |
1533 | grow up correctly. | |
1534 | * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define. | |
1535 | (STACK_ALIGN): Define. | |
1536 | * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte | |
1537 | alignment on structs/unions. | |
1538 | ||
769d0c90 FF |
1539 | Sun Aug 4 16:22:42 1996 Fred Fish <fnf@cygnus.com> |
1540 | ||
1541 | * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *", | |
1542 | which is the documented type under at least AIX 3 and AIX 4. | |
1543 | ||
6b24a9f6 FF |
1544 | Sat Aug 3 04:02:46 1996 Fred Fish <fnf@cygnus.com> |
1545 | ||
1546 | * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to | |
1547 | xm-alphaosf.h. | |
38eee4a9 FF |
1548 | (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency |
1549 | checks. | |
6b24a9f6 | 1550 | |
047465fd TT |
1551 | start-sanitize-gdbtk |
1552 | Thu Aug 1 20:35:01 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1553 | ||
1554 | * gdbtk.c (mainWindow): Deleted. | |
1555 | (cleanup_init): Don't destroy main window. | |
1556 | (gdbtk_init): Main window now created by Tk_Init. | |
1557 | ||
1558 | * configure.in: Most X checks now handled automatically by Tk. | |
1559 | Use new macros to find Tcl/Tk. | |
1560 | * aclocal.m4: New version for new Tcl/Tk; from Don Libes. | |
1561 | * config.in, configure: Regenerated. | |
1562 | ||
1563 | * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS, | |
1564 | X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk. | |
1565 | ||
1566 | end-sanitize-gdbtk | |
8efb8079 FF |
1567 | Thu Aug 1 10:11:34 1996 Fred Fish <fnf@cygnus.com> |
1568 | ||
1569 | * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in | |
1570 | this, define when contents are included. | |
1571 | (mips_read_processor_type): Add prototype. | |
1572 | * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h | |
1573 | * mdebugread.c (ecoff_relocate_efi): Add prototype. | |
1574 | (fixup_sigtramp): Only needed when TM_MIPS_H is defined. | |
1575 | ||
e822a3db JM |
1576 | start-sanitize-gdbtk |
1577 | Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
1578 | ||
1579 | * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir). | |
1580 | ||
1581 | end-sanitize-gdbtk | |
a95d92fa FF |
1582 | Wed Jul 31 20:21:24 1996 Fred Fish <fnf@cygnus.com> |
1583 | ||
1584 | * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value. | |
1585 | (vmap_ldinfo): Ensure got_exec_file is not used uninitialized. | |
1586 | (fetch_core_registers): Add prototype. | |
1587 | (vmap_symtab): Ditto. | |
1588 | (objfile_symbol_add): Ditto. | |
1589 | (add_vmap): Ditto. | |
1590 | (vmap_ldinfo): Ditto. | |
1591 | (vmap_exec): Ditto. | |
1592 | ||
cb74cc24 SS |
1593 | Tue Jul 30 17:57:46 1996 Stan Shebs <shebs@andros.cygnus.com> |
1594 | ||
1595 | * stabsread.c (get_substring): Declare second arg as int. | |
1596 | ||
1597 | * remote-es.c: Include gdb_string.h after defs.h. | |
1598 | ||
80f600a4 FF |
1599 | Mon Jul 29 21:13:20 1996 Fred Fish <fnf@cygnus.com> |
1600 | ||
368f1e77 FF |
1601 | * rs6000-tdep.c (push_arguments): Remove unused variable "pc". |
1602 | (branch_dest): Remove unused variable "offset". | |
1603 | (pop_dummy_frame): Add prototype and make static. | |
1604 | (push_arguments): Guard against using len uninitialized. | |
1605 | (push_arguments): Guard against using arg uninitialized. | |
1606 | (frame_saved_pc): Remove unused variable "frameless". | |
1607 | (free_loadinfo): Ifdef out unused function. | |
1608 | ||
6e0949ae FF |
1609 | * xcoffread.c (compare_lte): Change prototype and function to |
1610 | be correct type for passing to qsort. | |
1611 | (add_stab_to_list): Ifdef out unused function and prototype. | |
1612 | (compare_lte): Add prototype | |
1613 | (arrange_linetable): Ditto. | |
1614 | (record_include_begin): Ditto. | |
1615 | (record_include_end): Ditto. | |
1616 | (process_linenos): Ditto. | |
1617 | (xcoff_next_symbol_text): Ditto. | |
1618 | (scan_xcoff_symtab): Ditto. | |
1619 | (xcoff_initial_scan): Ditto. | |
1620 | ||
80e0e92a FF |
1621 | * mips-tdep.c (mips_read_processor_type): Add parens around |
1622 | bitwise-and operands in comparison; previous expression always | |
1623 | evaluated to 0 because of equality comparison of two constants. | |
1624 | ||
58b4fad2 FF |
1625 | * rs6000-tdep.c (skip_prologue): Add missing parens around |
1626 | operands of logical-or so that first operand does not bind | |
1627 | to previous logical-and. | |
1628 | ||
80f600a4 FF |
1629 | * configure.in: Expand "long long" test to include code that triggers |
1630 | known problem on HPUX with native compiler. | |
1631 | (configure): Regenerated. | |
1632 | ||
6f359895 JL |
1633 | Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com) |
1634 | ||
1635 | * somsolib.c (som_solib_create_inferior_hook): Don't | |
1636 | warn if __d_pid can't be found. | |
1637 | ||
f2bf454e FF |
1638 | Sun Jul 28 10:46:39 1996 Fred Fish <fnf@cygnus.com> |
1639 | ||
1640 | * config/mips/tm-mips.h (struct frame_info): Forward decl. | |
1641 | (struct type): Ditto. | |
1642 | (struct value): Ditto. | |
1643 | ||
1644 | * config/mips/tm-mips.h (sigtramp_address): Move extern decl | |
1645 | from mips-tdep.c to here. | |
1646 | (sigtramp_end): Ditto. | |
1647 | (fixup_sigtramp): Ditto. | |
1648 | ||
1649 | * config/mips/tm-mips.h (init_extra_frame_info): Add prototype. | |
1650 | (mips_frame_chain): Ditto. | |
1651 | (mips_step_skips_delay): Ditto. | |
1652 | (mips_frame_saved_pc): Ditto. | |
1653 | (mips_find_saved_regs): Ditto. | |
1654 | (mips_frame_num_args): Ditto. | |
1655 | (mips_pop_frame): Ditto. | |
1656 | (mips_extract_return_value): Ditto. | |
1657 | (mips_store_return_value): Ditto. | |
1658 | (mips_push_dummy_frame): Ditto. | |
1659 | (mips_push_arguments): Ditto. | |
1660 | (mips_do_registers_info): Ditto. | |
1661 | (ecoff_relocate_efi): Ditto. | |
1662 | (ecoff_relocate_efi): Ditto. | |
1663 | * irix4-nat.c (fetch_core_registers): Add prototype. | |
1664 | * mips-tdep.c (read_next_frame_reg): Add prototype | |
1665 | (heuristic_proc_start): Ditto. | |
1666 | (heuristic_proc_desc): Ditto. | |
1667 | (mips_print_register): Ditto. | |
1668 | * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype. | |
1669 | (procfs_stopped_by_watchpoint): Ditto. | |
1670 | * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype. | |
1671 | (procfs_stopped_by_watchpoint): Ditto. | |
1672 | * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype. | |
1673 | (struct symbol): Add forward decl for prototype. | |
1674 | ||
1675 | * breakpoint.c (internal_breakpoint_number): Only needed if | |
1676 | GET_LONGJMP_TARGET or SOLIB_ADD is defined. | |
1677 | ||
1678 | * objfiles.c (ecoff_relocate_efi): Remove prototype. | |
1679 | ||
3f550b59 FF |
1680 | Sat Jul 27 17:47:35 1996 Fred Fish <fnf@cygnus.com> |
1681 | ||
1682 | * configure.in: Add test for "long long" support. | |
1683 | * configure: Regenerate with autoconf. | |
1684 | * acconfig.h: Add CC_HAS_LONG_LONG | |
1685 | * config.in: Regenerate with autoheader. | |
1686 | * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove | |
1687 | * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove. | |
1688 | * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove. | |
1689 | * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove. | |
1690 | * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove | |
1691 | (PRINTF_HAS_LONG_LONG): Remove. | |
1692 | (FORCE_LONG_LONG): Remove. | |
1693 | * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version. | |
1694 | * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove | |
1695 | (PRINTF_HAS_LONG_LONG): Remove. | |
1696 | * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove. | |
1697 | (PRINTF_HAS_LONG_LONG): Remove. | |
1698 | * config/pa/tm-hppa.h (GET_FIELD): Put parens around | |
1699 | subtraction inside shift. Put parens around subtraction | |
1700 | in operand of bitwise and. | |
1701 | (struct frame_info): Forward declare | |
1702 | if __STDC__ defined. | |
1703 | (frame_saved_regs): Ditto. | |
1704 | (struct value): Ditto. | |
1705 | (struct type): Ditto. | |
1706 | (struct inferior_status): Ditto. | |
1707 | (init_extra_frame_info): Add prototype. | |
1708 | (skip_prologue): Ditto. | |
1709 | (frameless_function_invocation): Ditto. | |
1710 | (frame_chain): Ditto. | |
1711 | (frame_chain_valid): Ditto. | |
1712 | (saved_pc_after_call): Ditto. | |
1713 | (hppa_fix_call_dummy): Ditto. | |
1714 | (hppa_push_arguments): Ditto. | |
1715 | (pa_do_registers_info): Ditto. | |
1716 | (in_solib_call_trampoline): Ditto. | |
1717 | (in_solib_return_trampoline): Ditto. | |
1718 | (push_dummy_frame): Ditto. | |
1719 | * convex-tdep.c (decout): Use print_longest rather than | |
1720 | fprintf_filtered. | |
1721 | * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set | |
1722 | CC_HAS_LONG_LONG. | |
1723 | (INT_MIN): Fix so it works correctly when assigned to a long long. | |
1724 | * valprint.c (longest_to_int): Rewrite to remove dependence | |
1725 | on INT_MIN and INT_MAX. | |
1726 | (print_longest): Rewrite the code that falls back to synthesized | |
1727 | hex output when LONGEST value is not representable as in a long and | |
1728 | printf doesn't support printing long longs. | |
1729 | * ch-valprint.c (chill_val_print): Cast 2nd arg of | |
1730 | chill_print_type_scalar to LONGEST. | |
1731 | chill_print_type_scalar): Make static and add prototype. | |
1732 | * hppa-tdep.c (get_field): Ifdef out unused function. | |
1733 | (set_field): Ditto. | |
1734 | (extract_3): Ditto. | |
1735 | (extract_5_store): Ditto. | |
1736 | (extract_11): Ditto. | |
1737 | (extract_12): Ditto. | |
1738 | (deposit_17): Ditto. | |
1739 | (extract_14): Convert to static and add prototype. | |
1740 | (deposit_14): Ditto. | |
1741 | (extract_21): Ditto. | |
1742 | (deposit_21): Ditto. | |
1743 | (extract_17): Ditto. | |
1744 | (extract_5r_store): Ditto. | |
1745 | (extract_5R_store): Ditto. | |
1746 | (extract_5_load): Ditto. | |
1747 | (find_proc_framesize): Ditto. | |
1748 | (find_dummy_frame_regs): Ditto. | |
1749 | (sign_extend): Ditto. | |
1750 | (find_unwind_entry): Add prototype. | |
1751 | (find_return_regnum): Ditto. | |
1752 | (unwind_command): Ditto. | |
1753 | (find_dummy_frame_regs): Add parens around subtraction in operand | |
1754 | of bitwise-and. | |
1755 | (skip_prologue): Add parens around operands of logical-and inside | |
1756 | operand of logical-or. | |
1757 | (sign_extend): Add parens around operands of subtraction inside | |
1758 | operand of shift. | |
1759 | (low_sign_extend): Ditto. | |
1760 | * top.c (filename_completer): Convert old style decl of | |
1761 | filename_completion_function into prototype. | |
1762 | * f-lang.c (patch_common_entries): Ifdef out unused function. | |
1763 | * stabsread.c (read_cfront_baseclasses): Remove unused local | |
1764 | variable "msg_noterm". | |
1765 | (resolve_cfront_continuation): Remove unused local variable "fip". | |
1766 | (read_type): Remove unused variable xtypenums. | |
1767 | (read_cfront_static_fields): Remove unused variable "i". | |
1768 | (read_cfront_static_fields): Remove unused variable "nfields". | |
1769 | (read_cfront_member_functions): Add missing comment terminator. | |
1770 | (read_cfront_static_fields): Return 1 rather than random value. | |
1771 | (read_cfront_baseclasses): Ditto. | |
1772 | (read_cfront_baseclasses): Ditto. | |
1773 | (read_cfront_baseclasses): Ditto. | |
1774 | * somsolib.c (som_solib_create_inferior_hook): Remove unused | |
1775 | variable "u". | |
1776 | (som_solib_create_inferior_hook): Remove unused variable | |
1777 | shadow_contents. | |
1778 | (language.h): Add for needed prototypes. | |
1779 | (som_solib_sharedlibrary_command): Add prototype. | |
1780 | * hpread.c: (hpread_read_array_type): Add prototype. | |
1781 | * somread.c (hpread_build_pysmtabs): Add prototype. | |
1782 | (hpread_symfile_finish): Ditto. | |
1783 | (hpread_symfile_init): Ditto. | |
1784 | * hppah-nat.c (fetch_register): Convert old style decl | |
1785 | to prototype. | |
1786 | (gdbcore.h): Include for needed prototypes. | |
1787 | (fetch_register): Remove unused variable "mess". | |
1788 | * remote-pa.c (get_offsets): Ifdef out unused function. | |
1789 | (remote_start_remote): Remove unused variable "timeout". | |
1790 | (boot_board): Add prototype. | |
1791 | (reaad_frame): Add prototype. | |
1792 | (getpkt): Remove unused variable "bp". | |
1793 | (remote_kill): Add prototype. | |
1794 | (remote_mourn): Add prototype. | |
1795 | (remote_insert_breakpoint): Add prototype. | |
1796 | (remote_remove_breakpoint): Add prototype. | |
1797 | * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined. | |
1798 | * infcmd.c (do_registers_info): Only need prototype if | |
1799 | DO_REGISTERS_INFO is not defined. | |
1800 | (breakpoint_auto_delete_contents): Only need if | |
1801 | CALL_DUMMY_BREAKPOINT_OFFSET is defined. | |
1802 | ||
68aadb90 FF |
1803 | Sat Jul 27 08:49:49 1996 Fred Fish <fnf@cygnus.com> |
1804 | ||
1805 | * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter. | |
1806 | (END_PSYMTAB): Ditto. | |
1807 | (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set. | |
1808 | ||
caeec767 ILT |
1809 | Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com> |
1810 | ||
1811 | * printcmd.c (_initialize_printcmd): Initialize | |
1812 | tm_print_insn_info.flavour. | |
cb74cc24 | 1813 | start-sanitize-gdbtk |
caeec767 | 1814 | * gdbtk.c (gdb_disassemble): Initialize di.flavour. |
cb74cc24 | 1815 | end-sanitize-gdbtk |
caeec767 | 1816 | |
b607efe7 FF |
1817 | Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> |
1818 | ||
1819 | * Makefile.in (scm-valprint.o): Depends upon gdbcore_h. | |
1820 | (arm-tdep.o): Ditto. | |
1821 | (dcache.o): Ditto. | |
1822 | (i386ly-tdep.o): Ditto. | |
1823 | (i960-tdep.o): Ditto. | |
1824 | (m68k-tdep.o): Ditto. | |
1825 | (nindy-tdep.o): Ditto. | |
1826 | (scm-lang.o): Ditto. | |
1827 | (w65-tdep.o): Ditto. | |
1828 | (z8k-tdep.o): Ditto. | |
1829 | (m68k-tdep.o): Depends upon value_h and gdb_string.h | |
1830 | (m2-valprint.o): Depends upon m2-lang.h. | |
1831 | (sparc-tdep.o): Depends upon gdb_string.h | |
1832 | (valprint.o): Depends upon valprint.h | |
1833 | ||
1834 | * remote-e7000.c (notice_quit): Remove prototype. | |
1835 | * top.c (initialize_targets): Remove prototype, now in target.h. | |
1836 | * stabsread.c (resolve_cfront_continuation): Remove prototype. | |
1837 | * dbxread.c (resolve_cfront_continuation): Remove prototype. | |
1838 | * symfile.h (set_demangling_style): Remove prototype. | |
1839 | * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h. | |
1840 | * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in | |
1841 | target.h. | |
1842 | * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls, | |
1843 | now in target.h. | |
1844 | * ser-unix.c (hardwire_restore): Remove obsolete prototype. | |
1845 | * sparc-tdep.c (single_step): Remove forward decl of isbranch. | |
1846 | * scm-lang.c (find_function_in_inferior): Remove prototype. | |
1847 | (value_allocate_space_in_inferior): Ditto. | |
1848 | * infrun.c (write_pc_pid): Remove prototype, now in inferior.h. | |
1849 | * defs.h (strchr): Remove declarations, they are declared in | |
1850 | gdb_string.h also. | |
1851 | (strrchr): Ditto. | |
1852 | (strstr): Ditto. | |
1853 | (strtok): Ditto. | |
1854 | (strerror): Ditto. | |
1855 | * f-valprint.c (f77_print_array_1): Remove extra arg that was being | |
1856 | passed to f77_print_array_1. | |
b607efe7 FF |
1857 | * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr. |
1858 | * scm-exp.c (scm_istr2int): Remove unused variable "j". | |
1859 | (scm_parse): Remove unused variable "str". | |
1860 | * hp300ux-nat.c (store_inferior_register): Remove unused variable | |
1861 | "buf". | |
1862 | (store_inferior_registers): Remove unnecessary decl "registers". | |
1863 | * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi". | |
1864 | * scm-lang.c (scm_get_field): Remove unused variable "val". | |
1865 | (scm_lookup_name): Remove unused variable "symval". | |
1866 | * objfiles.c (map_to_file): Remove unused local variable "tempfd". | |
1867 | * procfs.c (do_attach, do_detach): Remove unused variable "result". | |
1868 | (last_resume_pid): Remove unused static variable. | |
1869 | * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable | |
1870 | "res". | |
1871 | * objfiles.c (map_to_address): Remove unused function. | |
1872 | * f-valprint.c (print_max): Remove extraneous extern decl, | |
1873 | in valprint.h. | |
1874 | (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h. | |
1875 | * ch-exp.c (write_lower_upper_value): Remove prototype for | |
1876 | type_lower_upper. | |
1877 | ||
1878 | * gdbtypes.c (cfront_mangle_name): #ifdef out unused function. | |
1879 | * ch-exp.c (parse_mode_call): Ditto. | |
1880 | * f-valprint.c (there_is_a_visible_common_named): Ditto. | |
1881 | * f-lang.c (clear_function_list): Ditto. | |
1882 | (get_bf_for_fcn): Ditto. | |
1883 | (clear_bf_list): Ditto. | |
1884 | (add_common_block): Ditto. | |
1885 | (patch_all_commons_by_name): Ditto. | |
1886 | (find_first_common_named): Ditto. | |
1887 | (add_common_entry): Ditto. | |
1888 | (allocate_saved_function_node): Ditto. | |
1889 | (allocate_saved_bf_node): Ditto. | |
1890 | (allocate_common_entry_node): Ditto. | |
1891 | (allocate_saved_f77_common_node): Ditto. | |
1892 | ||
1893 | * arm-tdep.c (gdbcore.h): Include for necessary prototypes. | |
1894 | * dcache.c (gdbcore.h): Ditto. | |
1895 | * i386ly-tdep.c (gdbcore.h): Ditto. | |
1896 | * i960-tdep.c (gdbcore.h): Ditto. | |
1897 | * m2-valprint.c (m2-lang.h): Ditto. | |
1898 | * m68k-tdep.c (gdbcore.h): Ditto. | |
1899 | (value.h): Ditto. | |
1900 | (gdb_string.h): Ditto. | |
1901 | * nindy-tdep.c (gdbcore.h): Ditto. | |
1902 | * scm-lang.c (gdbcore.h): Ditto. | |
1903 | * scm-valprint.c (gdbcore.h): Ditto. | |
1904 | * w65-tdep.c (gdbcore.h): Ditto. | |
1905 | * z8k-tdep.c (gdbcore.h): Ditto. | |
1906 | * sparc-tdep.c (gdb_string.h): Include. | |
1907 | * valprint.c (valprint.h): Include. | |
1908 | ||
1909 | * config/xm-lynx.h: Remove part of comment about INT_MIN | |
1910 | redefined warnings from defs.h, since INT_MIN define in | |
1911 | defs.h is now protected by #ifndef INT_MIN. | |
1912 | * config/i386/xm-i386bsd.h: Ditto. | |
1913 | * config/m68k/xm-hp300bsd.h: Ditto. | |
1914 | * config/m68k/xm-news.h: Ditto. | |
1915 | ||
1916 | * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN | |
1917 | definition as 0x80000000. The macro in defs.h is better. | |
1918 | * config/i386/xm-i386m3.h (INT_MIN): Ditto. | |
1919 | * config/i386/xm-i386mach.h (INT_MIN): Ditto. | |
1920 | * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto. | |
1921 | * config/pa/xm-hppab.h: Ditto. | |
1922 | ||
1923 | * core-aout.c (fetch_core_registers): Add prototype. | |
1924 | * hp300ux-nat.c (fetch_inferior_register): Ditto. | |
1925 | (store_inferior_register_1): Ditto. | |
1926 | (store_inferior_register): Ditto. | |
1927 | * config/m68k/tm-m68k.h (find_saved_regs): Ditto. | |
1928 | *scm-valprint.c (c_val_print): Ditto. | |
1929 | * procfs.c (add_fd): Ditto. | |
1930 | (remove_fd): Ditto. | |
1931 | (wait_fd): Ditto. | |
1932 | (sigcodename): Ditto. | |
1933 | (sigcodedesc): Ditto. | |
1934 | (procfs_kill_inferior): Ditto. | |
1935 | (procfs_xfer_memory): Ditto. | |
1936 | (procfs_store_registers): Ditto. | |
1937 | (create_procinfo): Ditto. | |
1938 | (procfs_init_inferior): Ditto. | |
1939 | (proc_set_exec_trap): Ditto. | |
1940 | (procfs_attach): Ditto. | |
1941 | (procfs_detach): Ditto. | |
1942 | (procfs_prepare_to_store): Ditto. | |
1943 | (procfs_files_info): Ditto. | |
1944 | (procfs_open): Ditto. | |
1945 | (procfs_wait): Ditto. | |
1946 | (procfs_fetch_registers): Ditto. | |
1947 | (procfs_mourn_inferior): Ditto. | |
1948 | (procfs_can_run): Ditto. | |
1949 | (procfs_thread_alive): Ditto. | |
1950 | (procfs_stop): Ditto. | |
1951 | * alpha-nat.c (fetch_core_registers): Ditto. | |
1952 | * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto. | |
1953 | * objfiles.c (ecoff_relocate_efi): Ditto. | |
1954 | * inflow.c (pass_signal): Ditto. | |
1955 | (handle_sigio): Ditto. | |
1956 | * annotate.c (breakpoint_changed): Ditto. | |
1957 | * callback.c (wrap): Ditto. | |
1958 | (fdbad): Ditto. | |
1959 | (fdmap): Ditto. | |
1960 | * utils.c (malloc_botch): Ditto. | |
1961 | (fputs_maybe_filtered): Ditto. | |
1962 | (vfprintf_maybe_filtered): Ditto. | |
1963 | * defs.h (notice_quit): Ditto. | |
1964 | * defs.h (xmalloc, xrealloc): Ditto. | |
1965 | * top.c (stop_sig): Ditto. | |
1966 | (init_signals): Ditto. | |
1967 | (user_defined_command): Ditto. | |
1968 | (source_cleanup_lines): Ditto. | |
1969 | (dont_repeat_command): Ditto. | |
1970 | (serial_log_command): Ditto. | |
1971 | (disconnect): Ditto. | |
1972 | * target.h (initialize_targets): Ditto. | |
1973 | * os9kread.c (read_minimal_symbols): Ditto. | |
1974 | * mdebugread.c (mdebug_psymtab_to_symtab): Ditto. | |
1975 | (fdr_name): Ditto. | |
1976 | (push_parse_stack): Ditto. | |
1977 | (pop_parse_stack): Ditto. | |
1978 | (is_pending_symbol): Ditto. | |
1979 | (add_pending): Ditto. | |
1980 | * serial.c (serial_logchar): Ditto. | |
1981 | (serial_interface_lookup): Ditto. | |
1982 | * serial.h (serial_log_command): Ditto. | |
1983 | * f-valprint.c (info_common_command): Ditto. | |
1984 | * gdbtypes.h (print_type_scalar): Ditto. | |
1985 | * scm-valprint.c (scm_scmlist_print): Ditto. | |
1986 | (scm_ipruk): Ditto. | |
1987 | * scm-lang.c (scm_printstr): Ditto. | |
1988 | (in_eval_c): Ditto. | |
1989 | (evaluate_subexp_scm): Ditto. | |
1990 | * scm-exp.c (scm_read_token): Ditto. | |
1991 | (scm_skip_ws): Ditto. | |
1992 | (scm_lreadparen): Ditto. | |
1993 | * m2-lang.c (emit_char): Ditto. | |
1994 | (m2_printchar): Ditto. | |
1995 | (m2_printstr): Ditto. | |
1996 | (m2_create_fundamental_type): Ditto. | |
1997 | * f-lang.c (emit_char): Ditto. | |
1998 | (f_printchar): Ditto. | |
1999 | (f_printstr): Ditto. | |
2000 | (f_create_fundamental_type): Ditto. | |
2001 | * ch-lang.c (chill_printchar): Ditto. | |
2002 | (chill_printstr): Ditto. | |
2003 | (chill_create_fundamental_type): Ditto. | |
2004 | (value_chill_length): Ditto. | |
2005 | (value_chill_card): Ditto. | |
2006 | (value_chill_max_min): Ditto. | |
2007 | (evaluate_subexp_chill): Ditto. | |
2008 | * ch-exp.c (PEEK_TOKEN): Ditto. | |
2009 | (peek_token_): Ditto. | |
2010 | (forward_token_): Ditto. | |
2011 | (parse_case_label): Ditto. | |
2012 | (parse_opt_untyped_expr): Ditto. | |
2013 | (parse_unary_call): Ditto. | |
2014 | (parse_call): Ditto. | |
2015 | (parse_named_record_element): Ditto. | |
2016 | (parse_tuple_element): Ditto. | |
2017 | (parse_opt_element_list): Ditto. | |
2018 | (parse_tuple): Ditto. | |
2019 | (parse_primval): Ditto. | |
2020 | (parse_operand6): Ditto. | |
2021 | (parse_operand5): Ditto. | |
2022 | (parse_operand4): Ditto. | |
2023 | (parse_operand3): Ditto. | |
2024 | (parse_operand2): Ditto. | |
2025 | (parse_operand1): Ditto. | |
2026 | (parse_operand0): Ditto. | |
2027 | (parse_expr): Ditto. | |
2028 | (parse_then_alternative): Ditto. | |
2029 | (parse_else_alternative): Ditto. | |
2030 | (parse_if_expression): Ditto. | |
2031 | (parse_untyped_expr): Ditto. | |
2032 | (growbuf_by_size): Ditto. | |
2033 | (match_simple_name_string): Ditto. | |
2034 | (decode_integer_value): Ditto. | |
2035 | (decode_integer_literal): Ditto. | |
2036 | (match_float_literal): Ditto. | |
2037 | (match_float_literal): Ditto. | |
2038 | (match_string_literal): Ditto. | |
2039 | (match_character_literal): Ditto. | |
2040 | (match_integer_literal): Ditto. | |
2041 | (match_bitstring_literal): Ditto. | |
2042 | (write_lower_upper_value): Ditto. | |
2043 | * ch-lang.h (type_lower_upper): Ditto. | |
2044 | * c-lang.c (emit_char): Ditto. | |
2045 | * dwarfread.c (free_utypes): Ditto. | |
2046 | * stabsread.h (resolve_cfront_continuation): Ditto. | |
2047 | * stabsread.c (get_substring): Ditto. | |
2048 | (read_one_struct_field): Ditto. | |
2049 | * stabsread.h (process_later): Ditto. | |
2050 | * demangle.c (set_demangling_command): Ditto. | |
2051 | * defs.h (set_demangling_style): Ditto. | |
2052 | * maint.c (maintenance_info_command): Ditto. | |
2053 | (print_section_table): Ditto. | |
2054 | (maintenance_info_sections): Ditto. | |
2055 | (maintenance_print_command): Ditto. | |
2056 | * symtab.h (maintenance_print_statistics): Ditto. | |
2057 | * objfiles.h (in_plt_section): Ditto. | |
2058 | * objfiles.c (add_to_objfile_sections): Ditto. | |
2059 | * bcache.c (hash): Ditto. | |
2060 | (lookup_cache): Ditto. | |
2061 | * exec.c (bfdsec_to_vmap): Ditto. | |
2062 | (ignore): Ditto. | |
2063 | * f-exp.y (growbuf_by_size, match_string_literal): Ditto. | |
2064 | * language.c (unk_lang_printchar): Ditto. | |
2065 | (unk_lang_printstr): Ditto. | |
2066 | (unk_lang_create_fundamental_type): Ditto. | |
2067 | (unk_lang_print_type): Ditto. | |
2068 | (unk_lang_val_print): Ditto. | |
2069 | (unk_lang_value_print): Ditto. | |
2070 | * target.c (update_current_target): Ditto. | |
2071 | (debug_to_open): Ditto. | |
2072 | (debug_to_close): Ditto. | |
2073 | (debug_to_attach): Ditto. | |
2074 | (debug_to_detach): Ditto. | |
2075 | (debug_to_resume): Ditto. | |
2076 | (debug_to_wait): Ditto. | |
2077 | (debug_to_fetch_registers): Ditto. | |
2078 | (debug_to_store_registers): Ditto. | |
2079 | (debug_to_prepare_to_store): Ditto. | |
2080 | (debug_to_xfer_memory): Ditto. | |
2081 | (debug_to_files_info): Ditto. | |
2082 | (debug_to_insert_breakpoint): Ditto. | |
2083 | (debug_to_remove_breakpoint): Ditto. | |
2084 | (debug_to_terminal_init): Ditto. | |
2085 | (debug_to_terminal_inferior): Ditto. | |
2086 | (debug_to_terminal_ours_for_output): Ditto. | |
2087 | (debug_to_terminal_ours): Ditto. | |
2088 | (debug_to_terminal_info): Ditto. | |
2089 | (debug_to_kill): Ditto. | |
2090 | (debug_to_load): Ditto. | |
2091 | (debug_to_lookup_symbol): Ditto. | |
2092 | (debug_to_create_inferior): Ditto. | |
2093 | (debug_to_mourn_inferior): Ditto. | |
2094 | (debug_to_can_run): Ditto. | |
2095 | (debug_to_notice_signals): Ditto. | |
2096 | (debug_to_thread_alive): Ditto. | |
2097 | (debug_to_stop): Ditto. | |
cb74cc24 | 2098 | start-sanitize-gdbtk |
b607efe7 FF |
2099 | * gdbtk.c (null_routine): Ditto. |
2100 | (gdbtk_flush): Ditto. | |
2101 | (gdbtk_fputs): Ditto. | |
2102 | (gdbtk_query): Ditto. | |
2103 | (gdbtk_readline): Ditto. | |
2104 | (gdbtk_readline_end): Ditto. | |
2105 | (gdb_get_breakpoint_list): Ditto. | |
2106 | (gdb_get_breakpoint_info): Ditto. | |
2107 | (breakpoint_notify): Ditto. | |
2108 | (gdbtk_create_breakpoint): Ditto. | |
2109 | (gdbtk_delete_breakpoint): Ditto. | |
2110 | (gdbtk_modify_breakpoint): Ditto. | |
2111 | (gdb_loc): Ditto. | |
2112 | (gdb_eval): Ditto. | |
2113 | (gdb_sourcelines): Ditto. | |
2114 | (map_arg_registers): Ditto. | |
2115 | (get_register_name): Ditto. | |
2116 | (gdb_regnames): Ditto. | |
2117 | (get_register): Ditto. | |
2118 | (gdb_fetch_registers): Ditto. | |
2119 | (register_changed_p): Ditto. | |
2120 | (gdb_changed_register_list): Ditto. | |
2121 | (gdb_cmd): Ditto. | |
2122 | (call_wrapper): Ditto. | |
2123 | (gdb_listfiles): Ditto. | |
2124 | (gdb_stop): Ditto. | |
2125 | (gdbtk_dis_asm_read_memory): Ditto. | |
2126 | (compare_lines): Ditto. | |
2127 | (gdb_disassemble): Ditto. | |
2128 | (tk_command): Ditto. | |
2129 | (cleanup_init): Ditto. | |
2130 | (gdbtk_interactive): Ditto. | |
2131 | (x_event): Ditto. | |
2132 | (gdbtk_wait): Ditto. | |
2133 | (gdbtk_call_command): Ditto. | |
2134 | (tk_command_loop): Ditto. | |
2135 | (gdbtk_init): Ditto. | |
cb74cc24 | 2136 | end-sanitize-gdbtk |
b607efe7 FF |
2137 | * breakpoint.h (set_breakpoint_sal): Ditto. |
2138 | * remote-utils.c (usage): Ditto. | |
2139 | * remote.c (set_thread): Ditto. | |
2140 | (remote_thread_alive): Ditto. | |
2141 | (get_offsets): Ditto. | |
2142 | (read_frame): Ditto. | |
2143 | (remote_insert_breakpoint): Ditto. | |
2144 | (remote_remove_breakpoint): Ditto. | |
2145 | * sparc-nat.c (fetch_core_registers): Ditto. | |
2146 | * corelow.c (add_to_thread_list): Ditto. | |
2147 | (ignore): Ditto. | |
2148 | * inftarg.c (proc_wait): Ditto. | |
2149 | * infptrace.c (udot_info): Ditto. | |
2150 | (fetch_register): Ditto. | |
2151 | * ser-unix.c (hardwire_noflush_set_tty_state): Ditto. | |
2152 | (hardwire_print_tty_state): Ditto. | |
2153 | (hardwire_flush_output): Ditto. | |
2154 | (hardwire_flush_input): Ditto. | |
2155 | (hardwire_send_break): Ditto. | |
2156 | (hardwire_setstopbits): Ditto. | |
2157 | * ser-tcp.c (tcp_return_0): Ditto. | |
2158 | (tcp_noflush_set_tty_state): Ditto. | |
2159 | (tcp_print_tty_state): Ditto. | |
2160 | * solib.c (match_main): Ditto. | |
2161 | * gdbtypes.c (print_bit_vector): Ditto. | |
2162 | (print_arg_types): Ditto. | |
2163 | (dump_fn_fieldlists): Ditto. | |
2164 | (print_cplus_stuff): Ditto. | |
2165 | * symfile.h (entry_point_address): Ditto. | |
2166 | * symfile.c (decrement_reading_symtab): Ditto. | |
2167 | * valops.c (value_arg_coerce): Ditto. | |
2168 | * value.h (find_function_in_inferior): Ditto. | |
2169 | (value_allocate_space_in_inferior): Ditto. | |
2170 | * values.c (vb_match): Ditto. | |
2171 | * thread.c (info_thread_command): Ditto. | |
2172 | (restore_current_thread): Ditto. | |
2173 | (thread_apply_all_command): Ditto. | |
2174 | (thread_apply_command): Ditto. | |
2175 | * inferior.h (write_pc_pid): Ditto. | |
2176 | * infrun.c (delete_breakpoint_current_contents): Ditto. | |
2177 | * breakpoint.c (print_it_normal): Ditto. | |
2178 | (watchpoint_check): Ditto. | |
2179 | (print_it_done): Ditto. | |
2180 | (print_it_noop): Ditto. | |
2181 | (maintenance_info_breakpoints): Ditto. | |
2182 | (create_longjmp_breakpoint): Ditto. | |
2183 | (hbreak_command): Ditto. | |
2184 | (thbreak_command): Ditto. | |
2185 | (watch_commnd_1): Ditto. | |
2186 | (rwatch_command): Ditto. | |
2187 | (awatch_command): Ditto. | |
2188 | (do_enable_breakpoint): Ditto. | |
2189 | * ch-valprint.c (chill_val_print_array_elements): Ditto. | |
2190 | * eval.c (evaluate_subexp): Ditto. | |
2191 | (get_label): Ditto. | |
2192 | (evaluate_struct_tuple): Ditto. | |
2193 | * eval.c (init_array_element): Ditto. | |
2194 | ||
2195 | * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static. | |
2196 | * breakpoint.c (hw_breakpoint_used_count): Ditto. | |
2197 | (hw_watchpoint_used_count): Ditto. | |
2198 | * findvar.c (write_register_gen): Ditto. | |
2199 | (read_register_pid): Ditto. | |
2200 | * symtab.c (cplusplus_hint): Ditto. | |
2201 | * infcmd.c (breakpoint_auto_delete_contents): Ditto. | |
2202 | * ch-valprint.c (chill_print_type_scalar): Ditto. | |
2203 | * gdbtypes.c (add_name): Ditto. | |
2204 | (add_mangled_type): Ditto. | |
2205 | (cfront_mangle_name): Ditto. | |
2206 | * sparc-tdep.c (isbranch): Ditto. | |
2207 | * inftarg.c (child_stop): Ditto. | |
2208 | * win32-nat.c (child_stop): Ditto. | |
2209 | * mac-nat.c (child_stop): Ditto. | |
2210 | * remote-utils.c (sr_com): Ditto. | |
2211 | * dbxread.c (process_now): Ditto. | |
2212 | * ch-exp.c (require): Ditto. | |
2213 | (check_token): Ditto. | |
2214 | (expect): Ditto. | |
2215 | (parse_mode_call): Ditto. | |
2216 | (parse_mode_or_normal_call): Ditto. | |
2217 | * scm-lang.c (scm_lookup_name): Ditto | |
2218 | * f-lang.c (allocate_saved_bf_node): Ditto. | |
2219 | (allocate_saved_function_node): Ditto. | |
2220 | (allocate_saved_f77_common_node): Ditto. | |
2221 | (allocate_common_entry_node): Ditto. | |
2222 | (add_common_block): Ditto. | |
2223 | (add_common_entry): Ditto. | |
2224 | (find_first_common_named): Ditto. | |
2225 | (patch_common_entries): Ditto. | |
2226 | (patch_all_commons_by_name): Ditto. | |
2227 | (clear_bf_list): Ditto. | |
2228 | (get_bf_for_fcn): Ditto. | |
2229 | (clear_function_list): Ditto. | |
2230 | * scm-exp.c (scm_istr2int): Ditto. | |
2231 | (scm_istring2number): Ditto. | |
2232 | * scm-valprint.c (scm_inferior_print): Ditto. | |
2233 | * f-typeprint.c (print_equivalent_f77_float_type): Ditto. | |
2234 | * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto. | |
2235 | (f77_create_arrayprint_offset_tbl): Ditto. | |
2236 | (f77_print_array_1): Ditto. | |
2237 | (f77_print_array): Ditto. | |
2238 | (list_all_visible_commons): Ditto. | |
2239 | (there_is_a_visible_common_named): Ditto. | |
2240 | * mdebugread.c (ecoff_relocate_efi): Ditto. | |
2241 | * callback.c (os_close): Ditto. | |
2242 | (os_get_errno): Ditto. | |
2243 | (os_isatty): Ditto. | |
2244 | (os_lseek): Ditto. | |
2245 | (os_open): Ditto. | |
2246 | (os_read): Ditto. | |
2247 | (os_read_stdin): Ditto. | |
2248 | (os_write): Ditto. | |
2249 | (os_write_stdout): Ditto. | |
2250 | (os_rename): Ditto. | |
2251 | (os_system): Ditto. | |
2252 | (os_time): Ditto. | |
2253 | (os_unlink): Ditto. | |
2254 | (os_shutdown): Ditto. | |
2255 | (os_init): Ditto. | |
2256 | (os_printf_filtered): Ditto. | |
2257 | ||
2258 | * scm-lang.h (scm_parse): Change old style decl to prototype. | |
2259 | * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto. | |
2260 | * top.c (init_proc): Ditto. | |
2261 | (query_hook): Ditto. | |
2262 | (error_hook): Ditto. | |
2263 | * f-lang.c (c_value_print): Ditto. | |
2264 | * ch-exp.c (parse_expression): Ditto. | |
2265 | (parse_primval): Ditto. | |
2266 | (parse_untyped_expr): Ditto. | |
2267 | (parse_opt_untyped_expr): Ditto. | |
2268 | (ch_lex): Ditto. | |
2269 | * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto. | |
2270 | (sparc_frame_saved_pc): Ditto. | |
2271 | (sparc_push_dummy_frame): Ditto. | |
2272 | (sparc_pop_frame): Ditto. | |
2273 | * defs.h (fclose): Ditto. | |
2274 | (atof): Ditto. | |
2275 | (error_hook): Ditto. | |
2276 | ||
2277 | * arc-tdep.c (single_step): Change arg to type "enum target_signal". | |
2278 | * rs6000-tdep.c (single_step): Ditto. | |
2279 | * sparc-tdep.c (single_step): Ditto. | |
2280 | ||
2281 | * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type | |
2282 | to PTR which is what make_cleanup expects. | |
2283 | * utils.c (null_cleanup): Change arg type to PTR. | |
2284 | * defs.h (null_cleanup): Change prototype to match actual function. | |
2285 | * config/sparc/tm-sparc.h (struct frame_info): Move forward decl. | |
2286 | * ch-valprint.c (chill_val_print): Cast 2nd arg of | |
2287 | chill_print_type_scalar to LONGEST. | |
2288 | * infrun.c (wait_for_inferior): Have empty switch case for | |
2289 | BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined. | |
2290 | (stop_on_solib_events): Only needed if SOLIB_ADD is defined. | |
2291 | * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD | |
2292 | is defined. | |
2293 | * symfile.c (generic_load): Scan long int using a long int spec, | |
2294 | not an int spec. | |
2295 | * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE | |
2296 | is defined. | |
2297 | (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is | |
2298 | not defined. | |
2299 | * inflow.c (handle_sigio): Only need prototype when the actual | |
2300 | function is compiled in. | |
2301 | * valprint.c (longest_to_int): Expand error message to be | |
2302 | separate messages for args larger than largest signed int | |
2303 | and args smaller than smallest signed int. | |
2304 | * valprint.c (print_longest): Fix problems with support for case | |
2305 | where compiler supports type "long long" but the runtime doesn't | |
2306 | support printing them with "%ll". | |
2307 | * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change | |
2308 | return types to void since we don't actually return anything | |
2309 | meaningful and callees ignore the values anyway. | |
2310 | * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET | |
2311 | ifdef. | |
2312 | (modify_run_on_last_close_flag): Ditto. | |
2313 | (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL | |
2314 | ifdef | |
2315 | * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than | |
2316 | random value. | |
2317 | * infrun.c (wait_for_inferior): Ensure random_signal is not used | |
2318 | uninitialized. | |
2319 | * valops.c (call_function_by_hand): Ensure struct_addr is not used | |
2320 | uninitialized. | |
2321 | * breakpoint.c (watch_command_1): Ensure prev_frame is not used | |
2322 | uninitialized. | |
2323 | * utils.c (vfprintf_maybe_filtered): Change second arg from "char *" | |
2324 | to "const char *". | |
cb74cc24 | 2325 | start-sanitize-gdbtk |
b607efe7 FF |
2326 | * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers |
2327 | to proper pointer type, from int. | |
2328 | (gdbtk_query): Change first arg to "const char *" from "char *". | |
cb74cc24 | 2329 | end-sanitize-gdbtk |
b607efe7 FF |
2330 | * infptrace.c (udot_info): Add two dummy args so that the type is |
2331 | correct for passing to add_info. | |
2332 | * f-lang.c (saved_fcn): Move decl to head of file so it can be used | |
2333 | in prototypes. | |
2334 | (saved_bf_symnum): Ditto. | |
2335 | (SAVED_FUNCTION): Ditto. | |
2336 | (SAVED_FUNCTION_PTR): Ditto. | |
2337 | (SAVED_BF): Ditto. | |
2338 | (SAVED_BF_PTR): Ditto. | |
2339 | * ch-exp.c (parse_named_record_element): Build error message in | |
2340 | temporary buffer before passing it to expect, rather than passing | |
2341 | wrong number of args to expect. | |
2342 | * demangle.c (set_demangling_style): Call set_demangling_command with | |
2343 | correct number of arguments. | |
2344 | * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to | |
2345 | int to match actual function. | |
2346 | (os_isatty): Call fdmap with right number of arguments, was missing | |
2347 | the host_callback* arg. | |
2348 | * target.c (cleanup_target): Prototype all functions casts. | |
2349 | * target.h (one_stepped, single_step): Declare here and convert | |
2350 | single_step to prototype. | |
2351 | * infrun.c (one_stepped, single_step): Don't declare externs | |
2352 | here, they have moved to target.h. | |
2353 | * eval.c (init_array_element): Declare previously undeclared | |
2354 | last two args as LONGEST. | |
2355 | * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form. | |
cb74cc24 SS |
2356 | start-sanitize-gdbtk |
2357 | * gdbtk.c (register_changed_p): Remove unused local variable "buf". | |
2358 | end-sanitize-gdbtk | |
b607efe7 | 2359 | |
dc88c64e DE |
2360 | Thu Jul 25 16:11:54 1996 Doug Evans <dje@canuck.cygnus.com> |
2361 | ||
2362 | * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS. | |
2363 | ||
3a179be1 SG |
2364 | Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com) |
2365 | ||
2366 | * Makefile.in (os9kread.o): Remove dependency on partial-stab.h. | |
2367 | * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't | |
2368 | use partial_symtab->textlow==0 as a flag, as 0 is a legitimate | |
2369 | text address. Use a seperate flag (textlow_not_set) instead. | |
2370 | This makes stabs in ELF .o files work a lot better. | |
2371 | * mdebugread.c xcoffread.c: Define textlow_not_set for | |
2372 | partial-stab.h. | |
2373 | * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype. | |
2374 | ||
cb74cc24 | 2375 | start-sanitize-gdbtk |
396bf873 FF |
2376 | Sat Jul 20 17:46:40 1996 Fred Fish <fnf@cygnus.com> |
2377 | ||
2378 | * gdbtk.tcl (files_command): Reorder the binding tags for | |
2379 | the listbox widget to avoid referencing the listbox after | |
2380 | the containing widget has been destroyed by the action of | |
2381 | a previous binding. | |
cb74cc24 | 2382 | end-sanitize-gdbtk |
396bf873 | 2383 | |
9422fadb FF |
2384 | Sat Jul 20 10:41:06 1996 Fred Fish <fnf@cygnus.com> |
2385 | ||
2386 | * dwarf2read.c (struct filenames): Change internal "struct file" | |
2387 | to "struct fileinfo" to avoid conflict with "struct file" in | |
2388 | <sys/file.h> on HPUX and Solaris. | |
2389 | ||
cb74cc24 | 2390 | start-sanitize-gdbtk |
efd14e45 FF |
2391 | Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com> |
2392 | ||
2393 | * gdbtk.tcl (delete_expr): Unset corresponding element of | |
2394 | expr_update_list when destroying an expression. | |
2395 | (create_expr_window): Initialize expr_num, delete_expr_num, | |
2396 | and expr_update_list here when each new expression window | |
2397 | is created, rather than once at startup. | |
cb74cc24 | 2398 | end-sanitize-gdbtk |
efd14e45 | 2399 | |
fcf05549 SS |
2400 | Fri Jul 19 14:05:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
2401 | ||
2402 | * dwarf2read.c: New file, DWARF 2 reader originally contributed by | |
2403 | Brent Benson, with additions by Gary Funck and Jerry Kreuscher. | |
2404 | * Makefile.in (COMMON_OBS): Add dwarf2read.o. | |
2405 | (SFILES): Add dwarf2read.c. | |
2406 | (dwarf2read.o): Add build rule. | |
2407 | * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare | |
2408 | exported functions. | |
2409 | * elfread.c (elf_symfile_read): Call them. | |
2410 | (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols. | |
2411 | ||
3f17fed8 GN |
2412 | Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com> |
2413 | ||
2414 | * symfile.c (symfile_bfd_open): | |
2415 | * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems, | |
2416 | free the user from having to type the .exe extension. | |
2417 | ||
2531b169 MA |
2418 | Wed Jul 17 06:54:50 1996 Mark Alexander <marka@cygnus.com> |
2419 | ||
2420 | * mon960-rom.c: Shorten the mon960_inits string to a single | |
2421 | carriage return; this prevents a hang on connecting immediately | |
2422 | after powerup, when MON960 is attempting autobaud detection. | |
2423 | ||
48b497ed MA |
2424 | Tue Jul 16 23:47:04 1996 Mark Alexander <marka@cygnus.com> |
2425 | ||
2426 | * a29k-tdep.c (get_saved_register): Allow PC to be modified | |
2427 | when innermost frame is selected, but not in outer frames. | |
2428 | ||
76420d46 SG |
2429 | Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com) |
2430 | ||
2431 | * command.c (do_setshow_command): Don't segfault when showing | |
2432 | var_string and var_string_noescape vars that are NULL. | |
2433 | ||
2dcfc9c7 DE |
2434 | Mon Jul 15 16:55:48 1996 Doug Evans <dje@canuck.cygnus.com> |
2435 | ||
2436 | * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to | |
2437 | cygwin32_conv_to_posix_path. | |
2438 | (child_create_inferior): unix_path_to_dos_path renamed to | |
2439 | cygwin32_conv_to_win32_path. Rewrite code to translate PATH. | |
2440 | ||
91550191 SG |
2441 | Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com) |
2442 | ||
2443 | * defs.h printcmd.c: Create global disassemble_info structure | |
2444 | tm_print_insn_info. | |
cb74cc24 | 2445 | start-sanitize-gdbtk |
91550191 SG |
2446 | * gdbtk.c (gdb_disassemble): Setup di.mach from |
2447 | tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. | |
cb74cc24 | 2448 | end-sanitize-gdbtk |
91550191 SG |
2449 | * i386-tdep.c (set_assembly_language_command): set |
2450 | tm_print_insn_info.mach to the appropriate value for 386 or 8086 | |
2451 | disassembly. | |
2452 | * printcmd.c (print_insn): Move init of disassembler_info to | |
2453 | _initialize_printcmd. Set endian for disassembler here. | |
2454 | * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to | |
2455 | select sparc/sparclite. | |
2456 | * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of | |
2457 | TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to | |
2458 | bfd_mach_sparc/bfd_mach_sparc_sparclite. | |
2459 | ||
d369b213 FF |
2460 | Fri Jul 12 19:04:32 1996 Fred Fish <fnf@cygnus.com> |
2461 | ||
2462 | * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather | |
2463 | than xmalloc/xrealloc. | |
2464 | ||
26b3dc44 | 2465 | Fri Jul 12 17:59:47 1996 Fred Fish <fnf@cygnus.com> |
c0e6ae2e FF |
2466 | |
2467 | * objfiles.c (map_to_file): Error return from mmalloc_findbase is | |
2468 | a NULL pointer, not a -1. | |
2469 | ||
f33b2c13 SG |
2470 | Fri Jul 12 10:16:24 1996 Stu Grossman (grossman@critters.cygnus.com) |
2471 | ||
2472 | * i386-tdep.c (set_assembly_language_command): New routine to | |
2473 | select between i386 and i8086 instruction sets for disassembly. | |
2474 | New command `set assembly-language {i386 i8086}'. | |
2475 | ||
f3138a7c MA |
2476 | Thu Jul 11 21:13:21 1996 Mark Alexander <marka@cygnus.com> |
2477 | ||
2478 | * monitor.c (monitor_write_memory, monitor_read_memory_single): | |
2479 | Disable use of "long long" memory read/write commands; can't | |
2480 | use them because we hold the values to read/write in an int | |
2481 | variable, and because strtoul fails on values that exceed the | |
2482 | size of a long. This fixes breakpoint problems on MON960. | |
2483 | ||
4853b6d1 FF |
2484 | Thu Jul 11 11:39:31 1996 Fred Fish <fnf@cygnus.com> |
2485 | ||
2486 | * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition. | |
2487 | * config/pa/xm-hppah.h (HAVE_MMAP): Ditto. | |
2488 | ||
54109914 FF |
2489 | Wed Jul 10 16:54:41 1996 Fred Fish <fnf@cygnus.com> |
2490 | ||
2491 | * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE | |
2492 | and MMALLOC_CHECK macros, and add comment indicating how host dependent | |
2493 | makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or | |
2494 | to use it but to not do heap corruption checking. | |
2495 | * gdbserver/Makefile.in: Ditto. | |
2496 | * utils.c (init_malloc): Replace warning() use with direct call of | |
2497 | fprintf_unfiltered, since current_target has not yet been set and thus | |
2498 | we cannot use warning(). If we try to use mmcheck and it fails, | |
2499 | suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE | |
2500 | defined. Other small mmalloc related cleanups. | |
2501 | * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. | |
2502 | * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK. | |
2503 | ||
2504 | * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2505 | * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2506 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2507 | * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2508 | * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT); | |
2509 | * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2510 | * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2511 | * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2512 | Remove obsolete defines. | |
2513 | ||
2514 | * config/alpha/alpha-linux.mh (MMALLOC_DISABLE): | |
2515 | * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE): | |
2516 | * config/rs6000/rs6000.mh (MMALLOC_DISABLE): | |
2517 | * config/rs6000/aix4.mh (MMALLOC_DISABLE): | |
2518 | * config/powerpc/aix4.mh (MMALLOC_DISABLE): | |
2519 | * config/powerpc/aix.mh (MMALLOC_DISABLE): | |
2520 | * config/ns32k/ns32km3.mh (MMALLOC_DISABLE): | |
2521 | * config/mips/mipsm3.mh (MMALLOC_DISABLE): | |
2522 | * config/mips/decstation.mh (MMALLOC_DISABLE): | |
2523 | * config/m88k/cxux.mh (MMALLOC_DISABLE): | |
2524 | * config/i386/i386mk.mh (MMALLOC_DISABLE): | |
2525 | * config/i386/i386m3.mh (MMALLOC_DISABLE): | |
2526 | * config/i386/i386gnu.mh (MMALLOC_DISABLE): | |
2527 | Use MMALLOC_CFLAGS instead. | |
2528 | ||
4679717d JL |
2529 | Tue Jul 9 22:41:12 1996 Jeffrey A Law (law@cygnus.com) |
2530 | ||
2531 | * h8300-tdep.c: Remove some outdated comments. | |
2532 | (h8300_skip_prologue): Rework to be more correct for the H8/300H. | |
2533 | Handle stm.l insns for the H8/S. | |
2534 | (examine_prologue): Likewise. | |
2535 | ||
15aec61c RJ |
2536 | Tue Jul 9 16:48:55 1996 Raymond Jou <rjou@mexican.cygnus.com> |
2537 | ||
2538 | * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf. | |
2539 | ||
ee7b308f MA |
2540 | Mon Jul 08 08:50:39 1996 Mark Alexander <marka@cygnus.com> |
2541 | ||
2542 | * mon960-rom.c (mon960_open): Add floating point detection to | |
2543 | prevent hang on non-FPU processors (PR 9775). | |
2544 | (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem | |
2545 | setting breakpoints and improve loading speed. | |
2546 | ||
ace4b8d7 FF |
2547 | Sun Jul 7 14:57:34 1996 Fred Fish <fnf@cygnus.com> |
2548 | ||
2549 | * coffread.c (record_minimal_symbol): Don't presave name string | |
2550 | on symbol_obstack before passing to prim_record_minimal_symbol. | |
2551 | It now handles saving the string itself. | |
2552 | * dbxread.c (read_dbx_dynamic_symtab): Ditto. | |
2553 | * mipsread.c (read_alphacoff_dynamic_symtab): Ditto. | |
2554 | * os9kread.c (record_minimal_symbol): Ditto. | |
2555 | * solib.c (solib_add_common_symbols): Ditto. | |
2556 | ||
2557 | * coffread.c (coff_symtab_read): Don't presave name string on | |
2558 | symbol_obstack before passing to prim_record_minimal_symbol_and_info. | |
2559 | It now handles saving the string itself. | |
2560 | * dbxread.c (record_minimal_symbol): Ditto. | |
2561 | * elfread.c (record_minimal_symbol_and_info): Ditto. | |
2562 | ||
2563 | * dstread.c (record_minimal_symbol): Remove static function that just | |
2564 | called prim_record_minimal_symbol with the same args (after change to | |
2565 | prim_record_minimal_symbol to do it's own name string saves). | |
2566 | * nlmread.c (record_minimal_symbol): Ditto. | |
2567 | * somread.c (record_minimal_symbol): Ditto. | |
2568 | ||
2569 | * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack. | |
2570 | (hpread_read_function_type): Ditto. | |
2571 | (hpread_process_one_debug_symbol): Ditto. | |
2572 | * mdebugread.c (parse_symbol): Ditto. | |
2573 | (new_symbol): Ditto. | |
2574 | * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. | |
2575 | ||
2576 | * coffread.c (process_coff_symbol): Use obsavestring to save | |
2577 | SYMBOL_NAME, rather than obstack_copy0. | |
2578 | * dstread.c (create_new_symbol): Ditto | |
2579 | * symfile.c (obconcat): Ditto. | |
2580 | * stabsread.c (patch_block_stabs): Ditto. | |
2581 | * xcoffread.c (SYMNAME_ALLOC): Ditto. | |
2582 | ||
2583 | * symfile.c (obsavestring): Update comments | |
2584 | * solib.c (solib_add_common_symbols): Remove local var origname. | |
2585 | ||
89e673a4 SG |
2586 | Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com) |
2587 | ||
bc859e63 SG |
2588 | * configure: Re-build with autoconf-2.10. |
2589 | ||
89e673a4 SG |
2590 | * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h, |
2591 | config/sparc/tm-sparclite.h: Initialize tm_print_insn from | |
2592 | TM_PRINT_INSN, which comes from the tm file. | |
2593 | ||
e74acce4 MA |
2594 | Tue Jul 02 21:41:20 1996 Mark Alexander <marka@cygnus.com> |
2595 | ||
2596 | * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, | |
2597 | os9kread.c: Replace identical sym_offsets functions with | |
2598 | default_symfile_offsets. | |
2599 | * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS | |
2600 | macro to allocate section_offsets. | |
2601 | * symfile.c (default_symfile_offsets): New function. | |
2602 | * symfile.h: Declare default_symfile_offsets. | |
2603 | * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to | |
2604 | simplify allocation of section_offsets. | |
2605 | ||
89e673a4 SG |
2606 | Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com) |
2607 | ||
2608 | * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. | |
2609 | * configure configure.in: Only make sol-thread.o for native. | |
2610 | Also, switch to dlopened libthread_db.so.1. | |
2611 | * sol-thread.c: Switch to using dlopen to get the thread_db | |
2612 | library. | |
2613 | ||
2614 | Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2615 | ||
2616 | * configure, configure.in: Change test for libthread_db to only | |
2617 | work for configs where build/host/target are the same. | |
2618 | ||
eafdda3d MM |
2619 | Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
2620 | ||
2621 | * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on | |
2622 | PowerPC. | |
2623 | ||
2624 | * configure.in (powerpc-*-linux): Add Linux, System V, and ELF | |
2625 | support. | |
2626 | * configure: Regenerate. | |
2627 | ||
6687c953 SS |
2628 | Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com> |
2629 | ||
2630 | From Raymond Jou <rjou@mexican.cygnus.com>: | |
2631 | * mpw-make.sed: Add lines to whack out autoconf hook | |
2632 | @CONFIG_LDFLAGS@. | |
2633 | ||
97fd185a | 2634 | Mon Jul 01 11:07:15 1996 Mark Alexander <marka@cygnus.com> |
012be3ce | 2635 | |
97fd185a | 2636 | * remote-e7000.c (e7000_stop): New function. |
012be3ce DP |
2637 | |
2638 | Fri Jun 28 06:34:19 1996 Dawn Perchik <dawn@cygnus.com> | |
2639 | ||
6687c953 SS |
2640 | * configure, configure.in: Add target sparclet. |
2641 | * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM | |
2642 | (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if | |
2643 | command to start process running on target is different from one | |
2644 | to continue execution), MO_HEX_PREFIX (if addresses from monitor | |
2645 | have a "0x" prefix). | |
2646 | * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the | |
2647 | registers array. This is to allow NULLs to be place holders in | |
2648 | the tm-*.h file so that only minor changes are needed when a new | |
2649 | processor is introduced (eg, one without floating point). | |
2650 | * sparc-tdep.c: Conditionally remove dependancies on floating | |
2651 | point. | |
2652 | * sparclet-rom.c, config/sparc/sparclet.mt, | |
2653 | config/sparc/tm-sparclet.h: New files for target sparclet. | |
2654 | * symfile.c (load_command): Add option for 2nd parameter; a load | |
2655 | offset added to the vma of each section. | |
012be3ce | 2656 | |
265c044a DP |
2657 | Fri Jun 28 05:39:19 1996 Dawn Perchik <dawn@cygnus.com> |
2658 | ||
2659 | * main.c (main): Add option "l" for setting remote_timeout. | |
2660 | ||
cb1709ae DP |
2661 | Fri Jun 28 05:25:18 1996 Dawn Perchik <dawn@cygnus.com> |
2662 | ||
6687c953 SS |
2663 | * remote-e7000.c, remote.c, target.h, top.c: Add set option |
2664 | "remote_timeout" for setting remote_timeout. Add set option | |
2665 | "use_hard_breakpoints" for setting hardware .vs. memory | |
2666 | breakpoints. | |
cb1709ae | 2667 | |
56a4bf53 DP |
2668 | Fri Jun 28 04:32:18 1996 Dawn Perchik <dawn@cygnus.com> |
2669 | ||
2670 | * remote-e7000.c (e7000_parse_device): New function. | |
2671 | Add option "tcp_remote" to target command if using | |
2672 | tcp to connect to a remote host which is then connected | |
2673 | via serial port to the e7000 (for exampole, a port master). | |
2674 | (e7000_open): Change to call e7000_parse_device. | |
2675 | ||
f7ce02f4 DP |
2676 | Fri Jun 28 03:47:17 1996 Dawn Perchik <dawn@cygnus.com> |
2677 | ||
2678 | * monitor.c (monitor_debug): Fix remotedebug buffering. | |
2679 | ||
99afd188 SS |
2680 | Thu Jun 27 18:24:17 1996 Stan Shebs <shebs@andros.cygnus.com> |
2681 | ||
2682 | * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh | |
2683 | (NATDEPFILES): Add a space. | |
2684 | ||
81508b27 WM |
2685 | Wed Jun 26 06:05:39 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
2686 | ||
2687 | * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type) | |
2688 | is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type. | |
2689 | ||
2690 | * ch-exp.c (calculate_array_length): Function removed. | |
2691 | ||
ebea0366 MH |
2692 | Tue Jun 25 17:41:06 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
2693 | ||
2694 | * remote-e7000.c (e7000_read_inferior_memory_large): New function. | |
2695 | (e7000_xfer_inferior_memory): Call it. | |
2696 | ||
a69b7bdc JM |
2697 | Tue Jun 25 23:14:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) |
2698 | ||
2699 | * gdb/gdbserver/Makefile.in (docdir): Removed. | |
2700 | ||
5d8b7982 JM |
2701 | Tue Jun 25 22:05:38 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) |
2702 | ||
2703 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir): | |
2704 | Use autoconf set values. | |
2705 | (docdir): Removed. | |
2706 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
2707 | * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir, | |
2708 | includedir): Use autoconf set values. | |
2709 | (docdir): Removed. | |
2710 | * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
2711 | * nlm/configure: Rebuilt. | |
2712 | * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share. | |
2713 | ||
2714 | Mon Jun 24 09:56:14 1996 Angela Marie Thomas (angela@cygnus.com) | |
2715 | ||
2716 | * stabsread.c (read_cfront_member_functions): add type | |
2717 | ||
2718 | Sun Jun 23 23:40:48 1996 Doug Evans <dje@canuck.cygnus.com> | |
2719 | ||
2720 | * win32-nat.c: #include <unistd.h>. | |
2721 | (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete. | |
2722 | (child_create_inferior): Convert only env var PATH to win32 style. | |
2723 | (set_pathstyle_dos): Delete. | |
2724 | (_initialize_inftarg): Delete dos-path-style command. | |
2725 | ||
3d9f68c0 | 2726 | start-sanitize-gdbtk |
ab5c0a12 FF |
2727 | Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com> |
2728 | ||
2729 | * gdbtk.tcl (create_register_windows): Include missing '$'s. | |
2730 | Add global declarations for various reg_format_* variables. | |
4149b5f4 FF |
2731 | * gdbtk.tcl (populate_register_window): Make initial window one |
2732 | line taller to account for new column header line. | |
ab5c0a12 FF |
2733 | |
2734 | Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com> | |
3d9f68c0 FF |
2735 | |
2736 | * gdbtk.c (get_register): Support for printing raw formats. | |
2737 | * gdbtk.tcl: Add hint for using debug_interface. | |
2738 | (center_window, add_breakpoint_frame, delete_breakpoint_frame): | |
2739 | Enclose arg in braces for consistency. | |
2740 | (create_registers_window, populate_reg_window, update_registers): | |
ab5c0a12 FF |
2741 | Major rewrite to support displaying multiple formats in the register |
2742 | window. | |
3d9f68c0 FF |
2743 | (init_reg_info): New function. |
2744 | (recompute_reg_display_list): Reset reg_display_list, start | |
2745 | register display lines at line 2. | |
2746 | ||
2747 | end-sanitize-gdbtk | |
1a7b4b7c DE |
2748 | Thu Jun 20 13:42:23 1996 Doug Evans <dje@canuck.cygnus.com> |
2749 | ||
2750 | * configure.in: Revise sol-thread.o test. | |
2751 | * configure: Regenerated. | |
2752 | ||
2753 | * source.c (find_source_lines): Reassign size to result of read. | |
2754 | ||
b613bfbf | 2755 | start-sanitize-gdbtk |
3f8eefba FF |
2756 | Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com> |
2757 | ||
2758 | * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to | |
2759 | avoid backing up over prompt. At every input, make sure insert | |
2760 | point is at least after command start, handle control-u to delete | |
2761 | current input line. | |
2762 | (tclsh): Handle backspace to avoid backing up over prompt. Handle | |
2763 | control-u to delete current input line. | |
2764 | ||
b613bfbf GN |
2765 | Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com> |
2766 | ||
2767 | * configure.in: disable gdbtk for *cygwin32* hosted compiles | |
2768 | * configure: regenerated with autoconf 2.8 | |
2769 | ||
2770 | end-sanitize-gdbtk | |
b613bfbf GN |
2771 | Tue Jun 18 16:25:54 1996 Jeffrey A. Law <law@rtl.cygnus.com> |
2772 | ||
2773 | * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S. | |
2774 | (h8300_command): Likewise. | |
2775 | (set_machine): Likewise. | |
2776 | (set_machine_hook): Likewise. | |
2777 | (_initialize_h8300m): Likewise. | |
2778 | ||
2779 | * config/h8300/tm-h8300.h (h8300smode): Declare. | |
2780 | ||
5499f9a1 JL |
2781 | Sun Jun 16 15:21:51 1996 Jeffrey A. Law <law@rtl.cygnus.com> |
2782 | ||
2783 | * somsolib.c (som_solib_create_inferior_hook): Handle tracking | |
2784 | of shl_load calls for hpux10. | |
2785 | ||
2786 | Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com> | |
2787 | ||
2788 | * config.in: Regenerated. | |
2789 | * acconfig.h (HAVE_THREAD_DB_LIB): Added entry. | |
2790 | ||
2791 | * configure: Regenerated. | |
2792 | * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to | |
2793 | avoid name clashes with SunOS headers. | |
2794 | ||
9d111656 FF |
2795 | Tue Jun 11 19:52:50 1996 Fred Fish <fnf@cygnus.com> |
2796 | ||
2797 | From Michael Snyder <Michael_Snyder@next.com>: | |
2798 | * bcache.c (print_bcache_statistics): Avoid divide-by-zero | |
2799 | exception if one or more objfile has no symbols, such as when | |
2800 | a dynamic library has been stripped. | |
2801 | ||
2802 | Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2803 | ||
2804 | * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. | |
2805 | * configure configure.in: Only make sol-thread.o for native. | |
2806 | Also, switch to dlopened libthread_db.so.1. | |
2807 | * sol-thread.c: Switch to using dlopen to get the thread_db | |
2808 | library. | |
2809 | ||
f023ce5c FF |
2810 | Mon Jun 10 14:17:19 1996 Fred Fish <fnf@cygnus.com> |
2811 | ||
2812 | * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS): | |
2813 | Change from 0xE0000000 to 0xC0000000. | |
2814 | ||
2815 | Thu Jun 6 17:10:32 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
2816 | ||
2817 | * config/powerpc/xm-solaris.h: Initial version of support for | |
2818 | Solaris on PowerPC. | |
2819 | ||
911026aa JSC |
2820 | Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk> |
2821 | ||
2822 | * configure.in (configdirs): Force 4100 builds to use 4300 GDB | |
2823 | target. | |
2824 | * configure: Rebuild. | |
2825 | ||
2826 | * config/mips/vr4300el.mt (SIM_OBS): Include simulator in | |
2827 | little-endian builds. | |
2828 | ||
093c1a2f JL |
2829 | Mon Jun 3 11:48:29 1996 Jeffrey A Law (law@cygnus.com) |
2830 | ||
f4c952e4 JL |
2831 | * inftarg.c (child_thread_alive): Protect declaration with |
2832 | #ifndef CHILD_THREAD_ALIVE. | |
2833 | ||
093c1a2f JL |
2834 | * source.c (find_source_lines): Check the time on the symtab's bfd if |
2835 | it exists, else check the time on the exec_bfd. | |
2836 | ||
f6decc18 MA |
2837 | Thu May 30 09:43:17 1996 Mark Alexander <marka@cygnus.com> |
2838 | ||
2839 | * dsrec.c (make_srec): Fix calculation of address size | |
2840 | to allow addresses less than 0x100. | |
2841 | ||
3db21ca5 WM |
2842 | Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
2843 | ||
2844 | * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length. | |
2845 | ||
3308a107 GN |
2846 | Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com> |
2847 | ||
2848 | * remote-mips.c: cannot use EINVAL for breakpoint test since | |
2849 | its value varies for different hosts (e.g. go32's is 19, while | |
2850 | sunos is 22). Changed to hardcoded 22 since that is what the | |
2851 | mips boards return. | |
2852 | ||
e44d1491 TT |
2853 | Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com> |
2854 | ||
2855 | * configure: Regenerated. | |
2856 | * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN. | |
2857 | (CY_AC_PATH_TKH): Don't use AC_TRY_RUN. | |
2858 | ||
76420d46 SG |
2859 | Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu> |
2860 | ||
2861 | * solib.c (solib_absolute_prefix, solib_search_path): New variables. | |
2862 | (_initialize_solib): Add set/show commands for those variables. | |
2863 | (solib_map_sections): Implement searching using them. | |
2864 | ||
9391c997 FF |
2865 | Sun May 26 14:14:49 1996 Fred Fish <fnf@cygnus.com> |
2866 | ||
2867 | Changes from: David Mosberger-Tang <davidm@azstarnet.com> | |
2868 | ||
2869 | * NEWS: Add Alpha Linux as a new native configuration. | |
2870 | ||
2871 | * mdebugread.c (parse_symbol): When we find a malloc() symbol with | |
2872 | return type VOID, assume no debugging info is available for that | |
2873 | object file and patch the return value into VOID *. Otherwise, | |
2874 | operations requiring an implicit call to malloc() will fail. | |
2875 | ||
2876 | * infrun.c (wait_for_inferior): The criterion to detect entering a | |
2877 | sigtramp handler is now: (a) the current pc is inside a sigtramp | |
2878 | handler, (b) the previous pc is not in a sigtramp handler, and (c) | |
2879 | the current stack pointer is "inner" than the old one. Condition | |
2880 | (c) is new to avoid mistaking a return from a signal handler into | |
2881 | sigtramp as a new sigtramp invocation. | |
2882 | ||
2883 | * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An | |
2884 | int may not be big enough to hold an address. | |
2885 | (dcache_hit): Ditto. | |
2886 | (dcache_peek_byte): Fix indentation. | |
2887 | ||
2888 | * configure.in (alpha-*-linux*): Add target. | |
2889 | * configure: Rebuild | |
2890 | ||
2891 | * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro. | |
2892 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
2893 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
2894 | (SIGCONTEXT_ADDR): Ditto. | |
2895 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
2896 | ||
2897 | * config/alpha/alpha-linux.mh: New file. | |
2898 | * config/alpha/alpha-linux.mt: Ditto. | |
2899 | * config/alpha/nm-linux.h: Ditto. | |
2900 | * config/alpha/tm-alphalinux.h: Ditto. | |
2901 | * config/alpha/xm-alphalinux.h: Ditto. | |
2902 | * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h. | |
2903 | * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to | |
2904 | xm-alphaosf.h. | |
2905 | * config/alpha/alpha-osf2.mh: Ditto. | |
2906 | ||
2907 | * blockframe.c (find_pc_partial_function): Pass PC to | |
2908 | SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems | |
2909 | that detect sigtramp code via designated code sequences (as is the | |
2910 | case for Linux/Alpha, for example). | |
2911 | ||
2912 | * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END | |
2913 | to ignore new PC argument. | |
2914 | * config/m68k/tm-hp300bsd.h: Ditto. | |
2915 | * config/vax/tm-vax.h: Ditto. | |
2916 | ||
2917 | * alpha-tdep.c (alpha_linux_sigtramp_offset): New function. | |
2918 | (alpha_osf_skip_sigtramp_frame): Ditto. | |
2919 | (push_sigtramp_desc): Ditto. | |
2920 | (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract | |
2921 | sigcontext address from frame. | |
2922 | (alpha_saved_pc_after_call): When in sigtramp, use | |
2923 | alpha_frame_saved_pc() instead of read-register(). | |
2924 | (after_prologue): When inside a dynamically generated sigtramp | |
2925 | function, there is no prologue, so return address of first | |
2926 | instruction. | |
2927 | (alpha_in_prologue): Fix typo in comment. | |
2928 | (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine | |
2929 | whether we're inside a dynamicaly generated sigtramp function. If | |
2930 | so, create and push and appropriate procedure descriptor. | |
2931 | (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain | |
2932 | the frame past a sigtramp frame (if the current frame is indeed a | |
2933 | sigtramp function). | |
2934 | (init_extra_frame_info): Don't read next frame register off of | |
2935 | stack-pointer when inside a dynamiccaly generated sigtramp. | |
2936 | (alpha_pop_frame): Also unlink and destroy procedure descriptors | |
2937 | created for dynamically generated sigtramp functions. | |
2938 | ||
2939 | * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and | |
2940 | <alpha/ptrace.h> instead of <machine/reg.h> | |
2941 | ||
647e52ea SG |
2942 | Tue Jul 2 13:58:10 1996 Miles Bader <miles@gnu.ai.mit.edu> |
2943 | ||
2944 | * gnu-nat.c (inf_validate_task_sc): | |
2945 | Give terminal to gdb while asking question. | |
2946 | (inf_resume): Don't validate the task suspend-count while execing. | |
2947 | ||
2948 | Thu Jun 13 11:04:52 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2949 | ||
2950 | * gnu-nat.c (inf_validate_task_sc): Query user before clearing any | |
2951 | additional suspend count. | |
2952 | (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc. | |
2953 | (inf_resume): Call inf_validate_task_sc here. | |
2954 | (gnu_resume): Call inf_update_procs to ensure noticing new threads. | |
2955 | ||
2956 | Fri Jun 7 17:00:43 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2957 | ||
2958 | * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID. | |
2959 | ||
52f74d48 JL |
2960 | Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com) |
2961 | ||
31778db0 JL |
2962 | * h8300-tdep.c (IS_PUSH): Refine. |
2963 | (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints. | |
2964 | (IS_SUB4_SP, IS_SUBL_SP): New macros. | |
2965 | (h8300_skip_prologue): Handle H8/300H prologue code sequences. | |
2966 | (examine_prologue): Handle addresses from 0x010000 to 0xffffff | |
2967 | when in H8/300H mode. Get the return pointer's address correctly | |
2968 | for the H8/300H. Handle H8/300H prolouge code sequences. | |
2969 | ||
52f74d48 JL |
2970 | * symfile.c (generic_load): Print the starting address |
2971 | of the file just loaded. | |
2972 | ||
e7600d8e SS |
2973 | Thu May 23 12:09:52 1996 Stan Shebs <shebs@andros.cygnus.com> |
2974 | ||
2975 | * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile. | |
2976 | ||
2977 | Tue May 21 11:53:56 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
2978 | ||
2979 | * breakpoint.c (bpstat_do_actions): Avoid endless recursion | |
2980 | if a `source' command is contained in bs->commands. | |
2981 | ||
2982 | * infrun.c (wait_for_inferior): Update step_frame_address when | |
2983 | stepping into a new line. | |
2984 | ||
2985 | From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab): | |
2986 | * breakpoint.c (breakpoint_1): Add shlib_disabled case to | |
2987 | bpenables array. | |
2988 | ||
c92f31c6 MA |
2989 | Mon May 20 22:52:00 1996 Mark Alexander <marka@cygnus.com> |
2990 | ||
2991 | * dsrec.c (load_srec): Add WAITACK parameter, for machines | |
2992 | like EST visionICE that send back an ACK after each S-record. | |
2993 | * monitor.c (monitor_wait_srec_ack): New function. | |
2994 | (monitor_load): Pass monitor_wait_srec_ack to load_srec | |
2995 | if the monitor's MO_SREC_ACK flag is set. | |
2996 | * monitor.h: Define MO_SREC_ACK flag. | |
2997 | * remote-est.c (est_cmds): Add MO_SREC_ACK flag. | |
2998 | * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype. | |
2999 | * srec.h: Add WAITACK parameter to load_srec prototype. | |
3000 | ||
6a4bfd83 RS |
3001 | Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll> |
3002 | ||
3003 | * config/sparc/sparclite.mt: Add the sparc simulator. | |
3004 | ||
41756e56 FF |
3005 | Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com> |
3006 | ||
3007 | * defs.h (read_command_lines, query_hook): Update prototypes. | |
3008 | (readline_begin_hook, readline_hook, readline_end_hook): Declare. | |
3009 | * breakpoint.c (commands_command): Build message in temporary buffer | |
3010 | and pass that, as well as tty control flag, to read_command_lines. | |
3011 | * top.c (readline_begin_hook, readline_hook, readline_end_hook): | |
3012 | Define here. | |
3013 | (command_loop): Check for non-NULL instream before looping. | |
3014 | (command_line_input): Use readline_hook when appropriate, to get | |
3015 | user input from a GUI window. | |
3016 | (read_next_line): Also build prompt if getting user input from a GUI. | |
3017 | (recurse_read_control_structure): Fix typo in comment. | |
3018 | (read_command_lines): Use passed in prompt and tty flag to decide how | |
3019 | to build message. Use readline_begin_hook when appropriate, to set | |
3020 | up a GUI interaction window. Just return head, whether NULL or not, | |
3021 | after using readline_end_hook to complete GUI interaction. | |
3022 | (define_command, document_command): Build message in a temporary | |
3023 | buffer and pass it to read_command_lines, along with tty flag. | |
3024 | ||
3025 | start-sanitize-gdbtk | |
3026 | * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end): | |
3027 | New functions. | |
3028 | (tk_command_loop): Set instream to NULL to enable Tk user interaction. | |
3029 | (gdbtk_init): Set readline_begin_hook, readline_hook, | |
3030 | and readline_end_hook. | |
3031 | * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline, | |
3032 | gdbtk_tcl_readline_end): New functions. | |
3033 | (tclsh): Pack scroll bar on right side of window, not left. | |
3034 | end-sanitize-gdbtk | |
3035 | ||
f0c56658 PS |
3036 | Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3037 | ||
3038 | * blockframe.c (frameless_look_for_prologue): | |
3039 | Add FUNCTION_START_OFFSET only if func_start is non-zero. | |
3040 | * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if | |
3041 | pc is not in a known section. | |
3042 | * stack.c (print_frame_info): Remove check for fi->pc in known | |
3043 | section, now handled by lookup_minimal_symbol_by_pc. | |
3044 | ||
81ae689a FF |
3045 | start-sanitize-gdbtk |
3046 | Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com> | |
3047 | ||
3048 | * gdbtk.tcl (create_command_window): Change a misspelled "get" | |
3049 | to the intended "cget". | |
3050 | (delete_line): Fix so it deletes the current line at the | |
3051 | insertion cursor. | |
3052 | end-sanitize-gdbtk | |
3053 | ||
6a4547c0 SS |
3054 | Fri May 17 13:31:04 1996 Stan Shebs <shebs@andros.cygnus.com> |
3055 | ||
3056 | * sh-stub.c: New file, was config/sh/stub.c. | |
3057 | ||
b8f3d4c6 | 3058 | start-sanitize-gdbtk |
26b3dc44 | 3059 | Thu May 16 19:20:29 1996 Fred Fish <fnf@cygnus.com> |
5bac2b50 FF |
3060 | |
3061 | * gdbtk.tcl (gdb_prompt): Set this early on. | |
3062 | (create_command_window): Use gdb_prompt rather than "(gdb) ". | |
3063 | (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop. | |
3064 | (tclsh): If an evaluation window already exists, just bring it | |
3065 | to the front instead of trying to create another. | |
3066 | * gdbtk.c (tk_command_loop): New function. | |
3067 | (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop. | |
3068 | ||
954a4a2a FF |
3069 | Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com> |
3070 | ||
3071 | * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that | |
3072 | implement a tcl evaluation window for gdbtk maintainers to use. | |
3073 | ||
76e641bd TT |
3074 | Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com> |
3075 | ||
f4e769dc TT |
3076 | * gdbtk.tcl (files_command): Correctly insert list of files into |
3077 | listbox widget. | |
3078 | ||
76e641bd TT |
3079 | * gdbtk.tcl (files_command): listbox command no longer accepts |
3080 | -geometry. | |
3081 | ||
b8f3d4c6 SS |
3082 | Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com> |
3083 | ||
3084 | * gdbtk.tcl (create_command_window): If command window's buffer | |
3085 | is disabled, don't execute any of the key bindings. | |
3086 | end-sanitize-gdbtk | |
3087 | ||
6bafbdfb JL |
3088 | Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com) |
3089 | ||
e7600d8e | 3090 | * top.c (read_next_line): Fix thinkos. From Donn Seeley. |
ecebd693 | 3091 | |
6bafbdfb JL |
3092 | * coffread.c (coff_symtab_read): Handle C_LABEL symbols like |
3093 | C_STAT symbols. | |
3094 | * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly. | |
3095 | Flush cached frames just before exiting. | |
3096 | * remote-sim.c (gdbsim_resume): Complain if the program isn't | |
3097 | being run. | |
3098 | * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define. | |
3099 | ||
9b33e492 SG |
3100 | Tue May 14 18:05:16 1996 Stu Grossman (grossman@critters.cygnus.com) |
3101 | ||
3102 | * procfs.c (procfs_thread_alive procfs_stop): Make static. | |
e7600d8e | 3103 | (procfs_pid_to_str): New routine to print out thread id's in an |
9b33e492 SG |
3104 | intelligible manner. |
3105 | * sol-thread.c (sol_thread_fetch_registers): Re-order manner in | |
b8f3d4c6 | 3106 | which supply_register is called to fix bug with writing |
9b33e492 SG |
3107 | individual regs. |
3108 | * config/sparc/tm-sun4sol2.h: Define default for | |
3109 | target_pid_to_str in case host lacks libthread_db. | |
3110 | ||
47ef0da5 SG |
3111 | Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com) |
3112 | ||
3113 | * Makefile.in config.in configure configure.in | |
3114 | config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh | |
3115 | config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread | |
3116 | and pthread support, since pre-2.5 systems don't come with | |
3117 | libthread_db.so.1. | |
3118 | ||
3119 | * procfs.c (info_proc): Use int instead of id_t. Old versions of | |
e7600d8e | 3120 | Irix don't seem to define this. |
47ef0da5 | 3121 | |
572977a5 FF |
3122 | start-sanitize-gdbtk |
3123 | Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com> | |
3124 | ||
3125 | * gdbtk.c (tk_command): Catch case where no argument is given | |
3126 | since this will cause the tcl interpreter to dump core. | |
3127 | end-sanitize-gdbtk | |
3128 | ||
24ecc17a JL |
3129 | Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com) |
3130 | ||
3131 | * top.c (execute_control_command, case while_control): Allow | |
3132 | a while command to be interrupted. | |
3133 | ||
a50cedad SG |
3134 | Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com) |
3135 | ||
3136 | * sol-thread.c: More cleanup, add comments. | |
b8f3d4c6 | 3137 | (sol_thread_resume): Prevent people from trying to step |
a50cedad | 3138 | inactive threads. |
b8f3d4c6 | 3139 | (sol_thread_wait sol_thread_fetch_registers |
a50cedad SG |
3140 | sol_thread_store_registers): Remove unnecessary check for |
3141 | sol_thread_active. These routines won't get called unless threads | |
3142 | are active. | |
3143 | ||
05535e79 SS |
3144 | Mon May 13 11:29:37 1996 Stan Shebs <shebs@andros.cygnus.com> |
3145 | ||
3146 | SH3-E support from Allan Tajii <atajii@hmsi.com>: | |
3147 | * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for | |
3148 | float registers. | |
3149 | (sh3e_reg_names): New register name array. | |
3150 | (sh_processor_type_table): Add sh3e processor type. | |
3151 | * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test. | |
3152 | (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for | |
3153 | full set of registers. | |
3154 | * remote-e7000.c (want_sh3, want_sh3_nopc): New globals. | |
3155 | (e7000_fetch_registers, e7000_wait): Use them. | |
3156 | * sh3-rom.c (sh3_regnames): Add float registers. | |
3157 | (sh3e_cmds, sh3e_ops): New globals. | |
3158 | (sh3e_open): New function. | |
3159 | (_initialize_sh3_rom): Rename from _initialize_sh3, set up | |
3160 | sh3e target vector. | |
3161 | ||
934741a1 SG |
3162 | Fri May 10 15:53:38 1996 Stu Grossman (grossman@lisa.cygnus.com) |
3163 | ||
3164 | * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes. | |
3165 | Print out messages instead of codes for thread_db errors. Make | |
3166 | access macros for thread and lwp manipulation. Make cleanups to | |
3167 | fixup inferior_pid in case of errors. | |
3168 | ||
31ed312c FF |
3169 | Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com> |
3170 | ||
3171 | * aclocal.m4: Remove unused definition of AC_C_CROSS. | |
3172 | * configure.in: Add powerpcle-*-solaris* host and target config | |
3173 | so April 30th change does not get lost next time configure is | |
3174 | rebuilt. | |
3175 | ||
fdfa3315 SG |
3176 | Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com) |
3177 | ||
3178 | * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c, | |
3179 | infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c, | |
3180 | win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to | |
3181 | avoid conflict with Solaris /usr/include/thread.h. | |
3182 | ||
7574859f RS |
3183 | Thu May 9 12:33:32 1996 Rob Savoye <rob@chinadoll.cygnus.com> |
3184 | ||
3185 | * abug-rom.c: Config file for the older style ABug monitor that | |
3186 | runs on the mvme13x boards. | |
3187 | * config/m68k/monitor.mt: Add abug support for m68k cross | |
3188 | debugging. | |
3189 | ||
2ae2f078 | 3190 | Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com> |
3f37b696 | 3191 | |
2ae2f078 FF |
3192 | * infcmd.c (do_registers_info): Always print the raw floating |
3193 | point value's bytes in big endian order, so the the leftmost bit | |
3194 | is the most significant. | |
3f37b696 FF |
3195 | * breakpoint.c (clear_momentary_breakpoints): Remove dead code |
3196 | that is referenced nowhere else. | |
3197 | (set_breakpoint): Ditto. | |
3198 | (do_enable_breakpoint): Created from enable_once_breakpoint | |
3199 | with a couple of changes. | |
3200 | (enable_breakpoint): Call do_enable_breakpoint with an appropriate | |
3201 | bpdisp enum value to set disposition of breakpoint. | |
3202 | (enable_once_breakpoint): Ditto. | |
3203 | (enable_delete_breakpoint): Ditto. | |
3204 | * breakpoint.h (clear_momentary_breakpoints): Remove prototype. | |
3205 | * symtab.c (find_pc_line): Improve comments. | |
572977a5 | 3206 | start-sanitize-gdbtk |
3f37b696 | 3207 | * gdbtk.c: Fix a couple of misspellings. |
572977a5 | 3208 | end-sanitize-gdbtk |
3f37b696 FF |
3209 | * xcoffread.c: Ditto. |
3210 | ||
37316b52 SS |
3211 | Tue May 7 18:37:06 1996 Stan Shebs <shebs@andros.cygnus.com> |
3212 | ||
3213 | * target.c (debug_to_xfer_memory): Insert line breaks when | |
3214 | dumping the memory block. | |
3215 | ||
8fc2b417 SG |
3216 | Mon May 6 13:52:52 1996 Stu Grossman (grossman@critters.cygnus.com) |
3217 | ||
3218 | * fork-child.c (fork_inferior), inferior.h: init_trace_fun now | |
3219 | returns a possibly modified pid. | |
3220 | * inftarg.c (ptrace_him): Now returns pid; | |
3221 | * m3-nat.c (m3_trace_him): Now returns pid; | |
3222 | * infcmd.c (run_command): Minor cleanup. | |
3223 | * infrun.c (wait_for_inferior): Add another check for one_stepped | |
3224 | near where we read the pc to avoid erroneously setting | |
3225 | random_signal for multi-threaded support. | |
3226 | * procfs.c: Add support for Solaris LWPs. Remove def of | |
3227 | LOSING_POLL. Many cleanups... Several workarounds for Solaris | |
3228 | lossage. System call entry and exit are now handled by | |
3229 | dynamically registered handlers. | |
3230 | * (syscallname): Don't barf when handed an unknown syscall | |
3231 | number. | |
3232 | * (info_proc_syscalls): Ditto. | |
3233 | * sol-thread.c: New file. Implements Solaris thread support. | |
3234 | * symfile.c (symbol_file_add): Add call to target_new_objfile to | |
3235 | notify target-dependent code about new symbol tables. | |
3236 | * (clear_symtab_users): Call target_new_objfile to notify it of | |
3237 | the removal of all symbol tables. | |
3238 | * target.c (push_target): Make sure that to_close is non-zero | |
3239 | before calling it. | |
3240 | * target.h (target_new_objfile): Provide default. | |
3241 | * config/alpha/nm-osf2.h: Define LOSING_POLL because this version | |
3242 | of OSF can't hack using poll with /proc. | |
3243 | * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be | |
3244 | sol-thread-new-objfile. | |
3245 | * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and | |
3246 | add libthread_db.so.1 to NAT_CLIBS. | |
3247 | * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and | |
3248 | target_pid_to_str. | |
3249 | ||
3250 | Sat May 4 02:13:34 1996 N Srin Kumar <nsrin@wipinfo.soft.net> | |
3251 | ||
3252 | * procfs.c (remove_fd): Fix copy of fds to fill hole left after | |
3253 | removal of the requested fd. | |
3254 | ||
8678180e MM |
3255 | Mon May 6 07:52:48 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
3256 | ||
3257 | * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific | |
3258 | hooks under ELF. | |
3259 | ||
3260 | * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT. | |
3261 | ||
9e9cf822 SS |
3262 | start-sanitize-gdbtk |
3263 | Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3264 | ||
3265 | * gdbtk.tcl (debug_interface): New global, use to aid debugging. | |
3266 | (insert_breakpoint_tag, delete_breakpoint_tag): Fix range. | |
3267 | (file_popup_menu): Delete, never used. | |
3268 | (listing_window_popup): Rename from listing_window_button_1, | |
3269 | remove breakpoint toggling code. | |
3270 | (toggle_breakpoint): New procedure. | |
3271 | (create_file_win): Bind popup menu to button 2, toggle breakpoints | |
3272 | with button 1 in breakpoint area, add display of tagged areas if | |
3273 | debugging on. | |
3274 | end-sanitize-gdbtk | |
3275 | ||
e51481f9 JL |
3276 | Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com) |
3277 | ||
9e9cf822 | 3278 | From Peter Schauer: |
e51481f9 JL |
3279 | * breakpoint.h (enum bpdisp): Add del_at_next_stop. |
3280 | * breakpoint.c (insert_breakpoints, watchpoint_check, | |
3281 | bpstat_stop_status): Avoid bad references to memory freed via | |
3282 | delete_breakpoint on watchpoints going out of scope. | |
3283 | Do not delete these watchpoints, disable them and change their | |
3284 | disposition to del_at_next_stop instead. | |
3285 | (breakpoint_auto_delete): Delete all breakpoints whose disposition | |
3286 | is del_at_next_stop. | |
3287 | (breakpoint_init_inferior): Use switch to avoid reference to | |
3288 | already deleted breakpoint. | |
3289 | ||
062cb0d3 FF |
3290 | Wed May 1 17:29:18 1996 Fred Fish <fnf@cygnus.com> |
3291 | ||
9e9cf822 | 3292 | * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h. |
062cb0d3 | 3293 | * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ... |
9e9cf822 | 3294 | * config/rs6000/rs6000.mt (TDEPFILES): ... to here. |
062cb0d3 FF |
3295 | * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize. |
3296 | (solib_info): Call xcoff_relocate_symtab via the hook. | |
3297 | (sharedlibrary_command): Ditto. | |
3298 | * xcoffread.c: Remove all FAKING_RS6000 comments and defines. | |
3299 | (xcoff_add_toc_to_loadinfo_hook): Define and initialize here. | |
3300 | (xcoff_init_loadinfo_hook): Define and initialize here. | |
3301 | (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook. | |
3302 | (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook. | |
3303 | * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func. | |
3304 | * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations | |
3305 | of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook. | |
3306 | * rs6000-nat.c (_initialize_core_rs6000): Add initialization | |
3307 | of xcoff_relocate_symtab_hook. | |
3308 | ||
fe8d28cf MM |
3309 | Tue Apr 30 13:22:02 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
3310 | ||
3311 | * configure (powerpcle-*-solaris*): Add Solaris support. | |
3312 | ||
3313 | * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for | |
3314 | Solaris support. | |
aad09779 DP |
3315 | |
3316 | Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com> | |
9e9cf822 | 3317 | |
aad09779 DP |
3318 | * c-valprint.c (c_val_print): Fix printing for arrays defined |
3319 | with 0 length. | |
3320 | ||
5a2934b4 SS |
3321 | Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com> |
3322 | ||
fea17b55 SS |
3323 | Support for bi-endian remote breakpoints. |
3324 | * remote.c (big_break_insn, little_break_insn): New globals. | |
3325 | (break_insn): Remove. | |
3326 | (remote_insert_breakpoint, remote_remove_breakpoint): Use own | |
3327 | code if REMOTE_BREAKPOINT defined, otherwise call memory | |
3328 | breakpoint functions. | |
3329 | * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove. | |
3330 | (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define. | |
3331 | ||
5a2934b4 SS |
3332 | * mon960-rom.c (mon960_cmds): Remove forward decl. |
3333 | (mon960_load): Use current_monitor instead of mon960_cmds. | |
3334 | (mon960_regnames): Remove backslashes from line ends. | |
3335 | (_initialize_mon960): Fix documentation string. | |
3336 | ||
d2c17d4f FF |
3337 | Sun Apr 28 12:10:35 1996 Fred Fish <fnf@cygnus.com> |
3338 | ||
3339 | * symfile.h (psymbol_allocation_list): Expand comments which | |
3340 | describe the psymbol allocation list and how each field is | |
3341 | used. | |
3342 | ||
39ce6829 PS |
3343 | Sun Apr 28 03:44:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3344 | ||
3345 | * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp | |
3346 | storage leaks. | |
3347 | (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks. | |
3348 | ||
3349 | * infcmd.c (run_command), solib.c (locate_base): Check for | |
3350 | target_has_execution in addition to inferior_pid, a core file | |
3351 | from a threaded program is yielding a non-zero inferior_pid. | |
3352 | ||
3353 | * sparc-tdep.c (get_saved_register): Handle window registers | |
3354 | in a dummy frame correctly. | |
3355 | ||
6c0643e3 FF |
3356 | Sat Apr 27 20:38:32 1996 Fred Fish <fnf@cygnus.com> |
3357 | ||
3358 | * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs, | |
3359 | so that anything that wants an allocation function not yet pulled | |
3360 | in, will get it from mmalloc rather than a system library. | |
3361 | * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS, | |
3362 | to avoid surprising results when used. | |
3363 | ||
00d93b6d DP |
3364 | Sat Apr 27 00:12:05 1996 Dawn Perchik (dawn@cygnus.com) |
3365 | ||
3366 | * stabsread.c: Changes and bug fixes for cfront support. | |
3367 | Fix bug for class data members. | |
3368 | Fix parsing bug when no base classes exist. | |
3369 | Fix memory bug - allocate space for cplusplus specific info. | |
3370 | Add support for static data. | |
3371 | Add prototypes for static functions. | |
3372 | Enhance comments to show what each function expects to parse. | |
3373 | Cleanup code. | |
3374 | * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename | |
3375 | function to resolve_cfront_continuation. | |
3376 | ||
7dbb5eed JL |
3377 | Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com) |
3378 | ||
3379 | * infrun.c (wait_for_inferior): Call registers_changed when | |
6cc17fd5 | 3380 | restarting the inferior to get over a nullified instruction. |
7dbb5eed | 3381 | |
73e75264 | 3382 | Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com) |
7dbb5eed | 3383 | |
73e75264 DP |
3384 | * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c: |
3385 | Add new support for parsing cfront stabs. | |
3386 | ||
894d8e69 JL |
3387 | Wed Apr 24 00:32:55 1996 Jeffrey A Law (law@cygnus.com) |
3388 | ||
3389 | * infrun.c (wait_for_inferior): Move "have_waited" label | |
3390 | outside of #ifdef conditionals. Don't trash the wait status | |
3391 | if we get a signal and the current instruction is nullified. | |
3392 | ||
3393 | Mon Apr 22 20:17:01 1996 Fred Fish <fnf@cygnus.com> | |
3394 | ||
9e9cf822 | 3395 | * Makefile.in (VERSION): Bump version number to 4.16.1. |
894d8e69 JL |
3396 | * NEWS: Update for 4.16 release. |
3397 | ||
178ed338 SS |
3398 | Mon Apr 22 16:32:29 1996 Stan Shebs <shebs@andros.cygnus.com> |
3399 | ||
3400 | * monitor.h: Clean up comment formatting. | |
3401 | (current_monitor): Remove decl. | |
3402 | (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions. | |
3403 | (push_monitor, SREC_SIZE): Remove. | |
3404 | * monitor.c: Expand old macro into current_monitor derefs | |
3405 | everywhere. | |
3406 | * remote-os9k.c (current_monitor): Remove definition. | |
3407 | ||
f9fedc48 MA |
3408 | Mon Apr 22 14:54:45 1996 Mark Alexander <marka@superball.cygnus.com> |
3409 | ||
3410 | * corefile.c (specify_exec_file_hook): Allow arbitrary number of | |
3411 | hooks. | |
3412 | (call_extra_exec_file_hooks): New function. | |
3413 | * h8300-tdep.c: Lint; add .h files to provide missing declarations, | |
3414 | remove unused variables. | |
3415 | (set_machine_hook): New function. | |
3416 | (_initialize_h8300m): Initialize it. | |
3417 | ||
102f473b ILT |
3418 | Fri Apr 19 15:03:49 1996 Ian Lance Taylor <ian@cygnus.com> |
3419 | ||
3420 | * remote-mips.c (encoding): Don't specify size, to avoid bug in | |
3421 | SunOS native compiler. | |
3422 | ||
69159fad SS |
3423 | Thu Apr 18 18:46:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
3424 | ||
3425 | * monitor.c: Use int rather than LONGEST for values, since | |
3426 | the formatting strings are not prepared to accept long longs. | |
3427 | ||
e1b4f287 DE |
3428 | Wed Apr 17 20:17:27 1996 Doug Evans <dje@canuck.cygnus.com> |
3429 | ||
3430 | * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'. | |
3431 | ||
8eff3c7f SG |
3432 | Tue Apr 16 17:38:23 1996 Stu Grossman (grossman@critters.cygnus.com) |
3433 | ||
3434 | * corelow.c (add_to_thread_list): Make sure reg_sect is non-null | |
3435 | before de-referencing it. Prevents deref of NULL pointer if core | |
3436 | file lacks .reg section. | |
3437 | * defs.h: Rename floatformat_{to from}_long_double to | |
3438 | floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO | |
3439 | FROM}... macros. | |
3440 | * findvar.c (extract_floating store_floating): Change all refs to | |
3441 | FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest. | |
3442 | * utils.c: Change floatformat_{to from}_long_double to | |
3443 | floatformat_{to from}_doublest cuz the new routines will use | |
3444 | whatever size (double or long double) is appropriate. | |
3445 | * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL | |
3446 | REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to | |
3447 | floatformat... routine calls. | |
3448 | ||
15b03b57 PB |
3449 | Mon Apr 15 16:34:11 1996 Per Bothner <bothner@kalessin.cygnus.com> |
3450 | ||
3451 | * stabsread.c (read_type): Move handling of '@' from type | |
3452 | number handling to handling of types proper (as emitted by gcc!). | |
3453 | For typedefs, allocate the typedef type before reading its | |
3454 | definition, to properly handling recursive types. | |
3455 | ||
c5ee9d00 JL |
3456 | Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com) |
3457 | ||
3458 | * ch-exp.c (calculate_array_length): Fix prototype. | |
3459 | ||
449abd89 SG |
3460 | Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com) |
3461 | ||
3462 | * remote-nindy.c (nindy_open): Acquire more target state so that | |
3463 | user can attach to a previously running program. | |
3464 | * (nindy_fetch_registers nindy_store_registers): Get rid of fp | |
3465 | conversion code. That's all handled in {extract store}_floating | |
3466 | now. | |
3467 | * utils.c (floatformat_to_double): Don't bias exponent when | |
3468 | handling zero's, denorms or NaNs. | |
3469 | * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL | |
3470 | REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and | |
3471 | FLOATFORMAT_TO/FROM_DOUBLEST macros. | |
3472 | * config/i960/tm-nindy960.h: Undefine | |
3473 | REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and | |
3474 | REGISTER_CONVERTIBLE. These are no longer necessary now that all | |
3475 | the magic happens in extract/store_floating. | |
3476 | ||
9898b3b7 PS |
3477 | Sat Apr 13 02:58:02 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3478 | ||
3479 | * eval.c (evaluate_subexp_standard): Report error when attempting to | |
3480 | evaluate subscripts for types which cannot be subscripted. | |
3481 | ||
3482 | * valarith.c (value_x_binop, value_x_unop): Add noside parameter. | |
3483 | Return a zero value with the return type of the member function | |
3484 | if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member | |
3485 | function. | |
3486 | * values.h (value_x_binop, value_x_unop): Update prototypes | |
3487 | accordingly. | |
3488 | * eval.c (evaluate_subexp_standard): Update all callers of | |
3489 | value_x_binop, value_x_unop accordingly. | |
3490 | ||
3491 | * valarith.c (value_neg, value_complement): Perform ANSI C/C++ | |
3492 | integral promotion on operands. | |
3493 | ||
38d715a4 FF |
3494 | Fri Apr 12 13:19:27 1996 Fred Fish <fnf@cygnus.com> |
3495 | ||
3496 | * README: Update for 4.16 release. | |
3497 | * configure.in (AC_CHECK_FUNCS): Also check for sbrk. | |
3498 | * configure: Regenerate with autoconf. | |
3499 | * config.in: Regenerate with autoheader. | |
3500 | * main.c (main): Only use sbrk() when HAVE_SBRK is defined. | |
3501 | * top.c (command_loop): Ditto. | |
3502 | ||
c6fbd98b SG |
3503 | Fri Apr 12 09:45:29 1996 Stu Grossman (grossman@critters.cygnus.com) |
3504 | ||
3505 | * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT | |
3506 | defaults for bi-endian targets. Replace function pointers for | |
3507 | floatformat routines with macros. No need for these to be runtime | |
3508 | selectable. | |
3509 | * findvar.c: Get rid of floatformat function pointers. Use | |
3510 | macros in extract_floating and store_floating. | |
3511 | * remote-nindy.c (nindy_fetch_registers nindy_store_registers): | |
3512 | Use floatformat macros. | |
3513 | ||
d8efbc66 FF |
3514 | Thu Apr 11 21:28:02 1996 Fred Fish <fnf@cygnus.com> |
3515 | ||
3516 | From: Miles Bader <miles@gnu.ai.mit.edu> | |
3517 | * configure.in (AC_CHECK_HEADERS): check for endian.h. | |
3518 | Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK. | |
3519 | Add host & target cases for i[345]86-*-gnu*. | |
3520 | * config.in: Regenerate with autoheader. | |
3521 | * configure: Regenerate with autoconf. | |
3522 | * Makefile.in (AR, AWK): Set from corresponding autoconf substs. | |
3523 | (init.c): Don't scan mig-generated files. | |
3524 | * defs.h (endian.h): Include if HAVE_ENDIAN_H defined. | |
3525 | * config/nm-m3.h (ATTACH_NO_WAIT): Define. | |
3526 | * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT" | |
3527 | rather than "#ifndef MACH". | |
3528 | ||
4eaf7c0a SS |
3529 | Thu Apr 11 18:49:42 1996 Stan Shebs <shebs@andros.cygnus.com> |
3530 | ||
3531 | * remote.c (remotewritesize): New GDB variable, controls size | |
3532 | of memory packets sent to the target. | |
3533 | ||
a243a22f SG |
3534 | Thu Apr 11 13:47:52 1996 Stu Grossman (grossman@critters.cygnus.com) |
3535 | ||
3536 | * dcache.c: Add prototypes. Make many functions static. | |
3537 | * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and | |
3538 | dcache_poke call dcache_xfer_memory directly in order to fix | |
3539 | problems with turning off dcache. dcache_peek is now unnecessary, | |
3540 | so it goes away. | |
3541 | ||
3542 | * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT | |
3543 | and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer | |
3544 | to a struct floatformat. This allows for better handling of | |
3545 | targets whose floating point formats differ from the host by more | |
3546 | than just byte order. | |
3547 | * (floatformat_to_long_double floatformat_from_long_double): | |
3548 | Prototypes for new functions in utils.c. | |
3549 | * (floatformat_to_doublest floatformat_from_doublest): Prototypes | |
3550 | for pointers to floating point conversion functions. The actual | |
3551 | function uses either double or long double if the host supports it. | |
3552 | * findvar.c (floatformat_to_doublest floatformat_from_doublest): | |
3553 | Initialize to point at correct function depending on HAVE_LONG_DOUBLE. | |
3554 | * (extract_floating store_floating): Rewrite. Now, if host fp | |
3555 | format is the same as the target, we just do a copy. Otherwise, | |
3556 | we call floatformat_{to from}_doublest. | |
3557 | * remote-nindy.c (nindy_xfer_inferior_memory): Change param | |
3558 | `write' to `should_write'. | |
3559 | * utils.c (floatformat_to_long_double | |
3560 | floatformat_from_long_double): New routines that implement long | |
3561 | double versions of functions in libiberty/floatformat.c. | |
3562 | * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for | |
3563 | i960 extended real (80 bit) numbers. | |
3564 | * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes | |
3565 | actually read or written. | |
3566 | ||
f046f4c8 WM |
3567 | Wed Apr 10 02:56:06 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
3568 | ||
3569 | * ch-valprint.c (chill_val_print): Remove call to calculate_array_length. | |
3570 | (calculate_array_length): Move function from here ... | |
3571 | ||
3572 | * ch-exp.c (calculate_array_length): ... to here. | |
3573 | (parse_primval): If we have a symbol with an array type | |
3574 | and the length is 0, call calculate_array_length. | |
3575 | ||
a539f6d8 WM |
3576 | Tue Apr 9 01:23:05 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
3577 | ||
3578 | * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET: | |
3579 | Add some checks for powerset compatibility. | |
3580 | ||
3581 | * valops.c (value_slice): Use lowbound instead of lowerbound for | |
3582 | call to slice_range_type to get correct bounds. | |
3583 | ||
d8efbc66 | 3584 | Mon Apr 8 12:53:56 1996 Fred Fish <fnf@cygnus.com> |
5579919f FF |
3585 | |
3586 | * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and | |
3587 | dependencies. | |
3588 | * scm-lang.c (gdb_string.h): Include. | |
3589 | * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow | |
3590 | call to correct type (char *). | |
3591 | * cp-valprint.c (cp_print_static_field): Ditto. | |
3592 | * somsolib.c (som_solib_create_inferior_hook): Add a declaration | |
3593 | for external find_unwind_entry function (from hppa-tdep.c). | |
3594 | * remote-pa.c (remote_write_bytes, remote_read_bytes): Change | |
3595 | type of second arg to "char *" to be type compatible with | |
3596 | dcache. | |
3597 | (remote_wait): Cast second arg to strtol to correct type. | |
3598 | * hppa-tdep.c (compare_unwind_entries): Change argument types to | |
3599 | "const void *" to be type compatible with qsort, and then | |
3600 | assign to local args prior to use. | |
3601 | ||
75eb5231 JL |
3602 | Mon Apr 8 15:35:52 1996 Jeffrey A Law (law@cygnus.com) |
3603 | ||
3604 | * infptrace.c (kill_inferior): Remove call to "kill"; update | |
3605 | comments. | |
3606 | ||
7782ee45 GN |
3607 | Mon Apr 8 14:05:07 1996 Geoffrey Noer <noer@cygnus.com> |
3608 | ||
3609 | * remote-e7000.c: don't append :23 to target port if __WIN32__ | |
3610 | is defined (it's WinGDB). | |
3611 | ||
ce0787ef FF |
3612 | Sun Apr 7 22:34:29 1996 Fred Fish <fnf@cygnus.com> |
3613 | ||
3614 | From: Miles Bader <miles@gnu.ai.mit.edu> | |
3615 | * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c, | |
3616 | msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk, | |
3617 | config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h, | |
3618 | m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd. | |
3619 | ||
3620 | Sun Apr 7 13:32:41 1996 Fred Fish <fnf@cygnus.com> | |
125c17af FF |
3621 | |
3622 | * configure.in (case host): Add i386sco5 host. | |
3623 | * configure: Regenerate. | |
3624 | ||
3625 | From: Robert Lipe <robertl@dgii.com> | |
3626 | Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This | |
3627 | target is an SVR3.2 with COFF, ELF, and shared libes, but | |
3628 | no /proc. | |
3629 | * config/i386/i386sco5.mh: New file. | |
3630 | * config/i386/nm-i386sco5.h: New file. | |
3631 | ||
a6b65627 FF |
3632 | Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com> |
3633 | ||
3634 | * bcache.c (bcache): When size of chunk to cache is exactly equal to | |
3635 | BCACHE_MAXLENGTH, stash chunk as unique copy. | |
3636 | ||
eae8aa30 FF |
3637 | Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com> |
3638 | ||
3639 | * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef. | |
3640 | (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and | |
3641 | use it, rather than calling add_psymbol_addr_to_list. | |
3642 | (add_psymbol_addr_to_list): Delete. | |
3643 | (add_psymbol_to_list): Make psymbol static to avoid random data in | |
3644 | gaps due to alignment of structure members. | |
3645 | * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST, | |
3646 | ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no | |
3647 | performance improvements by inlining via complicated macros and | |
3648 | they just make gdb larger and harder to maintain. | |
3649 | * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST | |
3650 | and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to | |
3651 | add_psymbol_to_list with appropriate long or CORE_ADDR args. | |
3652 | (add_partial_symbol): Ditto. | |
3653 | * partial-stab.h: Ditto. | |
3654 | * os9kread.c (read_os9k_psymtab): Ditto | |
3655 | * mdebugread.c (parse_partial_symbols): Ditto. | |
3656 | (handle_psymbol_enumerators): Ditto. | |
3657 | (demangle.h): Include. | |
3658 | * hpread.c (hpread_build_psymtabs): Ditto. | |
3659 | (hpread_build_psymtabs): Ditto. | |
3660 | (demangle.h): Include | |
3661 | ||
51bea8cf | 3662 | start-sanitize-gdbtk |
fda6fadc SS |
3663 | Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com> |
3664 | ||
3665 | * gdbtk.c (running_now): New global variable. | |
3666 | (gdb_cmd): Test it before executing any command. | |
3667 | (gdbtk_call_command): Set it when inferior is running. | |
3668 | * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and | |
3669 | disable interaction with command window's text appropriately. | |
3670 | ||
8b3f9ed6 MM |
3671 | Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
3672 | ||
3673 | * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since | |
3674 | some versions of the kernel don't support it. | |
51bea8cf | 3675 | end-sanitize-gdbtk |
8b3f9ed6 | 3676 | |
72ae15f6 FF |
3677 | Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com> |
3678 | ||
3679 | * configure.in: Check for setpgid function. | |
3680 | * config.in: Regenerate with autoheader. | |
3681 | * configure: Regenerate with autoconf. | |
3682 | * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL | |
3683 | if it is actually defined. | |
3684 | (gdb_setpgid): Use HAVE_SETPGID. | |
3685 | * ch-exp.c: Change include of <string.h> to "gdb_string.h". | |
fda6fadc SS |
3686 | * c-exp.y, f-exp.y, m2-exp.y: Ditto. |
3687 | * c-exp.y, serial.c: Include <ctype.h>. | |
72ae15f6 FF |
3688 | * config/m68k/nm-news.h: Add typedef for pid_t which is |
3689 | apparently missing from <sys/types.h>. Enclose entire | |
3690 | file in NM_NEWS_H ifndef and define when included. | |
3691 | * config/mips/nm-news-mips.h: Ditto. | |
3692 | * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL, | |
3693 | REGISTER_CONVERT_TO_RAW): Change name of temporary variable. | |
3694 | ||
67c1413d SS |
3695 | Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com> |
3696 | ||
72c9954b SS |
3697 | * arm-xdep.c: Move native-specific code to here from arm-tdep.c. |
3698 | * arm-tdep.c (arm_apcs_32): New global. | |
3699 | (arm_addr_bits_remove, arm_saved_pc_after_call, | |
3700 | arm_push_dummy_frame, arm_pop_frame): New functions. | |
3701 | (arm_skip_prologue): Updated version from Richard Earnshaw. | |
3702 | (_initialize_arm_tdep): Add set/show "apcs32". | |
3703 | * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call | |
3704 | arm_addr_bits_remove. | |
3705 | (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call. | |
3706 | (frame_find_saved_regs): Declare properly. | |
3707 | (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame. | |
3708 | (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of | |
3709 | explicit mask. | |
3710 | * config/arm/nm-arm.h: New file. | |
3711 | * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS): | |
3712 | Move definitions to nm-arm.h. | |
3713 | * config/arm/arm.mh (NAT_FILE): Define. | |
3714 | ||
67c1413d SS |
3715 | * symfile.c (generic_load): Initialize data_count properly. |
3716 | ||
3e3ee48f FF |
3717 | Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com> |
3718 | ||
3719 | * symmisc.c (print_objfile_statistics): Print memory used by | |
3720 | psymbol cache obstack. | |
3721 | ||
72158e71 SS |
3722 | Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com> |
3723 | ||
3724 | * symfile.c (report_transfer_performance): New function. | |
3725 | (generic_load): Call it to report transfer rate. | |
3726 | * remote-e7000.c (e7000_load): Ditto. | |
3727 | ||
761e98aa SS |
3728 | Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com> |
3729 | ||
3730 | * mpw-make.sed: Change references to config.h to be in objdir, | |
3731 | edit out rules to rebuild config.h. | |
3732 | ||
251b8ab9 FF |
3733 | Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com> |
3734 | ||
3735 | * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before | |
3736 | proceeding. | |
3737 | ||
517cb8d7 | 3738 | Sun Mar 31 16:15:43 1996 Fred Fish <fnf@cygnus.com> |
771f63d3 FF |
3739 | |
3740 | * hppah-nat.c (store_inferior_registers, store_inferior_registers, | |
3741 | fetch_register, child_xfer_memory): Use call_ptrace function supplied | |
3742 | by infptrace.c rather than calling ptrace directly. | |
3743 | ||
32b18604 SS |
3744 | Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com> |
3745 | ||
3746 | * mon960-rom.c: Cleanups and elimination of unused code, | |
3747 | clarify documentation string. | |
3748 | (mon960_serial, mon960_ttyname): Remove. | |
3749 | * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS, | |
3750 | ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove. | |
3751 | ||
07b77f5c FF |
3752 | Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com> |
3753 | ||
3754 | * configure.in: Check whether printf family supports printing | |
3755 | long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so. | |
3756 | * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE. | |
3757 | * configure: Regenerate. | |
3758 | * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE. | |
3759 | * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE. | |
3760 | * configure.in: Fix have_gregset and have_fpregset autoconf | |
3761 | variable names so that they match the pattern required to | |
3762 | cache them. | |
3763 | ||
b52cac6b FF |
3764 | Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com> |
3765 | ||
3766 | * core-aout.c (fetch_core_registers): Cast core_reg_size to int | |
3767 | before testing against reg_ptr. | |
3768 | * eval.c (evaluate_subexp_standard): Cast type of | |
3769 | TYPE_FN_FIELD_VOFFSET to int. | |
3770 | * findvar.c (extract_signed_integer, extract_unsigned_integer, | |
3771 | extract_long_unsigned_integer): Cast type of sizeof to int. | |
3772 | * values.c (unpack_field_as_long, modify_field): Ditto. | |
3773 | * valops.c (value_assign, call_function_by_hand): Ditto. | |
3774 | * infcmd.c (do_registers_info): Ditto. | |
fda6fadc | 3775 | * ser-tcp.c (tcp_open): Ditto. |
b52cac6b FF |
3776 | * remote.c (putpkt): Ditto. |
3777 | * dcache.c (dcache_peek): Ditto. | |
3778 | * dcache.c (dcache_poke): Ditto. | |
3779 | * m2-exp.y (yylex): Ditto. | |
3780 | * gnu-regex.c (re_match_2): Ditto. | |
3781 | * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef | |
3782 | out unused macro definition and variables. | |
3783 | * inftarg.c (proc_wait): Move from main.c to here, and make static. | |
3784 | * valprint.c (val_print_string): Change bufsize from int to unsigned. | |
fda6fadc | 3785 | * main.c (wait.h): Include. |
b52cac6b FF |
3786 | * top.c (command_line_input): Remove unused variable "c". |
3787 | * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum | |
3788 | value TYPE_CODE_TYPEDEF to switch statement. | |
3789 | (f_type_print_varspec_suffix): Add missing enum value | |
3790 | TYPE_CODE_TYPEDEF to switch statement. | |
3791 | * ch-exp.c (parse_primval): Add remaining enumeration values to | |
3792 | switch statement, with no specific action. | |
3793 | (ch_lex): Add LOC_UNRESOLVED in switch statement. | |
3794 | (pushback_token): Ifdef out, since code using it is ifdef'd out. | |
3795 | * stabsread.c (cleanup_undefined_types): Remove unused label | |
3796 | "badtype". | |
3797 | * objfiles.h (print_symbol_bcache_statistics): Add prototype. | |
3798 | * maint.c (objfiles.h): Include. | |
3799 | (maintenance_print_statistics): Remove unused variable "temp". | |
3800 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove | |
3801 | unused variable "found_file_symbol". | |
3802 | * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch. | |
3803 | * language.c (lang_bool_type): Use existing function local type | |
3804 | variable rather than create block local variables. | |
3805 | * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS. | |
3806 | * infptrace.c (wait.h, command.h): Include. | |
3807 | * ser-tcp.c (gdb_string.h): Include | |
3808 | * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR. | |
3809 | (i386_get_frame_setup): Change "pc" from int to CORE_ADDR. | |
3810 | * command.c (complete_on_enum): Make assignment used as truth value | |
3811 | explictly check against NULL. | |
3812 | (wait.h): Include. | |
3813 | * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code | |
3814 | that uses it is ifdef'd out. | |
3815 | * parser-defs.h: Add prototype for write_dollar_variable. | |
3816 | * infrun.c: Add prototype for write_pc_pid. | |
3817 | * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs. | |
3818 | * symmisc.c (bcache.h): Include. | |
3819 | * bcache.h: Add prototype for print_bcache_statistics. | |
3820 | * symfile.c: Include <time.h>. | |
3821 | * printcmd.c (print_scalar_formatted): Change len to unsigned int. | |
3822 | * valarith.c (value_equal): Cast result of TYPE_LENGTH to int. | |
3823 | * valarith.c (value_binop): Change result_len, promoted_len1, | |
3824 | and promoted_len2 to unsigned int. | |
3825 | * valarith.c (value_subscripted_rvalue): Change elt_offs and | |
3826 | elt_size to unsigned int. | |
3827 | * valops.c (value_array): Change typelength to unsigned int. | |
3828 | (destructor_name_p): Change len to unsigned int. | |
3829 | * scm-lang.h (scm_parse): Add prototype for scm_unpack. | |
3830 | * symfile.c (decrement_reading_symtab): Change return type to void. | |
3831 | * valarith.c (value_subscript): Remove unused variable "word". | |
3832 | (value_subscript): Remove unused variable "tint". | |
3833 | * valops.c (auto_abandon): Ifdef out, since code using it is also | |
3834 | ifdef'd out. | |
3835 | * eval.c (init_array_element): Remove unused variable "val". | |
3836 | * Makefile.in (values.o): Depends on scm-lang.h. | |
3837 | (command.o): Depends upon wait_h. | |
3838 | (ser-tcp.o): Depends upon gdb_string.h. | |
3839 | (infptrace.o): Depends upon wait_h and command_h. | |
3840 | (maint.o): Depends on objfiles.h and symfile.h. | |
3841 | * values.c (allocate_repeat_value): Remove unused variable | |
3842 | "element_type". | |
3843 | (scm-lang.h): Include. | |
3844 | * breakpoint.c (create_longjmp_breakpoint): Enclose in | |
3845 | GET_LONGJMP_TARGET define, unused otherwise. | |
3846 | * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint, | |
3847 | i386_remove_watchpoint and i386_stopped_by_watchpoint. | |
3848 | ||
078aeca4 DE |
3849 | Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com> |
3850 | ||
3851 | * configure.in (sparc64-*-solaris2*): Delete. | |
3852 | Stick with sparc-*-solaris2*. | |
3853 | * configure: Regenerated. | |
3854 | ||
75225aa2 FF |
3855 | Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com> |
3856 | ||
3857 | * valops.c (value_assign): Make copy of internal variable value | |
3858 | before returning it as a new value, since it is owned by the | |
3859 | internal variable and will be freed along with it. | |
3860 | ||
fa3764e2 JL |
3861 | Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com) |
3862 | ||
3863 | * From Peter Schauer. | |
3864 | * breakpoint.c (breakpoint_re_set_one): Keep temporary | |
3865 | breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy | |
3866 | and bp_step_resume in case breakpoint_re_set_one is called due | |
3867 | to a step over a dlopen call. | |
3868 | * infrun.c (wait_for_inferior): Always remove breakpoints from | |
3869 | inferior in BPSTAT_WHAT_CHECK_SHLIBS case. | |
3870 | ||
7e2ff10d FF |
3871 | Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com> |
3872 | ||
3873 | * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer | |
3874 | non-prototyped case over prototyped case for C. | |
3875 | * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto. | |
3876 | ||
4cfb23a9 FF |
3877 | Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com> |
3878 | ||
3879 | * os9kread.c (os9k_process_one_symbol): Note nonportable | |
3880 | assumption that an int can hold a char *. | |
3881 | ||
3882 | * bcache.h (struct hashlink): Wrap data[] inside union with | |
3883 | double to force longest alignment. | |
3884 | (BCACHE_DATA): New macro to access data[]. | |
3885 | (BCACHE_ALIGNMENT): New macro to get offset to data[]. | |
3886 | * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get | |
3887 | address of cached data. Use BCACHE_ALIGNMENT to compute | |
3888 | amount of space to allocate for each hashlink struct. | |
3889 | ||
b9aa6215 FF |
3890 | Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com> |
3891 | ||
3892 | * ch-lang.c (evaluate_subexp_chill): Fix typo. | |
3893 | ||
3894 | Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com> | |
3895 | ||
3896 | * Makefile.in (VERSION): Bump version to 4.15.3 | |
3897 | ||
18ea4416 ILT |
3898 | Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com> |
3899 | ||
3900 | * config.in: Rename from config.h.in. | |
3901 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
3902 | Change CONFIG_HEADERS test in AC_OUTPUT accordingly. | |
3903 | * configure: Rebuild. | |
3904 | * Makefile.in (stamp-h): Depend upon config.in, not config.h.in. | |
3905 | Set CONFIG_HEADERS to config.h:config.in. | |
3906 | ||
67718369 PS |
3907 | Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3908 | ||
3909 | * partial-stab.h (case N_ENDM): Finish current partial symbol | |
3910 | table for Solaris 2 cc. | |
3911 | ||
a466b86a JL |
3912 | Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com) |
3913 | ||
3914 | * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the | |
3915 | PC in the registers array. From Peter Schauer. | |
3916 | ||
0ef22be9 FF |
3917 | Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com> |
3918 | ||
3919 | * symfile.c (reread_symbols): Reinitialize bcache struct | |
3920 | members to zero using memset. Also use memset to reinit | |
3921 | global_psymbols and static_psymbols, rather than explicitly | |
3922 | resetting each structure member. | |
3923 | ||
31520669 FF |
3924 | Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com> |
3925 | ||
3926 | * configure.in: Add fragment to create stamp-h. | |
3927 | ||
3928 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
3929 | * configure.in (AC_CHECK_HEADERS): Check for link.h. | |
3930 | * configure: Regenerate with autoconf. | |
3931 | * config.h.in: Regenerate with autoheader. | |
3932 | * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H | |
3933 | is defined. | |
3934 | * solib.c: Exclude most of the code if HAVE_LINK_H is not defined. | |
3935 | * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for | |
3936 | older a.out based systems. | |
3937 | ||
bfcf3112 | 3938 | Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com> |
db210d08 | 3939 | |
bfcf3112 | 3940 | * config.h.in: New file. |
db210d08 FF |
3941 | * acconfig.h: New file, for autoheader. |
3942 | * configure.in (AC_CONFIG_HEADER): Add, generate config.h. | |
3943 | * configure: Regenerate. | |
3944 | * Makefile.in (defs_h): Add config.h | |
bfcf3112 FF |
3945 | (distclean): Remove config.h and stamp-h during distclean. |
3946 | (config.h, stamp-h): New targets to remake config.h when necessary. | |
db210d08 FF |
3947 | * defs.h (config.h): Include before any other includes or defines. |
3948 | * i386-tdep.c (gdb_string.h): Move include after include of defs.h. | |
d58ffc6c | 3949 | * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H. |
db210d08 | 3950 | |
d5fde1c9 FF |
3951 | Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com> |
3952 | ||
3953 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
3954 | * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not | |
3955 | result in an empty line, to work around a bug in native Ultrix 4.4 | |
3956 | and OSF/1-3.2C make. | |
3957 | ||
3dedc867 FF |
3958 | Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com> |
3959 | ||
3960 | * configure.in: Add gdbserver to configdirs under linux. | |
3961 | * configure: Regenerate. | |
3962 | ||
f727efb5 C |
3963 | Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
3964 | ||
3965 | * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out. | |
3966 | * config/i386/tm-nbsd.h (NUM_REGS): Define. | |
3967 | ||
a404ea25 JL |
3968 | Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com) |
3969 | ||
3970 | * solib.c (solib_break_names): Add _r_debug_state for | |
3971 | vanilla SVR4 implementations. From Peter Schauer. | |
3972 | ||
3973 | Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
3974 | ||
3975 | * mon960-rom.c: New file; support mon960 rom monitor on i960. | |
3976 | * monitor.c (monitor_debug): Change remotedebug to buffer strings. | |
3977 | * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before | |
3978 | epecting prompt and echo during open. | |
3979 | * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to | |
3980 | determine if break should be sent as stop command. | |
3981 | * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN. | |
3982 | * i960-tdep.c (mon960_frame_chain_valid): New function for getting | |
3983 | stack frame on mon960. | |
3984 | * Makefile.in: Add mon960 files. | |
3985 | * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960; | |
3986 | added i960-nindy-coff* and i960-nindy-elf* for target nindy. | |
3987 | * configure: Regenerated. | |
3988 | * config/i960/mon960.mt, config/i960/tm-mon960.h: New files; | |
3989 | support mon960 rom monitor on i960. | |
3990 | ||
1ef980b9 SC |
3991 | Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com> |
3992 | ||
3993 | With Michael Snyder: | |
3994 | * i386-tdep.c (skip_trampoline_code): Fix strncmp length. | |
3995 | * win32-nat.c (CHECK, DEBUG*, debug_*): New. | |
3996 | (handle_load_dll): Don't reload symbols. | |
3997 | (handle_exception): Use the DEBUG_* names. | |
3998 | (child_wait): Add DEBUG_* code. | |
3999 | (_initialize_inftarg): Add new commands to set debug_ names. | |
4000 | ||
803a31a3 JL |
4001 | Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com) |
4002 | ||
4003 | * From Peter Schauer: | |
4004 | * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE. | |
4005 | (bpstat_stop_status): Likewise. | |
4006 | (remove_solib_event_breakpoints): Likewise. | |
4007 | (clear_momentary_breakpoints): Likewise. | |
4008 | (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint | |
4009 | if we still can't read the memory for that breakpoint. | |
4010 | (mention): Add bp_shlib_event case to keep gcc quiet. | |
4011 | ||
4012 | Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com) | |
4013 | ||
4014 | * breakpoint.h (enum enable): New enum shlib_disabled for | |
4015 | shared library breakpoints that have been temporarily disabled. | |
4016 | * breakpoint.c: Handle temporarily disabled shared library | |
4017 | breakpoints like disabled breakpoints in most places. | |
4018 | (insert_breakpoints): Use shlib_disabled to indicate | |
4019 | that an unsettable breakpoint is only temporarily disabled. | |
4020 | (re_enable_breakpoints_in_shlibs): New function. | |
4021 | * corelow.c (solib_add_stub): After adding shared libraries, | |
4022 | try to reenable any temporarily disabled breakpoints. | |
4023 | * infcmd.c (attach_command): Likewise. | |
4024 | * infrun.c (wait_for_inferior): Likewise. | |
4025 | ||
4972c44e ILT |
4026 | Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com> |
4027 | ||
4028 | * defs.h (extract_long_unsigned_integer): Declare. | |
4029 | * findvar.c (extract_long_unsigned_integer): New function. | |
4030 | * printcmd.c (print_scalar_formatted): Use it. | |
4031 | * valprint.c (val_print_type_code_int): Likewise. | |
4032 | ||
00dd4fd9 SS |
4033 | Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com> |
4034 | ||
4035 | * infcmd.c (do_registers_info): Ignore anonymous registers. | |
4036 | * sh-tdep.c (set processor): New command to set specific | |
4037 | processor type. | |
4038 | (sh_reg_names, sh3_reg_names): Arrays of register names for | |
4039 | SH and SH3 processors. | |
4040 | (sh_set_processor_type): New function. | |
4041 | * sh3-rom.c (sh3_open): Call it. | |
4042 | (sh3_regname): Add names of all the bank registers. | |
4043 | (sh3_supply_register): Clean up formatting. | |
4044 | * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include | |
4045 | bank registers. | |
4046 | (REGISTER_NAMES): Add names of bank registers. | |
4047 | (FP15_REGNUM): Define. | |
4048 | (REGISTER_VIRTUAL_TYPE): Use it. | |
4049 | * monitor.c: Clean up some comments. | |
4050 | ||
43ece84d C |
4051 | Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4052 | ||
4053 | * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the | |
4054 | s* and t* symbols too. | |
4055 | ||
5a367b09 JSC |
4056 | Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk> |
4057 | ||
4058 | * symfile.c (generic_load): Avoid division by zero. | |
4059 | ||
653fed07 JL |
4060 | Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com) |
4061 | ||
4062 | * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems, | |
4063 | not just those with HANDLE_SVR4_EXEC_EMULATORS. | |
27b6a1fa | 4064 | |
00dd4fd9 | 4065 | From Peter Schauer: |
27b6a1fa JL |
4066 | * breakpoint.c (internal_breakpoint_number): Move to file scope. |
4067 | (create_solib_event_breakpoint): Use an internal breakpoint number. | |
4068 | ||
bb901438 WM |
4069 | Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
4070 | ||
4071 | * valarith.c (value_in): Change builtin_type_chill_bool to | |
4072 | LA_BOOL_TYPE. | |
4073 | ||
c105168f WM |
4074 | Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
4075 | ||
4076 | * ch-exp.c (parse_primval): Handle CARD, MAX, MIN. | |
4077 | (match_string_literal): Handle control sequence. | |
4078 | (match_character_literal): Deto. | |
4079 | ||
4080 | * ch-lang.c (chill_printchar): Change formating of nonprintable | |
4081 | characters from C'xx' to ^(num). | |
4082 | (chill_printstr): Deto. | |
4083 | (value_chill_card, value_chill_max_min): New functions to process | |
4084 | Chill's CARD, MAX, MIN. | |
4085 | (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN. | |
4086 | ||
4087 | * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN | |
4088 | for Chill's CARD, MAX, MIN. | |
4089 | ||
4090 | * valarith.c (value_in): Add processing of TYPE_CODE_RANGE | |
4091 | and change return type from builtin_type_int to | |
4092 | builtin_type_chill_bool. | |
4093 | ||
d009ffd8 SS |
4094 | Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com> |
4095 | ||
b4692cbc SS |
4096 | * config/nm-nbsd.h (link_object, lo_name, etc): Move to here |
4097 | from config/nm-nbsd.h. | |
4098 | * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here | |
4099 | from config/sparc/tm-nbsd.h. | |
4100 | ||
d009ffd8 SS |
4101 | * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here |
4102 | instead of in config/m68k/xm-hp300hpux.h. | |
4103 | ||
d554e554 C |
4104 | Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4105 | ||
4106 | * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide | |
4107 | implementation for NetBSD systems. | |
4108 | ||
02e6e53d PB |
4109 | Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com> |
4110 | ||
8d67b75a PB |
4111 | * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT. |
4112 | (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY). | |
4113 | ||
02e6e53d PB |
4114 | * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error |
4115 | if "function" is pointer to non-function. | |
4116 | ||
f935141e SS |
4117 | Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com> |
4118 | ||
4119 | * top.c (print_gdb_version): Update copyright year. | |
4120 | ||
11be829f JL |
4121 | Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com) |
4122 | ||
f935141e | 4123 | From Peter Schauer: |
11be829f JL |
4124 | * infrun.c (wait_for_inferior): Remove breakpoints and |
4125 | switch terminal settings before calling SOLIB_ADD. | |
4126 | * solib.c (enable_break, SVR4 variant): Don't map in symbols | |
4127 | for the dynamic linker, the namespace pollution causes real | |
4128 | problems. | |
4129 | ||
4f005fea JSC |
4130 | Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk> |
4131 | ||
4132 | * remote-mips.c (common_breakpoint): Explicitly terminate the | |
4133 | returned buffer. | |
4134 | ||
cf3c0938 SS |
4135 | Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com> |
4136 | ||
4137 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
4138 | * remote.c (remote_detach): Send a command 'D' to the target | |
4139 | when detaching, update the function's comments. | |
4140 | ||
647e52ea SG |
4141 | Thu Jun 6 16:11:38 1996 Miles Bader <miles@gnu.ai.mit.edu> |
4142 | ||
4143 | * gnu-nat.c (thread_cmd_list): New declaration. | |
4144 | (parse_int_arg): New function. | |
4145 | ||
4146 | Wed Jun 5 17:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4147 | ||
4148 | * gnu-nat.h (struct proc): Add DETACH_SC field. | |
4149 | * gnu-nat.c (make_proc): Set DETACH_SC. | |
4150 | (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. | |
4151 | (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. | |
4152 | (add_thread_commands): Add set/show for detach-suspend-count. | |
4153 | Add takeover-suspend-count cmd. | |
4154 | (inf_detach): Set suspend counts to the detach SC, not 0. | |
4155 | (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd, | |
4156 | set_task_detach_sc_cmd, show_task_detach_sc_cmd, | |
4157 | set_thread_default_thread_detach_sc_cmd, | |
4158 | show_thread_default_thread_detach_sc_cmd): New functions. | |
4159 | (show_task_cmd): Also show detach-suspend-count values. | |
4160 | (thread_takeover_sc_cmd): New function. | |
4161 | ||
4162 | Fri May 31 16:49:24 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4163 | ||
4164 | * gnu-nat.c (show_thread_run_cmd): Actually print state. | |
4165 | ||
4166 | Thu May 30 10:47:56 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4167 | ||
4168 | * gnu-nat.c (inf_signal): Make unforwardable exceptions an error. | |
4169 | ||
4170 | Tue May 28 17:06:36 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4171 | ||
4172 | * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a | |
4173 | pointer to the flags now, not the flags themselves. | |
4174 | ||
4175 | Mon May 27 13:31:17 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4176 | ||
4177 | * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs. | |
4178 | (gnu_create_inferior): Check return from ptrace. | |
4179 | ||
4180 | Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4181 | ||
4182 | * gnu-nat.h (struct proc): Add DEAD field. | |
4183 | * gnu-nat.c (make_proc): Initialize DEAD. | |
4184 | (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it. | |
4185 | (gnu_wait): Only abort for 0 threads if the task isn't dead. | |
4186 | ||
4187 | Sat May 25 17:06:05 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4188 | ||
4189 | * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal. | |
4190 | ||
4191 | Wed May 22 18:44:28 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4192 | ||
4193 | * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument. | |
4194 | (inf_set_traced): Only give no-signal-thread error message if | |
4195 | turning *on* tracing. | |
4196 | ||
4197 | Wed May 15 13:03:16 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4198 | ||
4199 | * gnu-nat.c (inf_validate_procs): If INF has no threads, always | |
4200 | set inf->threads_up_to_date to 0. | |
4201 | (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced. | |
4202 | (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation. | |
4203 | (proc_update_sc): Cast thread state arg to thread_set_state. | |
4204 | (proc_get_state): Cast thread state arg to thread_get_state. | |
4205 | (inf_validate_task_sc): Cast task_basic_info arg to task_info. | |
4206 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call | |
4207 | inf_update_procs before we lookup the thread. | |
4208 | * config/i386/i386gnu.mh (MH_CFLAGS): New variable. | |
4209 | ||
4210 | Tue May 7 17:52:33 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4211 | ||
4212 | * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task. | |
4213 | ||
4214 | Mon May 6 19:06:49 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4215 | ||
4216 | * gnu-nat.c (inf_set_traced): Use msg_set_init_int with | |
4217 | INIT_TRACEMASK instead of setting the exec flags. | |
4218 | ||
4219 | Fri May 3 19:10:57 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4220 | ||
4221 | * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find | |
4222 | the task's died, so others have a chance at it. | |
4223 | (gnu_resume): When single-stepping a single thread, given an error | |
4224 | if there is no such thread. When single-stepping one but running | |
4225 | the others, just given a warning and still run all the threads. | |
4226 | (gnu_wait): If there seem to be no threads, look harder, and | |
4227 | signal an error if there really aren't any. | |
4228 | (gnu_attach): Reset thread numbering to 0. | |
4229 | ||
4230 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give | |
4231 | thread name in warning messages. | |
4232 | ||
4233 | * gnu-nat.c (active_inf): New function. | |
4234 | (show_sig_thread_cmd, show_stopped_cmd): Use it. | |
4235 | (info_port_rights, info_send_rights_cmd, info_port_sets_cmd, | |
4236 | info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd): | |
4237 | New functions. | |
4238 | (add_task_commands): Add new port-right info commands. | |
4239 | ||
4240 | Fri Apr 26 20:42:16 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4241 | ||
4242 | * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just | |
4243 | use mach_msg with MACH_RCV_INTERRUPT. | |
4244 | (set_noninvasive_cmd): New function. | |
4245 | (add_task_commands): Add command entry for `set noninvasive'. | |
4246 | ||
4247 | Mon Mar 4 14:12:02 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4248 | ||
4249 | * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy. | |
4250 | (safe_bcopy): Function removed. | |
4251 | ||
4252 | Mon Dec 4 14:18:26 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4253 | ||
4254 | * gnu-nat.c (proc_update_sc): Assert only threads can have state. | |
4255 | (make_proc): Initialize state_valid & state_changed fields. | |
4256 | ||
4257 | Tue Nov 28 17:51:21 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4258 | ||
4259 | * reply_mig_hack.awk: New file. | |
4260 | ||
4261 | Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4262 | ||
4263 | * breakpoint.c (breakpoint_1): Print breakpoint thread field. | |
4264 | ||
4265 | * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new | |
4266 | threads. | |
4267 | ||
4268 | Mon Nov 13 18:30:53 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4269 | ||
4270 | * target.c (debug_to_check_threads): New function. | |
4271 | ||
4272 | * inflow.c (terminal_init_inferior_with_pgrp): New function. | |
4273 | (terminal_init_inferior): Call terminal_init_inferior_with_pgrp. | |
4274 | * inferior.h (terminal_init_inferior_with_pgrp): New declaration, | |
4275 | but only if PROCESS_GROUP_TYPE is defined. | |
4276 | ||
4277 | Mon Nov 6 16:42:09 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4278 | ||
4279 | * target.c (debug_to_thread_alive): Pass through the return value. | |
4280 | ||
4281 | Thu Nov 2 18:05:00 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4282 | ||
4283 | * target.c (signals, target_signal_from_host, target_signal_to_host): | |
4284 | Add mach exceptions. | |
4285 | * target.h (enum target_signal): Add mach exceptions. | |
4286 | ||
4287 | Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4288 | ||
4289 | * gnu-nat.c: New file: gnu native backend. | |
4290 | * i386gnu-nat.c: New file: i386-specific part of gnu native backend. | |
4291 | * gnu-nat.h: New file. | |
4292 | * config/nm-gnu.h: New file. | |
4293 | * config/tm-i386gnu.h: New file. | |
4294 | * config/xm-i386gnu.h: New file. | |
4295 | * config/i386/i386gnu.mh: New file. | |
4296 | * config/i386/i386gnu.mt: New file. | |
4297 | ||
8fe2b2c5 FF |
4298 | Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com> |
4299 | ||
4300 | * Makefile.in (VERSION): Bump version to 4.15.2 to establish | |
4301 | baseline for gdb 4.16 rerelease testing. | |
4302 | ||
a4f39c06 JL |
4303 | Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com) |
4304 | ||
4305 | * somsolib.c (som_solib_create_inferior_hook): Before returning | |
4306 | call clear_symtab_users. | |
4307 | ||
4308 | Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com) | |
4309 | ||
4310 | * remote-e7000.c (e7000_open): Delete all breakpoints when | |
4311 | connecting to e7000. Change connect message to allow use of | |
4312 | monitor.exp in test suite. | |
4313 | * (e7000_load): Print transfer rate of download. | |
4314 | * symfile.c (generic_load): Print transfer rate of download. | |
4315 | ||
8fa6fcf8 SS |
4316 | Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com> |
4317 | ||
4318 | * configure.in (mips*-*-vxworks*): New config. | |
4319 | * configure: Regenerated. | |
4320 | ||
4321 | * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files. | |
4322 | * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
4323 | Remove, never used. | |
4324 | ||
a97a483c PS |
4325 | Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
4326 | ||
4327 | * partial-stab.h (case N_FUN): Function symbols generated | |
4328 | by SPARCworks cc have a meaningless zero value, do not update | |
4329 | pst->textlow if the function symbol value is zero. | |
4330 | ||
4331 | * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field | |
4332 | for function prototype declaration symbols. | |
4333 | ||
b5eccf74 SG |
4334 | Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com) |
4335 | ||
4336 | * remote-e7000.c (e7000_load): New routine to download via the | |
4337 | network. | |
4338 | * (e7000_wait): Don't backup PC when we hit a breakpoint. | |
4339 | Apparantly new sh2 pods get this right... | |
4340 | * (e7000_ops): Add call to e7000_load. | |
4341 | ||
b7f3b6d5 C |
4342 | Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4343 | ||
4344 | * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}, | |
4345 | m68knbsd-nat.c: New files, support for NetBSD/m68k. | |
4346 | ||
4347 | * configure.in (m68k-*-netbsd*): New config. | |
4348 | * configure: Regenerated. | |
4349 | ||
517cb8d7 | 4350 | Wed Feb 21 19:00:21 1996 Fred Fish <fnf@cygnus.com> |
6a6a552a FF |
4351 | |
4352 | * standalone.c (open, _initialize_standalone): Fix obvious typos | |
4353 | reported by Martin Pool <martin@citr.uq.oz.au>. | |
4354 | ||
13f6c7ea JL |
4355 | Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com) |
4356 | ||
4357 | * solib.c (solib_create_inferior_hook): Fix thinko. | |
4358 | ||
464c6c5f JL |
4359 | Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com) |
4360 | ||
4361 | * solib.c (solib_break_names): Define for Solaris and Linux. | |
4362 | (enable_break): For SVR4 systems, first try to use the debugger | |
4363 | interfaces in the dynamic linker to track shared library events | |
4364 | as they happen, then fall back to BKPT_AT_SYMBOL code. Convert | |
4365 | BKPT_AT_SYMBOL code to use shared library event breakpoints. | |
4366 | (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code, | |
4367 | it no longer needs to restart/wait on the inferior. | |
4368 | * symfile.c (find_lowest_section): No longer static. | |
4369 | * symfile.h (find_lowest_section): Corresponding changes. | |
4370 | ||
517cb8d7 | 4371 | Tue Feb 20 18:54:08 1996 Fred Fish <fnf@cygnus.com> |
45c5fa78 FF |
4372 | |
4373 | * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value. | |
4374 | (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE. | |
4375 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1. | |
4376 | * config/mips/tm-mips.h: Ditto. | |
4377 | * config/pa/tm-hppa.h: Ditto. | |
4378 | * config/rs6000/tm-rs6000.h: Ditto. | |
4379 | * config/sparc/tm-sparc.h: Ditto. | |
4380 | ||
48d27324 C |
4381 | Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4382 | ||
eb224848 C |
4383 | * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o. |
4384 | ||
48d27324 C |
4385 | * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined. |
4386 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
4387 | #ifdef'd out definitions --- Causes serious gdb failures on | |
4388 | the i386. Need to investigate further before enabling. | |
4389 | ||
4390 | * i386b-nat.c (fetch_inferior_registers, store_inferior_registers, | |
4391 | fetch_core_registers): New functions. These functions are defined | |
4392 | if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored | |
4393 | with ptrace PT_GETREGS/PT_SETREGS. | |
4394 | ||
95f6f926 SG |
4395 | Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com) |
4396 | ||
4397 | * findvar.c (extract_floating store_floating): Replace `long | |
4398 | double' with `DOUBLEST'. | |
4399 | ||
cb91ea56 C |
4400 | Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4401 | ||
4402 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
4403 | Define. | |
4404 | ||
9263da6f JL |
4405 | Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com) |
4406 | ||
4407 | * symtab.h (looup_minimal_symbol_solib_trampoline): Declare. | |
4408 | ||
4409 | * breakpoint.h (remove_solib_event_breakpoints): Declare. | |
4410 | * breakpoint.c (remove_solib_event_breakpoints): New function. | |
4411 | * somsolib.c (solib_create_inferior_hook): Remove all solib event | |
4412 | breakpoints before inserting any new ones. Use a solib event | |
4413 | breakpoint for the breakpoint at "_start". | |
4414 | Remove extraneous "\n" from calls to warning. | |
4415 | ||
4416 | * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes | |
4417 | name array. | |
4418 | ||
0708e99f FF |
4419 | Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com> |
4420 | ||
4421 | * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST | |
4422 | for CORE_ADDR values. | |
4423 | (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values. | |
4424 | * symfile.h (add_psymbol_{,addr}to_list): Add prototypes. | |
4425 | ||
08dc1eeb PS |
4426 | Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
4427 | ||
4428 | * mipsread.c (mipscoff_symfile_read): Unconditionally add | |
4429 | alpha coff dynamic symbols for all symbol files. Makes skipping | |
4430 | over the trampoline code work when stepping from a function in a | |
4431 | shared library into a function in a different shared library. | |
4432 | ||
1d6afd7f SG |
4433 | Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com) |
4434 | ||
4435 | * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define | |
4436 | RETURN_VALUE_ON_STACK to return long doubles on the stack. | |
4437 | ||
0708e99f | 4438 | Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com> |
176b2bee FF |
4439 | |
4440 | * Makefile.in (ch-exp.o): Add dependencies. | |
4441 | (various): Add gdb_string.h to dependencies that need it. | |
4442 | ||
dcb6a7c0 FF |
4443 | Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com> |
4444 | ||
4445 | * symmisc.c (print_symbol_bcache_statistics): Update description for | |
4446 | printing byte cache statistics. | |
4447 | ||
aa220473 SG |
4448 | Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com) |
4449 | ||
4450 | * Add native support for long double data type. | |
4451 | * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST | |
4452 | to store actual data. Change types of INT and FLOAT tokens to | |
4453 | typed_val_int and typed_val_float respectively. Create new token | |
4454 | DOUBLE_KEYWORD to specify the string `double'. Make production | |
4455 | for FLOAT use type determined by parse_number. Add production for | |
4456 | "long double" data type. | |
4457 | * (parse_number): Use sscanf to parse numbers as float, double or | |
4458 | long double depending upon the type of typed_val_float.dval. Also | |
4459 | allow user to specify `f' or `l' suffix to explicitly specify | |
4460 | float or long double constants. Change typed_val to | |
4461 | typed_val_int. | |
4462 | * (yylex): Change typed_val to typed_val_int. Also, scan for | |
4463 | "double" keyword. | |
4464 | * coffread.c (decode_base_type): Add support for T_LNGDBL basic | |
4465 | type. | |
4466 | * configure, configure.in: Add check for long double support in | |
4467 | the host compiler. | |
4468 | * defs.h: Define DOUBLEST appropriatly depending on whether | |
4469 | HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes | |
4470 | for functions that handle this type. | |
4471 | * expression.h (union exp_element): doubleconst is now type | |
4472 | DOUBLEST. | |
4473 | * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST. | |
4474 | * findvar.c (extract_floating): Make return value be DOUBLEST. | |
4475 | Also, add support for numbers with size of long double. | |
4476 | * (store_floating): Arg `val' is now type DOUBLEST. Handle all | |
4477 | floating types. | |
4478 | * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now | |
4479 | DOUBLEST. | |
4480 | * valarith.c (value_binop): Change temp variables v1, v2 and v to | |
4481 | type DOUBLEST. Coerce type of result to long double if either op | |
4482 | was of that type. | |
4483 | * valops.c (value_arg_coerce): If argument type is bigger than | |
4484 | double, coerce to long double. | |
4485 | * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and | |
4486 | arg type is float and > 8 bytes, then use pointer-to-object | |
4487 | calling conventions. | |
4488 | * valprint.c (print_floating): Arg doub is now type DOUBLEST. | |
4489 | Use appropriate format and precision to print out floating point | |
4490 | values. | |
4491 | * value.h: Fixup prototypes for value_as_double, | |
4492 | value_from_double, and unpack_double to use DOUBLEST. | |
4493 | * values.c (record_latest_value): Remove check for invalid | |
4494 | floats. Allow history to store them so that people may examine | |
4495 | them in hex if they want. | |
4496 | * (value_as_double unpack_double): Change return value to DOUBLEST. | |
4497 | * (value_from_double): Arg `num' is now DOUBLEST. | |
4498 | * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target | |
4499 | specific) to expect certain types to always be returned on the stack. | |
4500 | ||
2ad5709f FF |
4501 | Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com> |
4502 | ||
4503 | * bcache.c, bcache.h: New files to implement a byte cache. | |
4504 | * Makefile.in (SFILES): Add bcache.c. | |
4505 | (symtab_h): Add bcache.h. | |
4506 | (HFILES_NO_SRCDIR): add bcache.h | |
4507 | (COMMON_OBJS): Add bcache.o | |
4508 | (bcache.o): New target. | |
4509 | * dbxread.c (start_psymtab): Make global_syms & static_syms | |
4510 | type "partial_symbol **". | |
4511 | * hpread.c (hpread_start_symtab): Ditto. | |
4512 | * os9kread.c (os9k_start_psymtab): Ditto. | |
4513 | * stabsread.h (start_psymtab): Ditto. | |
4514 | * {symfile.c, symfile.h} (start_psymtab_common): Ditto. | |
4515 | * maint.c (maintenance_print_statistics): Call | |
4516 | print_symbol_bcache_statistics. | |
4517 | * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc | |
4518 | and free pointers. | |
4519 | * solib.c (allocate_rt_common_objfile): Ditto. | |
4520 | * symfile.c (reread_symbols): Ditto. | |
4521 | (free_objfile): Free psymbol bcache when objfile is freed. | |
4522 | (objfile_relocate): Use new indirect psymbol pointers. | |
4523 | * objfiles.h (struct objfile): Add psymbol cache. | |
4524 | * symfile.c (compare_psymbols): Now passed pointers to pointers to | |
4525 | psymbols. | |
4526 | (reread_symbols): Free psymbol bcache when freeing other objfile | |
4527 | resources. | |
4528 | (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new | |
4529 | psymbol using the psymbol bcache. | |
4530 | (init_psymbol_list): Psymbol lists now contain pointers rather than | |
4531 | the actual psymbols. | |
4532 | * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically | |
4533 | grown arrays of pointers. | |
4534 | (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol | |
4535 | bcache. | |
4536 | * symmisc.c (print_partial_symbols): Now takes pointer to pointer | |
4537 | to partial symbol. | |
4538 | (print_symbol_bcache_statistics): New function to print per objfile | |
4539 | bcache statistics. | |
4540 | (print_partial_symbol, print_partial_symbols, | |
4541 | maintenance_check_symtabs, extend_psymbol_list): | |
4542 | Account for change to pointer to pointer to partial symbol. | |
4543 | * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2, | |
4544 | make_symbol_completion_list): | |
4545 | Account for change to pointer to pointer to partial symbol. | |
4546 | * symtab.h (bcache.h): Include. | |
4547 | * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms | |
4548 | type "partial_symbol **". | |
4549 | ||
4a1d2ce2 FF |
4550 | Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com> |
4551 | ||
4552 | * dwarfread.c (free_utypes): New function. | |
4553 | (read_file_scope): Call free_utypes as cleanup, rather than just | |
4554 | freeing the utypes pointer. | |
4555 | ||
81afee37 FF |
4556 | Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
4557 | ||
4558 | * demangle.c (is_cplus_marker): New function, checks if a | |
4559 | character is one of the commonly used C++ marker characters. | |
4560 | * defs.h (is_cplus_marker): Add prototype. | |
4561 | * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle), | |
4562 | cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol), | |
4563 | stabsread.c (define_symbol, read_member_functions, read_struct_fields), | |
4564 | symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P), | |
4565 | values.c (vb_match): Use is_cplus_marker instead of comparison | |
4566 | with CPLUS_MARKER. | |
4567 | ||
14b22711 FF |
4568 | Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com> |
4569 | ||
4570 | * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly | |
4571 | delete entirely someday. | |
4572 | ||
884fb64c SS |
4573 | Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
4574 | ||
4575 | * mpw-make.sed: Edit out makefile rebuild rule. | |
4576 | (host_alias, target_alias): Comment out instead of deleting. | |
4577 | (@LIBS@): Edit out references. | |
4578 | ||
f1d39876 FF |
4579 | Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com> |
4580 | ||
4581 | * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): | |
4582 | Use n_psyms in OBJSTAT, not psyms. | |
4583 | ||
4584 | Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com> | |
4585 | ||
4586 | * configure.in (sparclet-*-aout*): New config. | |
4587 | * configure: Regenerated. | |
4588 | ||
c37c7c6c FF |
4589 | Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com> |
4590 | ||
4591 | * somsolib.c (som_solib_add): Use xmalloc rather than bare | |
4592 | unchecked call to malloc. | |
4593 | * remote-mips.c (pmon_load_fast): ditto. | |
4594 | * remote-mm.c (mm_open): ditto. | |
4595 | * hpread.c (hpread_lookup_type): ditto. | |
4596 | * remote-adapt.c (adapt_open): ditto. | |
4597 | ||
6405302d FF |
4598 | Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com> |
4599 | ||
4600 | * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node, | |
4601 | allocate_saved_f77_common_node, allocate_common_entry_node, | |
4602 | add_common_block): Use xmalloc rather than malloc, some of which | |
4603 | were unchecked. | |
4604 | * gnu-regex.c: At same point as other gdb specific changes | |
4605 | #undef malloc and then #define it to xmalloc. | |
4606 | * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than | |
4607 | bare unchecked calls to malloc/realloc. | |
4608 | * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare | |
4609 | unchecked call to malloc. | |
4610 | ||
ff7116e2 SG |
4611 | Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com) |
4612 | ||
4613 | * symtab.c (gdb_mangle_name): Change opname var to be const to | |
4614 | match return val of cplus_mangle_name. | |
4615 | * i960-tdep.c: Change arg types of next_insn to match callers. | |
4616 | ||
b0ee0cf2 FF |
4617 | Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com> |
4618 | ||
4619 | * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These | |
4620 | apparently aren't needed in any reasonably recent version of | |
4621 | linux. | |
4622 | ||
ec49fc98 PB |
4623 | Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com> |
4624 | ||
4625 | * stabsread.c (read_range_type): If !self-subrange and language | |
4626 | is Chill, assume a true range. If a true_range is a sub_subrange, | |
4627 | use builtin_type_int for index_type. | |
4628 | ||
4629 | Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com> | |
4630 | ||
4631 | * nindy-share/nindy.c (say): Use stdarg.h macros when compiling | |
4632 | with an ANSI compiler. | |
4633 | ||
f0b0d915 TT |
4634 | start-sanitize-gdbtk |
4635 | Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4636 | ||
4637 | * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so | |
4638 | double-clicking will work again. | |
4639 | (create_asm_win): Put "break" at end of all B1 bindings. | |
4640 | (create_file_win): Lower "sel" tag, don't raise it. | |
4641 | (ensure_line_visible): New proc. | |
4642 | (update_listing, update_assembly): Use it. | |
4643 | (create_copyright_window): Destroy window on Leave event. | |
4644 | (create_command_window): Put "break" at end of all B2 bindings. | |
4645 | ||
4646 | end-sanitize-gdbtk | |
263af172 SC |
4647 | Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com> |
4648 | ||
4649 | From Michael_Snyder@NeXT.COM (Michael Snyder): | |
4650 | * valops.c (value_arg_coerce): Coerce float to double, unless the | |
4651 | function prototype specifies float. | |
4652 | ||
fc71ad23 | 4653 | Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com> |
8bdae156 | 4654 | |
fc71ad23 TT |
4655 | * language.c (set_language_command): Use languages table when |
4656 | printing available languages. | |
4657 | ||
4658 | Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com> | |
4659 | ||
4660 | Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl): | |
4661 | * command.c (add_cmd): Add missing initialization for enums member. | |
4662 | Reorder members to match structure declaration to make it easier to | |
4663 | tell when one is missing. | |
4664 | * exec.c (exec_file_command): Fix problem where filename in malloc'd | |
4665 | memory is referenced after being freed. | |
8bdae156 | 4666 | |
255181a9 PS |
4667 | Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
4668 | ||
4669 | * dwarfread.c (read_func_scope): Avoid GDB core dumps if | |
4670 | AT_name tag is missing. | |
4671 | ||
4672 | * procfs.c (procfs_stopped_by_watchpoint): Fix logic when | |
4673 | FLTWATCH and FLTKWATCH are defined. | |
4674 | ||
4675 | * remote.c (remote_read_bytes): Advance memaddr for transfers, | |
4676 | return number of bytes transferred for partial reads. | |
4677 | ||
4678 | * top.c (init_signals): Reset SIGTRAP to SIG_DFL. | |
4679 | ||
454ffae5 SC |
4680 | Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com> |
4681 | ||
4682 | * win32-nat.c (mappings): Add ppc registers. | |
9a763320 | 4683 | (child_resume): Turn off step for ppc. |
454ffae5 | 4684 | |
3d78f532 SC |
4685 | Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com> |
4686 | ||
4687 | * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, | |
4688 | xm-cygwin32.h): New. | |
4689 | * config/i386/(*win32*): Becomes *cygwin32*. | |
4690 | * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32. | |
4691 | (powerpcle-*-cygwin32): New. | |
4692 | * configure: Regenerate. | |
4693 | * win32-nat.c (child_create_inferior): Call CreateProcess | |
4694 | with the right program arg. | |
4695 | ||
4ad70253 JL |
4696 | Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com) |
4697 | ||
4698 | * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition. | |
4699 | ||
0db5a6fe FF |
4700 | Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com> |
4701 | ||
4702 | * serial.c: Change fputc/fputs/fprintf to _unfiltered forms. | |
4703 | ||
28bc5ef7 SS |
4704 | Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
4705 | ||
97abaf19 SS |
4706 | * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove. |
4707 | ||
28bc5ef7 SS |
4708 | * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used. |
4709 | ||
97abaf19 SS |
4710 | * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to |
4711 | here from config/i386/xm-i386mach.h, fix name. | |
4712 | * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h. | |
4713 | * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to | |
4714 | here from config/i386/xm-ptx4.h. | |
4715 | * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h. | |
4716 | * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h. | |
4717 | * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h. | |
4718 | * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h. | |
4719 | * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h. | |
4720 | ||
28bc5ef7 SS |
4721 | * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h. |
4722 | (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h. | |
4723 | * config/sparc/sun4sol2.mh (NAT_FILE): Update. | |
28bc5ef7 | 4724 | |
17280c3f JL |
4725 | Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com) |
4726 | ||
4727 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software | |
4728 | floating point correctly. | |
4729 | (STORE_RETURN_VALUE): Likewise. | |
4730 | * config/pa/tm-pro.h (SOFT_FLOAT): define. | |
4731 | ||
44e9f3b3 FF |
4732 | Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com> |
4733 | ||
4734 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
4735 | Define to what should be reasonable values. However, apparently | |
4736 | a bug in linux mmap prevents mapped symbol tables from working. | |
4737 | ||
ad1e42be FF |
4738 | Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com> |
4739 | ||
4740 | * defs.h (errno.h>: Move #include closer to head of file to solve | |
4741 | obscure problem with systems that declare perror with const arg, in | |
4742 | both errno.h and stdio.h, and const is defined away by intervening | |
4743 | local include. | |
4744 | ||
d3ba76fc FF |
4745 | Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com> |
4746 | ||
4747 | From Jon Reeves <reeves@zk3.dec.com>: | |
4748 | * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr. | |
4749 | (mem_fault_routine): Fix misplaced volatile type qualifier in decl. | |
4750 | ||
f6ade5dd FF |
4751 | Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com> |
4752 | ||
4753 | * Makefile.in (diststuff): Make all-doc; diststuff target does not | |
4754 | exist in doc/Makefile.in. | |
4755 | ||
cdea3fd3 SS |
4756 | Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
4757 | ||
4758 | * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used. | |
4759 | ||
d221b17e WM |
4760 | Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
4761 | ||
cdea3fd3 SS |
4762 | * ch-valprint.c (calculate_array_length): New function to |
4763 | determine the length of an array type. | |
d221b17e WM |
4764 | (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an |
4765 | array type is zero, call calculate_array_length. | |
4766 | ||
cdea3fd3 SS |
4767 | * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The |
4768 | values may not be sorted. Scan all entries and set the real lower | |
4769 | and upper bound. | |
d221b17e | 4770 | |
fa9f5840 FF |
4771 | Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com> |
4772 | ||
4773 | * config/xm-linux.h: Move include of solib.h and #define of | |
4774 | SVR4_SHARED_LIBS from here ... | |
4775 | * config/nm-linux.h: ...to here. | |
4776 | ||
4708ac65 FF |
4777 | Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com> |
4778 | ||
4779 | * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h. | |
4780 | Also check for gregset_t and fpregset_t types. | |
4781 | * configure: Regenerate. | |
4782 | * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H | |
4783 | is defined. | |
4784 | (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T | |
4785 | and HAVE_FPREGSET_T are defined. These changes allow systems | |
4786 | like linux that are migrating to /proc support to use a single | |
4787 | configuration for both new and old versions. | |
4788 | ||
4789 | * config/i386/linux.mt: Note that this is now for both a.out and | |
4790 | ELF systems. | |
4791 | * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o, | |
4792 | i386v4-nat.o | |
4793 | * config/i386/tm-linux.h (tm-sysv4.h): Include. | |
4794 | * config/i386/xm-linux.h (solib.h): Include | |
4795 | (SVR4_SHARED_LIBS): Define. | |
4796 | * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined. | |
4797 | (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined. | |
cdea3fd3 SS |
4798 | (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T |
4799 | defined. | |
4708ac65 | 4800 | |
a77bf669 SS |
4801 | Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
4802 | ||
4803 | * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used. | |
4804 | * config/i386/xm-sun386.h: Ditto. | |
4805 | * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto. | |
4806 | ||
4807 | Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4808 | ||
4809 | * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@. | |
4810 | ||
a4b4479a SC |
4811 | Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com> |
4812 | ||
4813 | From Greg McGary <gkm@gnu.ai.mit.edu>: | |
4814 | * dcache.c (dcache_peek, dcache_poke): Advance addr for | |
4815 | multi-byte I/O. | |
4816 | ||
4133a76e JL |
4817 | Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com) |
4818 | ||
4819 | * infrun.c (normal_stop): Fix test for shared library event. | |
4820 | ||
146ee7db DE |
4821 | Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com> |
4822 | ||
4823 | * configure.in (sparc64-*-*): Add default host configuration. | |
4824 | start-sanitize-gdbtk | |
4825 | (sparc64-*-solaris2* host): Link statically if GCC used. | |
4826 | end-sanitize-gdbtk | |
4827 | (sparc64-*-solaris2*): Add target configuration. | |
b23b4cb5 | 4828 | * configure: Regenerated. |
146ee7db DE |
4829 | * sparc/sp64sol2.mt: New file. |
4830 | ||
76336191 DE |
4831 | Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com> |
4832 | ||
4833 | * Makefile.in (RUNTEST): srcdir renamed to rootsrc. | |
4834 | ||
1a57cd09 TT |
4835 | Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com> |
4836 | ||
4837 | * Makefile.in (lint): Close backquotes. | |
4838 | ||
4839 | start-sanitize-gdbtk | |
4840 | Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4841 | ||
4842 | * gdbtk.tcl, gdbtk.c: Updated copyrights. | |
4843 | ||
4844 | * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or | |
4845 | greater. | |
4846 | * configure: Rebuilt. | |
4847 | ||
4848 | end-sanitize-gdbtk | |
e8f1ad9a FF |
4849 | Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com> |
4850 | ||
4851 | * NEWS: Make note of new record and replay feature for | |
4852 | remote debug sessions. | |
4853 | * serial.c (gdbcmd.h): Include. | |
4854 | (serial_logfile, serial_logfp, serial_reading, serial_writing): | |
4855 | Define here, for remote debug session logging. | |
4856 | (serial_log_command, serial_logchar, serial_write, serial_readchar): | |
4857 | New functions for remote debug session logging. | |
4858 | (serial_open): Open remote debug session log file when needed. | |
4859 | (serial_close): Close remote debug session log file when needed. | |
4860 | (_initialize_serial): Add set/show commands for name of remote | |
4861 | debug session log file. | |
4862 | * serial.h (serial_readchar): Declare | |
4863 | (SERIAL_READCHAR): Call serial_readchar(). | |
4864 | (SERIAL_WRITE): Call serial_write(). | |
4865 | (serial_close): Declare as extern. | |
4866 | (serial_logfile, serial_logfp): Declare. | |
4867 | * top.c (execute_command): Declare serial_logfp. Log user command | |
4868 | in remote debug session log if log file is open. | |
4869 | * remote-array.c (array_wait): #ifdef out echo to gdb_stdout. | |
4870 | (array_read_inferior_memory): Rewrite to fix memory overwrite bug. | |
4871 | * remote-array.c (SREC_SIZE): Remove, duplicates define in | |
4872 | monitor.h. | |
4873 | * remote-array.c (hexchars, hex2mem): Remove, unused. | |
4874 | * gdbserver/low-linux.c (store_inferior_registers): Remove | |
4875 | unnecessary extern declaration of registers[]. | |
4876 | * gdbserver/Makefile.in (all): Add gdbreplay. | |
4877 | * gdbserver/gdbreplay.c: New file. | |
4878 | * gdbserver/README: Give example of recording a remote | |
4879 | debug session with gdb and then replaying it with gdbreplay. | |
4880 | ||
c6038971 PB |
4881 | Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com> |
4882 | ||
4883 | * stabsread.c (rs6000_builtin_type): Make bool type unsigned. | |
4884 | (read_one_struct_field): Support boolean bitfields. | |
4885 | * c-valprint.c (c_val_print): Print booleans properly. | |
4886 | ||
5a8d8b8d SS |
4887 | Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com> |
4888 | ||
4889 | * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
4890 | Remove, never used. | |
4891 | * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o. | |
4892 | ||
ec5f347c PB |
4893 | Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com> |
4894 | ||
9293e886 PB |
4895 | * ch-exp.c (parse_tuple): Error if invalid mode. |
4896 | ||
533bda77 PB |
4897 | * value.h (COERCE_ARRAY): Don't coerce enums. |
4898 | (COERCE_ENUM): Don't COERCE_REF. | |
4899 | (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM). | |
4900 | * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let | |
4901 | value_cast handle it otherwise); do *not* COERCE_ENUM either way. | |
4902 | * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY. | |
4903 | Add COERCE_REF before COERCE_ENUM. | |
4904 | * values.c (value_as_long): Simplify. | |
4905 | ||
4906 | * valops.c (value_array): Create internalvar if !c_style_arrays. | |
4907 | ||
ec5f347c PB |
4908 | * language.c (lang_bool_type): Add Fortran support. |
4909 | * eval.c (OP_BOOL): Use LA_BOOL_TYPE. | |
4910 | ||
87273c71 JL |
4911 | Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com) |
4912 | ||
4913 | * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup. | |
4914 | All references changed. | |
4915 | * breakpoint.c (bpstat_what): Add shlib_event to the class types. | |
4916 | Update state table. Reformat so that it's still readable. | |
4917 | When we hit the shlib_event breakpoint, set the calss of shlib_event. | |
4918 | (breakpoint_1): Add "shlib events" as a breakpoint type. | |
4919 | Print the shlib_event breakpoint like other breakpoints. | |
4920 | (create_solib_event_breakpoint): New function. | |
4921 | (breakpoint_re_set_one): Handle solib_event breakpoints. | |
4922 | * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. | |
4923 | (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS | |
4924 | action. | |
4925 | (create_solib_event_breakpoint): Declare. | |
4926 | * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. | |
4927 | (normal_stop): Inform the user when the inferior stoped due | |
4928 | to a shared library event. | |
a77bf669 | 4929 | (_initialize_infrun): Add new set/show variable "stop-on-solib-events" |
87273c71 JL |
4930 | to control whether or not gdb continues the inferior or stops it when |
4931 | a shared library event occurs. | |
4932 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. | |
4933 | * somsolib.c (TODO list): Update. | |
4934 | (som_solib_create_inferior_hook): Arrange for gdb to be notified | |
4935 | when significant shared library events occur. | |
4936 | * hppa-tdep.c (find_unwind_entry): No longer static. | |
4937 | ||
fc941258 DE |
4938 | Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com> |
4939 | ||
5a8d8b8d SS |
4940 | * printcmd.c (print_insn): Pass fprintf_unfiltered to |
4941 | INIT_DISASSEMBLE_INFO. | |
4942 | start-sanitize-gdbtk | |
4943 | * gdbtk.c (gdb_disassemble): Likewise. | |
4944 | end-sanitize-gdbtk | |
fc941258 | 4945 | |
b3fd4c06 SS |
4946 | Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com> |
4947 | ||
4948 | * remote.c (remotebreak): New GDB variable. | |
4949 | (remote_break): New global. | |
4950 | (remote_interrupt): Send a break instead of ^C if remote_break. | |
4951 | * NEWS: Describe the new variable. | |
4952 | ||
d2f5fa49 DE |
4953 | Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com> |
4954 | ||
4955 | * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc. | |
4956 | ||
8c038399 FF |
4957 | Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com> |
4958 | ||
4959 | * hp300ux-nat.c (getpagesize): Remove unused function | |
4960 | fetch_core_registers. | |
4961 | (hp300ux_core_fns): Remove, is unused. | |
4962 | (_initialize_core_hp300ux): Remove, is unused. | |
4963 | (gdbcore.h): Remove #include, no longer needed. | |
4964 | ||
a0d76829 JL |
4965 | Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com) |
4966 | ||
4967 | * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid | |
4968 | ptrace bug in aix4.1.3 on the rs6000. | |
4969 | ||
b6768627 SS |
4970 | Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
4971 | ||
4972 | * remote-hms.c (hms_ops): Add value for to_thread_alive. | |
4973 | * remote-nindy.c (nindy_ops): Ditto. | |
4974 | * remote-udi.c (udi_ops): Ditto. | |
4975 | ||
090d784a JSC |
4976 | Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk> |
4977 | ||
4978 | * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset, | |
4979 | pmon_checkset, pmon_make_fastrec, pmon_check_ack, | |
4980 | pmon_load_fast): New functions. Support for the PMON monitor world. | |
4981 | (common_open): New function to merge support for different monitors. | |
4982 | (mips_open): Use common_open(). | |
4983 | (mips_send_command): New function. | |
4984 | (mips_send_packet): Scan out-of-sequence packets. | |
4985 | (mips_enter_debug, mips_exit_debug): New functions. | |
4986 | (pmon_ops): New target definition structure. | |
4987 | ||
4e327047 TT |
4988 | Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com) |
4989 | ||
4990 | * Makefile.in (CLIBS): Add LIBS to allow libraries to be | |
4991 | specified on the make command line (via make LIBS=xxx). | |
4992 | start-sanitize-gm | |
4993 | * configure.in (enable-gm): magic.o -> gmagic.o. | |
4994 | end-sanitize-gm | |
4995 | ||
4996 | start-sanitize-gdbtk | |
4997 | Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4998 | ||
4999 | * gdbtk.tcl (create_expr_window): Many changes to update GUI. | |
5000 | (add_expr): Changes from create_expr_window. | |
5001 | (create_command_window): Set focus. | |
5002 | (delete_expr): Rewrote. | |
5003 | (expr_update_button): New proc. | |
5004 | (add_expr): Put bindings on FocusIn, FocusOut. | |
5005 | Don't allow .file_popup to be torn off. | |
5006 | end-sanitize-gdbtk | |
5007 | ||
1aac3d3c JL |
5008 | Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com) |
5009 | ||
5010 | * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED | |
5011 | is set but there are no psymtabs. | |
5012 | ||
c84e5000 SC |
5013 | Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com> |
5014 | ||
5015 | * dsrec.c (load_srec): Remove unused variable. | |
1ef980b9 | 5016 | * monitor.c (monitor_expect): Don't expect a ^C to echo. |
c84e5000 SC |
5017 | * serial.c (serial_open): Add parallel interface. |
5018 | * sh3-rom.c (parallel, parallel_in_use): New. | |
5019 | (sh3_load): If parallel_in_use, download though the | |
5020 | parallel port. | |
5021 | (sh3_open): Open parallel port if specified. | |
5022 | (sh3_close): New function. | |
5023 | (_inititalize_sh3): Add sh3_close hook and documentation. | |
5024 | * monitor.c (monitor_close): Export. | |
5025 | * monitor.h (monitor_close): Add prototype. | |
5026 | ||
2c441e7f SS |
5027 | Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com> |
5028 | ||
5029 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
5030 | * remote.c (remotetimeout): New GDB variable, use to set the | |
5031 | remote timeout for reading. | |
5032 | ||
4e327047 TT |
5033 | start-sanitize-gdbtk |
5034 | Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com> | |
5035 | ||
5036 | * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons. | |
5037 | (update_listing): Use lassign. Use "see" to scroll. Don't need | |
5038 | screen_top, screen_bot, screen_height. | |
5039 | (update_assembly): Use "see" to scroll. | |
5040 | (textscrollproc): Removed. | |
5041 | (create_file_win): Don't use textscrollproc. | |
5042 | (asmscrollproc): Removed. | |
5043 | (create_asm_window): Don't use asmscrollproc. | |
5044 | (create_asm_win): Ditto. | |
5045 | (screen_height, screen_top, screen_bot): Removed. | |
5046 | (run_editor): New proc. | |
5047 | (build_framework): Use it. | |
5048 | (create_file_win, create_source_window): Don't use textscrollproc. | |
5049 | (create_breakpoints_window): Set -xscrollcommand on canvas. | |
5050 | (not_implemented_yet): Default button is 0. | |
5051 | (delete_char): Don't use tk_textBackspace. | |
5052 | (create_command_window): Allow Tk bindings to fire after deleting | |
5053 | character. | |
5054 | (create_command_window): Make Delete delete left, not right. | |
5055 | end-sanitize-gdbtk | |
5056 | ||
517cb8d7 | 5057 | Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cygnus.com> |
3730a0ed FF |
5058 | |
5059 | * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h | |
5060 | to get "struct core_fns" defined. | |
5061 | * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o): | |
2c441e7f | 5062 | Are dependent upon gdbcore_h. |
3730a0ed | 5063 | |
7ef89313 PB |
5064 | Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com> |
5065 | ||
5066 | * symfile.c (decrement_reading_symtab): New function. | |
5067 | * symfile.c, symtab.h (currently_reading_symtab): New variable. | |
5068 | * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab. | |
5069 | * gdbtypes.c (check_typedef): Don't call lookup_symbol if | |
5070 | currently_reading_symtab (since that could infinitely recurse). | |
5071 | ||
1c486a2b PB |
5072 | Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com> |
5073 | ||
34cfa2da PB |
5074 | * stabsread.c (read_struct_type): Trivial simplification. |
5075 | ||
1c486a2b PB |
5076 | * stabsread.c (define-symbol): Use invisible references |
5077 | for TYPE_CODE_SET and TYPE_CODE_BITSTRING too. | |
34cfa2da | 5078 | * valops.c (call_function_by_hand): Likewise. |
1c486a2b PB |
5079 | * eval.c (evaluate_subexp_standard): When known, use the formal |
5080 | parameter type as the expected type when evaluating arg expressions. | |
5081 | * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT). | |
5082 | ||
4e327047 TT |
5083 | start-sanitize-gdbtk |
5084 | Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com> | |
5085 | ||
5086 | * main.c (main): Disable window interface if --help or --version | |
5087 | specified. | |
5088 | ||
5089 | * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect. | |
5090 | ||
5091 | Changes in sync with expect: | |
5092 | * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and | |
5093 | CY_AC_PATH_TK. | |
5094 | * aclocal.m4: Replaced with version from expect. | |
5095 | * configure: Regenerated. | |
5096 | end-sanitize-gdbtk | |
a1df8e78 | 5097 | |
a1956677 BK |
5098 | Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
5099 | ||
5100 | * configure.in, configure: Recognize rs6000-*-aix4*. | |
5101 | * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h". | |
5102 | * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h. | |
5103 | * config/rs6000/xm-aix4.h: New file. | |
5104 | * config/xm-aix4.h: New file. | |
5105 | ||
3730a0ed | 5106 | Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com> |
0d14c7df FF |
5107 | |
5108 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
5109 | * gdbserver/low-linux.c: New file. | |
5110 | * remote.c (remote_read_bytes): Fix aborts on larger packets. | |
5111 | ||
5112 | * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS): | |
5113 | Define. | |
5114 | * stabsread.c (define_symbol): If register value is too large, | |
5115 | tell what it is and what max is. | |
5116 | ||
4e327047 TT |
5117 | start-sanitize-gdbtk |
5118 | Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com> | |
5119 | ||
5120 | * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error, | |
5121 | gdbtk_tcl_flush): Use "see", not "yview". | |
5122 | (gdbtk_tcl_query): Use questhead bitmap. | |
5123 | various: Always wrap condition of 'if' in {...}. | |
5124 | (add_breakpoint_frame): Set -value on radiobuttons. | |
5125 | (lassign): New proc. | |
5126 | (add_breakpoint_frame): Use lassign, not series of assignments. | |
5127 | (decr): Made faster. | |
5128 | (interactive_cmd): Use "see", not "yview". | |
5129 | (not_implemented_yet): Use warning bitmap. | |
5130 | (update_expr): Don't allow $expr to be evalled by Tcl. | |
5131 | (create_expr_window): Don't use "focus". | |
5132 | (delete_char, delete_line): Define globally. | |
5133 | (delete_line, delete_char, create_command_window, update_autocmd, | |
5134 | build_framework, create_asm_win, create_file_win): Use "see", not | |
5135 | "yview". | |
5136 | (create_copyright_window, center_window, bind_widget_after_class): | |
5137 | New procs. | |
5138 | (FSBox,create_command_window, create_autocmd_window): Binding | |
5139 | changes for Tk4. | |
5140 | (textscrollproc): Define globally. | |
5141 | (build_framework): tk_menuBar no longer needed. Keys Prior, Next, | |
5142 | Home, End, Up, and Down are all defined by Tk. | |
5143 | (apply_filespec): Use error bitmap in dialog. | |
5144 | (files_command): Don't use tk_listboxSingleSelect. | |
5145 | (files_command): Don't use "uniq" to remove duplicates from a | |
5146 | list. | |
5147 | (update_assembly): Use lassign. | |
5148 | (create_asm_win): Removed redundant bindings. | |
5149 | (listing_window_button_1, file_popup_menu): Use tk_popup. | |
5150 | (ButtonRelease-1 binding): Just remove tag from window; rest | |
5151 | handled by Tk. | |
5152 | ||
5153 | * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting. | |
5154 | (call_wrapper): Use Tcl_Eval, not Tcl_VarEval. | |
5155 | (gdbtk_call_command): Ditto. | |
5156 | end-sanitize-gdbtk | |
5157 | ||
60d5a517 JL |
5158 | Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com) |
5159 | ||
5160 | * hpread.c (hpread_build_psymtabs): Finish Jan 4th | |
5161 | enum namespace -> enum_namespace change. | |
5162 | ||
d1f5c804 WM |
5163 | Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
5164 | ||
2c441e7f SS |
5165 | * ch-exp.c (parse_primval): In case ARRAY, add missing |
5166 | FORWARD_TOKEN (). | |
d1f5c804 | 5167 | |
1f233758 SS |
5168 | Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
5169 | ||
5170 | * remote-mips.c (mips_receive_header): Recognize \012 instead | |
5171 | of \n, but write \n when program sends a \012. | |
5172 | * ser-mac.c (mac_input_buffer): Increase size of buffer. | |
5173 | ||
ed3b618d JL |
5174 | Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com) |
5175 | ||
5176 | * infptrace.c (initialize_infptrace): Move function out of | |
5177 | #ifdef conditional; put code within the function inside an | |
5178 | #ifdef conditional. | |
436d4143 JL |
5179 | |
5180 | * buildsym.c (end_symtab): Remove sort_pending and sort_linevec | |
5181 | arguments. Sorting is now dependent on OBJF_REORDERED. All | |
5182 | callers/references changed. | |
5183 | * dbxread.c (read_ofile_symtab): Correctly determine value for | |
5184 | last_source_start_addr for reordered executables. | |
5185 | (process_one_symbol): Handle N_FUN with no name as an end of | |
5186 | function marker. | |
5187 | * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE | |
5188 | is the high text address for a psymtab. | |
5189 | (case N_SO): Likewise. | |
5190 | (case N_FUN): Handle N_FUN with no name as an end of function | |
5191 | marker. | |
5192 | * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols | |
5193 | at the same address rather than a random subset of them. | |
5194 | * coffread.c (coff_symfile_init): Set OBJF_REORDERED. | |
5195 | * elfread.c (elf_symfile_init): Similarly. | |
5196 | * somread.c (som_symfile_init): Similarly. | |
5197 | * xcoffread.c (xcoff_symfile_init): Similarly. | |
5198 | ||
5351b2a0 SG |
5199 | Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com) |
5200 | ||
5201 | * stack.c (print_stack_frame print_frame_info) symmisc.c | |
5202 | (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so | |
5203 | that catch_errors doesn't get blindsided by QUIT and lose the | |
5204 | cleanup chain. This fixes a problem where ^C while in a | |
5205 | user-defined command sometimes leaves instream NULL and causes a | |
5206 | segfault in command_loop. | |
5207 | ||
127841e4 BK |
5208 | Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
5209 | ||
5210 | * configure.in, configure: Add `-ldl -lw' for Solaris linking. | |
5211 | ||
6b4fe21d SC |
5212 | Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com> |
5213 | ||
5214 | * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt, | |
5215 | config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt: | |
5216 | srec.o renamed to dsrec.o. | |
5217 | ||
0fe1522a SG |
5218 | Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com) |
5219 | ||
5220 | * breakpoint.c (remove_breakpoint): Change error to warning so | |
5221 | that hardware watchpoint removal problems won't leave breakpoint | |
5222 | traps in the target. | |
d039321c | 5223 | start-sanitize-gdbtk |
0fe1522a | 5224 | * configure configure.in: Make --enable-gdbtk be the default. |
d039321c | 5225 | end-sanitize-gdbtk |
0fe1522a SG |
5226 | * remote-e7000.c (e7000_insert_breakpoint, |
5227 | e7000_remove_breakpoint): Use e7000 based breakpoints, not memory | |
5228 | breakpoints. | |
5229 | * (e7000_wait): Adjust PC back by two when we see a breakpoint to | |
5230 | compensate for e7000 maladjustment. | |
5231 | * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug | |
5232 | which prevented hardware watchpoints from working. | |
5233 | ||
517cb8d7 | 5234 | Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cygnus.com> |
7531f36e FF |
5235 | |
5236 | * infptrace.c (udot_info): New function. | |
5237 | (PT_*): Define each individually if that one is not defined. | |
7531f36e FF |
5238 | * rs6000-nat.c (kernel_u_size): New function |
5239 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
5240 | * alpha-nat.c (kernel_u_size): New function. |
5241 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
5242 | * sparc-nat.c (kernel_u_size): New function. |
5243 | Include <sys/user.h> for "struct user" | |
7531f36e | 5244 | * i386b-nat.c (kernel_u_size): New function. |
7531f36e | 5245 | * i386v-nat.c (kernel_u_size): New function. |
7531f36e FF |
5246 | * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define. |
5247 | (kernel_u_size): Declare. | |
7531f36e FF |
5248 | * config/i386/nm-linux.h (KERNEL_U_SIZE): Define. |
5249 | (kernel_u_size): Declare. | |
7531f36e FF |
5250 | * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define. |
5251 | (kernel_u_size): Declare. | |
7531f36e FF |
5252 | * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define. |
5253 | (kernel_u_size): Declare. | |
7531f36e FF |
5254 | * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define. |
5255 | (kernel_u_size): Declare. | |
7531f36e | 5256 | |
1750a5ef SC |
5257 | Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com> |
5258 | ||
5259 | * mdebugread.c (mylookup_symbol): enum namespace becomes | |
5260 | enum_namespace type. | |
5261 | * symfile.c (add_psymbol_to_list) | |
5262 | (add_psymbol_addr_to_list): Ditto. | |
5263 | * symtab.c (lookup_partial_symbol): Ditto. | |
5264 | (lookup_symbol): Ditto. | |
5265 | (lookup_block_symbol): Ditto. | |
5266 | * win32-nat.c (handle_load_dll): Use incoming dll base. | |
5267 | (child_wait): Catch DLL load errors. | |
5268 | (create_child_inferior): Translated between paths correctly. | |
5269 | ||
e33aefba FF |
5270 | Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com> |
5271 | ||
5272 | * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS | |
5273 | from NUM_REGS to get number of general registers that we care about. | |
e33aefba FF |
5274 | * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms |
5275 | of number of general regs and number of floating point regs. | |
e33aefba | 5276 | |
e02a2ad9 SC |
5277 | Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com> |
5278 | ||
a3b64bf9 SC |
5279 | * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New. |
5280 | (SKIP_TRAMPOLINE_CODE): New. | |
5281 | * config/i386/xm-win32.h (CANT_FORK): Deleted. | |
5282 | (SLASH*) Changed to use unix style slash. | |
e02a2ad9 SC |
5283 | * symtab.h (namespace enum): becomes typedef to avoid namespace |
5284 | collision in C++. | |
5285 | * infcmd.c (path_command): Use empty string if PATH name not set. | |
5286 | * i386-tdep.c (skip_trampoline_code): New function. | |
5287 | * srec.c: Renamed dsrec.c to avoid filename collision. | |
5288 | * Makefile.in: Cope with renaming. | |
e02a2ad9 | 5289 | |
ef4d6187 | 5290 | Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com> |
5eccb7dc | 5291 | |
ef4d6187 FF |
5292 | * symmisc.c (print_objfile_statistics): Print memory use statistics |
5293 | for objfile psymbol, symbol, and type obstacks. | |
5eccb7dc | 5294 | |
ef4d6187 | 5295 | Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
3dcd429f | 5296 | |
ef4d6187 FF |
5297 | * config/mips/nm-irix5.h: Restore. |
5298 | (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4; | |
5299 | from Lee Iverson <leei@ai.sri.com>. | |
5300 | * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h. | |
5301 | * config/mips/irix[345].mh (MUNCH_DEFINE): Remove. | |
3dcd429f | 5302 | |
ef4d6187 | 5303 | For older changes see ChangeLog-95 |
bd5635a1 RP |
5304 | \f |
5305 | Local Variables: | |
5306 | mode: indented-text | |
5307 | left-margin: 8 | |
5308 | fill-column: 74 | |
5309 | version-control: never | |
5310 | End: |